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:
01367248
Views:
11
This message has been marked as the solution to the initial question of the thread.
>>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
>
Thanks Vladmir
I got what I want with a combination of codes in the InteractiveChange() and Click()
Previous
Reply
Map
View

Click here to load this message in the networking platform