>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement