cancel
Showing results for 
Search instead for 
Did you mean: 

Disable/Remove Option Button

Former Member
0 Kudos

Hi,

How can I disable or remove option button during runtime?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi David,

I think the syntax is not correct and I dont think disabling them to be invisible is a good strategy.

Thanks

Former Member
0 Kudos

Hi Jauen,

It is possible by setting the Frompane and topane propreties on item.

and change the panelevel property of Form accordingly

Hope it helps you

Regards

Vishnu

Nussi
Active Contributor
0 Kudos

it was vb6 code

in c# or vb.net it is

oForm.Items.Item("btnxyz").Enabled = false;

your question was "Disable/Remove Option Button"

if you dont want to make them disabled or hidden than sorry

Nussi
Active Contributor
0 Kudos

Hi Juan,

why you don't use the Item Object ?

disable it:

oform.items("optButton1").enabled = false

oform.items("optButton2").enabled = false

or set it invisible:

oform.items("optButton1").visible = false

oform.items("optButton2").visible = false