Easy: Need to call class module...
Posted on 2003-03-17
For my example here...I'm working in a very simple form with one control, which is a command button for the purpose of my example. I've created a class and gave it a name...inside the class module I need a boolean expression that will deal with the state of the command button of my form.
When the user clicks on the command button....it should change that state to TRUE to FALSE or FALSE to TRUE. If the value of the state is TRUE...the caption on the command button should read TRUE, if it's FALSE it should switch to FALSE.
Not sure how the boolean should read inside the declaration of the class...also...is this a simple IF statement that calls the class, inside the click event of the Command button of my form?