.WIDGET DEL SCROLL BTN

This subroutine deletes the scroll buttons from the toolbar.


Usage:

      GOSUB    --- .WIDGET DEL SCROLL BTN
      *        Check for errors
      IF       --- .WIDGET DEL SCROLL BTN     NE


Description:

This subroutine deletes the scroll buttons from 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 remove them, you must call this routine every time as well.

Note that this will delete the underlying --- WIDGET record. You can also hide or unhide the scroll buttons via .WIDGET HIDE SCROLL BTN or .WIDGET SHOW 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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2012-02-07 - JeanNeron
 
  • Edit
  • Attach
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