Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox In A Grid Causing problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00906095
Message ID:
00906126
Views:
18
>I have a checkbox in a grid bound to a field called 'selected'
>
>The table is generated and the grid built dynamically.
>
>The checkbox interactivechange calls the code below.
>
>When the checkbox is clicked, the wait winddow shows False
>
>Any ideas?
>
>
>
>WITH ThisForm
>
>  cAlias = .cAlias
>  SELECT (cAlias)
>
>  IF Selected
>    REPLACE &cAlias..Status WITH STAT_MODE_RECONCILE NEXT 1
>  ELSE
>    REPLACE &cAlias..Status WITH STAT_MODE_NONE  NEXT 1
>  ENDIF
>
>WAIT WINDOW TRANSFORM(&cAlias..Selected) NOWAIT AT 10,10
>
>
>  .grdInvoice.Refresh()
>
>
>  IF oApp.nAppMode = APP_MODE_RECONCILE
>    .SumData()
>  ENDIF
>
>ENDWITH
>
>RETURN
>
Kevin, try
this.value = this.value
in checkbox.Click()

You can also try it in your InteractiveChange()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform