Topic: can any one help make button switch like ON-OFF...with even
can any one help make button switch like ON-OFF...with even .
My Visual Database → General → can any one help make button switch like ON-OFF...with even
can any one help make button switch like ON-OFF...with even .
Not sure what you mean by "...with even", But you can place the following code in you button click script to simulate an On / Off switch. Obviously you would need to add other code to do something when it's ON and when it's OFF.
If Form1.Button1.Caption = 'On' then
Form1.Button1.Caption := 'Off'
else
Form1.Button1.Caption := 'On';
yes thanks for this replay Mr.ehwagner..
i mean like make soft for hotel booking wich room is booking and wich is empty. i thinking like that make button on-off
when i click button to be on is booking now if it is off is it empty the room. that i mean if you have more info to help i like
thanks
when i click button to be off working good but when i close the software try againe open the software it to be on auto..i want when i click button to be off manually change to be on .after close the software.
I would add a "status" column with a boolean value and a script to check the status on close and show, so if your room is booked, your status is '1' or 'booked' and your button becomes "Red" or "Booked" and its opposite; '0' for empty and button becomes "Green" or "Free".
Hello Megood
Does this zip meet your expectation ?
JB
thanks Mr.jean.brezhonek for your support but i cant open this sample software sent me i get error whene open software ROOMS..look the image you see the error...
Which version are you using then?
Hi Megood70,
Try editing the .vdb file (use Notepad or something like that).
Change the line
Version=N
and replace N with the version of MVD you are using.
Derek.
i try but not work with add Version=N
now its working im install MVDB 2.4 THANKS FOR ALL
My Visual Database → General → can any one help make button switch like ON-OFF...with even
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi