Description


The new feature of $paintedfieldproperties is not usable for Labels and within grids. Moreover, if you use Splitbars within your component, $paintedfieldproperties has no effect. The functionality needs to be available for at least these situations.

Use Case


Main Goal: make the formlayout changeable at runtime for a wide area of standard situations. $paintedfieldproperties (or a similar function) needs the ability to move every object on the canvas in runtime .- labels (if fields are re-arranged, labels needs to be moved as well) - fields in Grid-Widgets (to change the order or to make it \"size=0\" - needs to work in forms, where splitbars are painted. Possible restricition: If elements are attached to splitbars or borders, the objects will lose the attachment if you want to re-arrange them.

Importance



Type


Windows GUI

Operating System


Windows

Status


Open

3 thoughts on “$paintedfieldproperties”

  1. $paintedfieldproperties and the HMOVE,VMOVE attach properties move the field. In UNIFACE version 9.7 we added a property to the label which causes the label to follow its associated field.

    Define in the usys.ini the anchor property for the label.

    .L=ulabel(transparency=off;labelfont=label;anchor=true)

    Now all labels will move with the associated fields.

    When used in a layout manager both the field and label should fall in the same pane window.

    If possible, you can remove the layout manager from the form and replace the layout manager with the attach properties HMOVE,VMOVE, HSIZE and VSIZE etc. $paintedfieldproperties, attach properties plus the anchor property may solve your problem.

    Also have a look at $columnsyntax, this function works on the GRID as well as on the default entity.

    Hope this helps
    Jasper de Keijzer

  2. Moving labels with fields using attach properties, no splitterbar -> Solved in Uniface 9.7
    Moving labels with fields using attach properties, with splitterbar -> Solved in Uniface 9.7
    Moving labels with fields using $paintedfieldproperties, no splitterbar -> Solved in Uniface 9.7
    Moving labels with fields using $paintedfieldproperties, with splitterbar -> Open

    Hiding columns in Grids -> Solved earlier
    Moving columns in Grids -> Open

Leave a Reply