Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ModeLess form classes and toolbar
Message
De
13/02/2004 15:57:03
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
ModeLess form classes and toolbar
Divers
Thread ID:
00877281
Message ID:
00877281
Vues:
46
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform