Android Question Enable / Disable a SpeakButton

23021959Pepe

Member
Licensed User
Longtime User
Hi all, could someone tell me how to enable or disable a SpeakButton from your code. Because when you are in the design if you are given the option to Enabled to put True or False.
Sorry for my English
regards
 
I think you can do this:
In the SpeakButton class module make btn public instead of private like this:
Code: Copy
Public btn As Button

Then in your main module do this:
Code: Copy
Dim spket As SpeakButton      'in Globals

spket.btn.Enabled=False        'in your code
 
Upvote 0
Back
Top