Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Toolbar Activex checkbox button not resetting.
Message
De
29/10/1998 14:31:20
 
 
À
29/10/1998 10:47:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00152335
Message ID:
00152457
Vues:
22
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform