iOS Question Toolbar button enable and disable

alizeti

Member
Licensed User
Hi,

I’m looking to see how to enable or disable some toolbar buttons when they where created using the visual designer!!!

I’m able to enable or disable the button using the designer, but I would like to be able to do the same thing programmatically when required.

Can some one help me with this please!?
Thanks
 

alizeti

Member
Licensed User
Hi,

Thanks for the reply.

I'm looking to disable only one button.
Example : I have a toolbar with 3 buttons. I need to disable only 1 button out of the 3. So let's say I want to disable the 3th button, I want it to be grayout.
I know you can do it directly in the visual designer by removing the checkbox Enable, but I want to do it in the code also.
Thanks
 
Upvote 0
D

Deleted member 103

Guest
Hi,

Thanks for the reply.

I'm looking to disable only one button.
Example : I have a toolbar with 3 buttons. I need to disable only 1 button out of the 3. So let's say I want to disable the 3th button, I want it to be grayout.
I know you can do it directly in the visual designer by removing the checkbox Enable, but I want to do it in the code also.
Thanks
You can try it with this example.
 
Upvote 0

alizeti

Member
Licensed User
I saw this example.
It doesn't show me on how to disable a button on the toolbar that was designed using the visual designer
 
Upvote 0
Top