Difference: 0LASubrWidgetHideModeBtn (1 vs. 2)

Revision 22012-02-07 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.WIDGET HIDE MODE BTN

Line: 16 to 16
  This subroutine hides the mode buttons on the toolbar. There are no parameters.
Changed:
<
<
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 evert iteration of the image, so if you want to hide them, you must all this routine every time as well.
>
>
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:

Revision 12012-02-06 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.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 evert iteration of the image, so if you want to hide them, you must all 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.


<--/commentPlugin-->

-- JeanNeron - 2012-02-06

 
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