Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional execution of a Checkbox in a Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01365754
Message ID:
01365760
Views:
10
>A checkbox in a grid (first one in the grid) if the Checkbox is checked I want to ask the user to confirm before un-cheking it and based on their response I should let them continue or stop them.
>
>I thought the place to do the check is in the when() of the checkbox but it is acting weird.
>I know the grid has some problem but anyone know the best to do I wanted to do?
>
>Mo

Try in the InteractiveChange
IF NOT (this.value)
   IF MESSAGEBOX([Do you want to uncheck?],4+32+256) = 7
      this.value = .t.
   ENDIF
ENDIF
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform