Description
Starting with Uniface 9.6.03 we can set attach property to Hmove/Hsize and/or Vmove/Vsize. This moving ability helps a lot to get rid of those splitbars. Unfortunately, hyperlink does not suport Attach property. :( The same problem is with labels. Using split bar means, that if user resize the form, all widgets (including hyperlinks and labels) are moved. The same effect can\\\'t be done with attached property. Since most widgets needs to have an associated labels, these must be moved with the field. It is non-sense to move the field without moving its label.
Use Case
Starting with Uniface 9.6.03 we can set attach property to Hmove/Hsize and/or Vmove/Vsize. This moving ability helps a lot to get rid of those splitbars. Unfortunately, hyperlink does not suport Attach property. :( The same problem is with labels. Using split bar means, that if user resize the form, all widgets (including hyperlinks and labels) are moved. The same effect can\\\'t be done with attached property. Since most widgets needs to have an associated labels, these must be moved with the field. It is non-sense to move the field without moving its label.
Importance
High
Type
Windows GUI
Operating System
Windows
Status
Closed
$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 the 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.
For the hyperlink you can use a commandbutton with transparency set to true. This widget supports the attach properties.
hyperlink=ucmdbutton(representation=uniface;font=HyperLabel;transparency=on)
Hope this helps
Jasper de Keijzer
Solved for the label in Uniface 9.7
Workaround that does not require coding available for hyperlink
As described by Jasper above.
I closed this wish.