| handleVarLinkKey | Function (ROM Call 0x129)

AMS 2.00 or higher | events.h

void handleVarLinkKey (short type);

Displays the standard "Var-Link" dialog.

handleVarLinkKey shows the "Var-Link" screen and allows the user to select a variable of type type. Valid values for type are described in the enum SystemDataTypes. In addition to those, you can OR type with 0x8000 to forbid the user to change (i.e. delete, copy, rename, etc.) any variables. The name of any variable or folder selected is sent back to the currently active application as a CM_HSTRING message.
This routine may cause heap compression.

Uses: EV_paintWindows, EV_sendEvent, HeapAlloc, DlgMessage, ER_catch, ER_success, ER_throwVar, ERD_dialog, HToESI, next_expression_index, push_parse_text, top_estack, GKeyIn, LIO_RecvData, LIO_SendData, memset, MenuBegin, MenuEnd, MenuKey, MenuOn, MenuSubStat, MenuTopStat, MenuUpdate, ST_folder, ST_helpMsg, sprintf, strcat, strchr, strlen, strncpy, CU_restore, CU_stop, NeedStack, OSClearBreak, OSDisableBreak, OSEnableBreak, XR_stringPtr, trig, CTypeTable, OO_firstACB, OO_GetAppAttr, OO_NextACB, OO_PrevACB, DerefSym, FolderCount, FolderDel, FolderGetCur, GetDataType, IsMainFolderStr, SmapTypeStrings, StrToTokN, SymCmp, SymCpy, SymCpy0, SymDel, SymFindFirst, SymFindNext, SymFindPrev, SymSysVar, VarRecall, DrawWinBorder, MakeWinRect, WinActivate, WinAttr, WinCharXY, WinClose, WinClr, WinFill, WinOpen, WinStrXY, ROM Call 0x40E, ROM Call 0x424, ROM Call 0x477, ROM Call 0x4FD
Used by: EV_defaultHandler

See also: handleRclKey, GetDataType, SmapTypeStrings