Page 1 of 1

pgButtonHTML() and setting enabled property

PostPosted: Wed Jan 15, 2014 2:30 am
by Clifton
pgButtonHTML() is designed to set the caption of a button.
The advantage of the function is that it can include HTML entities and tags in the caption.
However, . . .
As a general rule, set the enabled property of the button to true BEFORE calling pgButtonHTML() to avoid anomalies in how the button caption looks.
Once the caption is set, the normal actions editor enabled (true or false) should work properly.