Hello,
I am creating an application to book desks. When the desktop is available, the corresponding dot is green. When the office is not available (if it has already been reserved by someone), the corresponding dot is red.
To be able to reserve an office, simply click on the corresponding button.
What I would like to do:
I would like that when the dot is red, we cannot click on it. But I don't know how to do this. Could you help me please ?
Thanks in advance !
Thank you so mush, it's work !
Hey!
You can write this in the Button "DisplayMode" property:
If(Self.Fill = Green;DisplayMode.Edit;DisplayMode.Disabled)