Version 1 (modified by 7 years ago) ( diff ) | ,
---|
EVENT_FLAG_SHOW
For buttons defined with the flag FORM_OUTLINE_1LINE_WND .. FORM_OUTLINE_15LINE_WND a hole is present in the display of the button to allow custom text to be displayed within the button. EVENT_FLAG_SHOW is a defined value for the nData parameter of the button event to indicate the display text should be shown.
Examples
string productId = ""; EVENT(Product) { if(EVENT_FLAG_SHOW) // Draw Button Contents { EVENT_SHOW_BTN_CONTENT(productId); } else { IN_EVENT_HIDE_FORM; InputProductID(); IN_EVENT_SHOW_FORM; } return 0; } EVENT(Customer) {
See Also
Note:
See TracWiki
for help on using the wiki.