Solved Command Button properties (picture disable)

Local time
Tomorrow, 05:47
Joined
Sep 14, 2020
Messages
43
I have included navigation buttons created with the Button object and using the inbuilt images for next, previous etc.
When I set the next button to disable Me.btnNext.Enable = False the button is disabled as expected.
However, there is no visible indicator telling the User the button is disabled, unliked the 'greyed out' effect if I just used text, e.g. "Next".
Is there a way to 'grey out' the command button image, which the User will see?
 
Thanks @arnelgp for replying.
Yes I can see the property window.
I can and have set the command button on both the Next button and "New" button.
Refer to attached images - A is no buttons disabled & B is Next (picture only) and "New" button disabled.
It is very obvious the "New" button is disabled, however, there are no visual queues that the Next (picture only) button is disabled.
I am considering replacing the pictures with Text which will solve my problem, however, I would like to know if there is a solution to my issue.
Thanking you again.
 
consider using 2 images, on top of each other and a Transparent command button on top.
 

Attachments

Hi arnelgp, thank you for your exsample I have learn much. may i know what is the meaning of .btn.Enabled = Not .btn.Enabled?
It just switches from one state to another depending on the current state.
 

Users who are viewing this thread

Back
Top Bottom