I am creating runtime AdvEdit controls but I am unable to set the LabelPosition property:
myEdit[nEdits].LabelPosition:=lpLeftCenter;
...gives a compiler error:
[dcc32 Error] uToast.pas(62): E2010 Incompatible
types: "AdvEdit.TLabelPosition" and "AdvCombo.TLabelPosition"
types: "AdvEdit.TLabelPosition" and "AdvCombo.TLabelPosition"
I am also creating runtime AdvCombo controls so I wonder if there is some interaction here? I have a temporary workaround by having an invisible AdvEdit control on the form and taking the LabelPosition property from that at runtime. This works but isn't exactly pretty!