Alessandro Posted October 3, 2017 Posted October 3, 2017 Hello! How do I disable an uniDBRadioGroup item at run time? In old Delphi I used uniDBRadioGroup1.Controls[1].Enabled := False but this command in uniGUI is giving error. Error: Access violation at address 004BC6A2 in module 'Program.exe'. Read of address 00000008. Thank you Quote
Sherzod Posted October 4, 2017 Posted October 4, 2017 Hello, Can you try this approach for now ?!: For example for the second item -> getAt(1): Disable: UniDBRadioGroup1.JSInterface.JSAssign('radioGroup.items.getAt(1).disabled', [True]); Enable: UniDBRadioGroup1.JSInterface.JSAssign('radioGroup.items.getAt(1).disabled', [False]); Best regards, 1 Quote
Alessandro Posted October 4, 2017 Author Posted October 4, 2017 Hello, Can you try this approach for now ?!: For example for the second item -> getAt(1): Disable: UniDBRadioGroup1.JSInterface.JSAssign('radioGroup.items.getAt(1).disabled', [True]); Enable: UniDBRadioGroup1.JSInterface.JSAssign('radioGroup.items.getAt(1).disabled', [False]); Best regards, Thank you! Quote
marchello Posted October 11, 2017 Posted October 11, 2017 Как растянуть кнопки на всю площадь radiogroup? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.