Tags:
create new tag
view all tags

.WIDGET VIEW RUNTIME

This subroutine shows properties of the current --- WIDGET file.


Usage:

      GOSUB    --- .WIDGET VIEW RUNTIME
      *        Check for errors
      IF       --- .WIDGET VIEW RUNTIME       NE


Description:

This subroutine shows properties of the current --- WIDGET file. There are no parameters.

This is useful for debugging your --- WIDGET file. You cannot simply run an input process with --- WIDGET as the PCF, since that input process will get it's own --- WIDGET file, and those will be the widgets you see, not the ones from your input process.

This routine will copy your existing --- WIDGET file to a memory file, and then show you the contents. You can invoke this subroutine in any event point that has widgets (ie, Pre-Display, Pre-Display/Verify, etc).

If you call this in the Pre-Display event point, you can make changes to the memory file and those changes will be copied back to your process. This can be a useful way of experimenting with different --- WIDGET fields. Note that if you use SCAN while doing this, some of the buttons from the SCAN display will get copied back to your image. This is annoying but harmless.

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: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-02-14 - 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