Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Toolbar Activex checkbox button not resetting.
Message
From
29/10/1998 14:31:20
 
 
To
29/10/1998 10:47:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00152335
Message ID:
00152457
Views:
21
>I am trying to reset a checkbox button to its' default (unchecked mode) by >setting its' value back to zero and calling a refresh of the toolbar in order >to do a reset when a user would click on another control, but the checkbox is >still checked. I then tried to call the buttonclick method >"_SCREEN.ACTIVEFORM.BUTTONS(3).BUTTONCLICK()" , but can't trigger any method >without generating an Ole error.

I'm responding to my own message in order to provide some insight into how I solved the problem. I click on another object in order to lose the focus while the check buttons' value is 1. Then from that objects' click method I call the Toolbars' ButtonClick method passing a character value as a parameter, then trap for TYPE('BUTTON')<>"O" within the ButtonClick Method.
Previous
Reply
Map
View

Click here to load this message in the networking platform