Hi,
I have a main form and I create a toolbar in the form's init method using commands like
PUBLIC oTbr
oTbr = newobject("tbrMyApp", "tbrMyAppLib.vcx")
oTbr.Show()
I have a few command buttons in the toolbar that call modeless forms that are classes.
so in the Click event of the command button, I wrote
oMythisoption = newobject("frmThisOption", "formsLib.VCX")
**I use a different variable for each option.
oMythisoptin.Show()
read events
clear events
When I click on the first command button, all work fine. But as soon as I Click on the second command button, it just flashes and goes away. I know this has something to do with READ EVENTS, but I do not know, how to fix the problem.
If any of you has a suggestion, please...
TIA
Solutions: when you want it, as you want it!