Dynamic Button Representation
Author: ncolmart@medinfo.fr (ncolmart)
In my application, I would like to dynamically change the representation of some buttons from Uniface to Windows depending on the $oprsys.
In our usys.ini, the Commandbutton widget is defined with Representation = 'Uniface' (as many of our buttons have glyphs)
I've tried to change it by $fieldproperties(MyField)="Representation=Windows" in the trigger before the 'edit' (as described in the documentation : http://frontline.compuware.com/doc/UF/UF94/html/library/Representation.html)
But the representation of the field is not changed.
The button is always displayed as a Uniface button.
Any idea ?
Thanks
Nicolas