![]() |
GuiRadioCtrl
I'm not sure if there is a tread (if there is one could you please point me in the direction) for this or not and I cant find it on the wiki. What function or commands do I use so when a person clicks 3 seperate RadioCtrl buttons (in the same gui) it triggers some cammands x_x
|
Are the radio controls linked, as in, you can only click one of the three?
There is a property, 'groupnum', that you set inside the GuiRadioCtrl. Every radio button with the same groupnum will act together. You can use a catchEvent() function to detect when the player presses these. catchEvent(object, oldfunction, newfunction); ex catchEvent(TGConsole_VariableRadio, "onAction", "TGConsoleVariableAction"); |
[QUOTE=ForgottenLegacy]Are the radio controls linked, as in, you can only click one of the three?QUOTE]
no there not butt I found a way Thanks anyway ^_^ |
O_o What?
In a GuiRadioCtrl, only one button in each group can be selected. If you select another button in the same group, the one that was previously selected is unselected. |
The buttons arnt in the same group i have them seperated by the Scroll control
|
| All times are GMT +2. The time now is 12:07 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.