Submit(), we can get the position of the currently selected radio. But I don't see a way to set the selected radio button based on position. In v1.1, you could set it by passing the radio button's text as the ControlID parameter of GuiControl though I'd prefer using position.
Discuss the future of the AutoHotkey language
3 posts • Page 1 of 1
In v2, is there any way to check a radio button in a radio control group without giving a name to each of them? By only giving one a variable name and using
If you don't want to assign a name, you can use the ClassNN or store each radio button (returned by Gui.Add) in an array.
Sounds good. Thanks for your reply!
Who is online
Users browsing this forum: No registered users and 2 guests