VT Miscellaneous
From Team Developer SqlWindows Wiki
Revision as of 12:20, 29 October 2013 by DaveRabelink (Talk | contribs)
Visual Toolchest miscellaneous
Contents |
How to change the tab order at runtime 
Normally the tab order on a window is determined by the sequence of the objects in the outline.
If you would like to change the tab order at runtime, use this:
Set bOk = VisWinSetTabOrder( hWnd, hWndInsertAfter )
This function is located in vtwin.apl.
How to get the value of environment variables 
Use this function to get the value of environment variables.
sEnvString = VisDosGetEnvString( sKeyName )
This function is located in vtdos.apl.
Example of KeyNames are : PATH, TEMP, COMPUTERNAME etc.
(use the SET commando in a DOSBOX to enumerate all environment variables currently used in the session).
To SET an environment variable from TD, See: