.WIDGET HIDE SCROL BTN

This subroutine hides the scroll buttons on the toolbar.


Usage:

      GOSUB    --- .WIDGET HIDE SCROL BTN
      *        Check for errors
      IF       --- .WIDGET HIDE SCROL BTN     NE


Description:

This subroutine hides the scroll buttons on the toolbar. There are no parameters.

This 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. You can also unhide the scroll buttons via .WIDGET SHOW SCROLL BTN and you can delete them via .WIDGET DEL SCROLL BTN.

Also note that normally scroll buttons are not shown on the toolbar. Before you can manipulate them with this routine, you would have to:

  • Modify the STANDARD TOOLBARS process in 0LC, changing the 'Show on Toolbar' GUI attribute of the appropriate Optional Children on the appropriate images. Save the new process in your application.
  • Hook the --- STANDARD TOOLBARS process with your new process. You can then manipulate the scroll buttons with this subroutine.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2012-02-07


This topic: Main > WebHome > APPX510Features > APPXRuntimeSubroutineAPI > 0LASubrWidgetHideScrolBtn
Topic revision: r1 - 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