- Jun 6, 2020
- 11,559
- 4,422
A designer script extension that allows control over the grouping of Toggles (RadioButton And ToggleButtons) so that only one from the group can be selected at a time.
B4x automatically groups RadioButtons on the same Pane. You can use this to change that behaviour which may, or may not, make the layout simpler to implement, and additionally group ToggleButtons.
If the chosen selected Index is out of range, then the selected Index of 0 will be used.
Usage:
B4X:
{Class} is whichever class you put the method in.
B4X:
B4x automatically groups RadioButtons on the same Pane. You can use this to change that behaviour which may, or may not, make the layout simpler to implement, and additionally group ToggleButtons.
If the chosen selected Index is out of range, then the selected Index of 0 will be used.
Usage:
B4X:
{Class}.SetToggleGroup(0,RadioButton1,Radiobutton2)
{Class} is whichever class you put the method in.
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید