<< SetColumnGuides | SetCPB >> |
Top: Documentation Library | Up: S Commands |
SetControlAttr Dialog Box Command
Gets the {...} .
SetControlAttr (reqh, ctrlid, attr, data)
Parameters:
Results:
Notes:
See Also:
AlertRequester, AppendListString, CloseResource, CreateLanguageEngineList, CreateList, CreateRequester, DoLanguageEngineFormatDate, DoLanguageEngineLocalizeString, DoRequester, FreeLanguageEngineList, FreeList, FreeRequester, GetCmdStringFromCoord, GetControlAttr, GetCoordFromString, GetFolderPath, GetResourceString, GetUIStringFromCoord, OpenResource, PrependListString, SortList
Examples:
Additional example in ''RequesterExample.py''.
Python:
ARexx:
Applescript:
SetControlAttr Command Definition url:PGScmd/setcontrolattr
created:2006-05-04 17:25:31 last updated:2006-09-14 09:41:25
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For SetControlAttr | sign in to add a comment |
Tim Doty wrote... | 2006-05-28 12:30:13 |
Notes from Deron: Quote: Also, you will now be able to set the length using ControlAttr_NumChars, and also more than just setting the string (Using ControlAttr_String), you can set/get an integer using ControlAttr_Number. | |
Tim Doty wrote... | 2006-05-28 12:35:58 |
Some examples... Python: SetControlAttr(reqH, 11, ControlAttr_List, listH)
SetControlAttr(reqH, 11, ControlAttr_Current, 1) SetControlAttr(reqH, 11, ControlAttr_String, name2) SetControlAttr(reqH, 17, ControlAttr_State, 1) SetControlAttr(reqH, 20, ControlAttr_Min, 0) SetControlAttr(reqH, 20, ControlAttr_Max, 255) ControlAttr_List -- used to set the contents of a GUI list control ControlAttr_String -- used to set the contents of a text string ControlAttr_Current -- used to set the index of the current active entry in a GUI list (zero indexed so LISTITEM #1 is 0) ControlAttr_State -- used to set the state of a checkbox (0 == disabled; 1 == enabled) ControlAttr_Min -- used to set the minimum value of a slider | |
User Contributed Comments For SetControlAttr | sign in to add a comment |
<< SetColumnGuides | SetCPB >> |
Top: Documentation Library | Up: S Commands |