Difference between revisions of "Programming with the VPE code library"
From VistApedia
Line 1: | Line 1: | ||
Programming with the VPE code library | Programming with the VPE code library | ||
− | Started 7/24/2006 by K Toppenberg | + | Started 7/24/2006 by K Toppenberg |
− | I'll use this to capture notes: | + | I'll use this to capture notes: |
− | The code library is in the %ZVEM namespace. The source files are stored in _ZVEM*.m on GT_M | + | The code library is in the %ZVEM namespace. |
+ | The source files are stored in _ZVEM*.m on GT_M | ||
− | The %ZVEMKT* modules contain the code for the scrollable display/selector. | + | The %ZVEMKT* modules contain the code for the scrollable display/selector. |
− | LIST^%ZVEMKT -- generic lister | + | LIST^%ZVEMKT -- generic lister |
− | SELECT^%ZVEMKT -- generic selecter (different from SELECT^%ZVEMKTF) | + | SELECT^%ZVEMKT -- generic selecter (different from SELECT^%ZVEMKTF) |
− | Examples: | + | Examples: |
− | do SELECT^%ZVEMKTF(50,"TOP") will allow a user to select (by toggling with | + | do SELECT^%ZVEMKTF(50,"TOP") will allow a user to select (by toggling with |
the space key) a list of fileman fields from file 50. [ESC] will jump | the space key) a list of fileman fields from file 50. [ESC] will jump | ||
out, and the results are stored in ^TMP("VPE","FIELDS",$J,*) | out, and the results are stored in ^TMP("VPE","FIELDS",$J,*) |
Revision as of 00:42, 25 July 2006
Programming with the VPE code library
Started 7/24/2006 by K Toppenberg
I'll use this to capture notes:
The code library is in the %ZVEM namespace. The source files are stored in _ZVEM*.m on GT_M
The %ZVEMKT* modules contain the code for the scrollable display/selector.
LIST^%ZVEMKT -- generic lister SELECT^%ZVEMKT -- generic selecter (different from SELECT^%ZVEMKTF)
Examples:
do SELECT^%ZVEMKTF(50,"TOP") will allow a user to select (by toggling with the space key) a list of fileman fields from file 50. [ESC] will jump out, and the results are stored in ^TMP("VPE","FIELDS",$J,*)