.WIDGET HIDE MODE BTN
This subroutine hides the mode buttons on the toolbar.
Usage:
GOSUB --- .WIDGET HIDE MODE BTN
* Check for errors
IF --- .WIDGET HIDE MODE BTN NE
Description:
This subroutine hides the mode buttons on the toolbar. There are no parameters.
This will hide the Add, Change, Delete, Inquire and Acknowledge Delete buttons from the toolbar. It should be called in the Pre-Display or Global Pre-Display event points. Appx adds these buttons automatically on every iteration of the image, so if you want to hide them, you must call this routine every time as well.
Note that this does not delete the underlying --- WIDGET record, it just sets the --- WIDGET INVIS flag. You can unhide the mode buttons via
.WIDGET SHOW MODE BTN. You can also delete them completely with
.WIDGET DEL MODE BTN
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2012-02-06