Funktionsreferenz

ControlCommand

Sends a command to a control.

ControlCommand ( "title", "text", controlID, "command", "option" )

 

Parameter

title The title of the window to access.
text The text of the window to access.
controlID The control to interact with. See Controls.
command The command to send to the control.
option Additional parameter required by some commands; use "" if parameter is not required.

 

Bemerkungen

Certain commands that work on normal Combo and ListBoxes do not work on "ComboLBox" controls.

 

Siehe auch

ControlDisable, ControlEnable, ControlFocus, ControlGetPos, ControlGetText, ControlHide, ControlClick, ControlMove, ControlSetText, ControlShow, StatusbarGetText, WinMenuSelectItem, WinGetClassList

 

Beispiel


ControlCommand("Untitled - Notepad", "", "Edit1", "GetLineCount", "")