Tags:
create new tag
view all tags

.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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-02-07 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback