Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temporarily Deactivating Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00021190
Message ID:
00021259
Vues:
46
>>I have a form called MENU that has a bunch of buttons and other controls on it. This form calls a bunch of other PRG's (hence 'MENU'). It seems to be working mostly correctly but the system started sorting thru a bunch of records prior to running the READ in the PRG that is called. When I go to debug, however, everytime I get the system to pause, the MENU form pops back up and takes control of all input. This might somehow be happening because all of the controls on the form except one have a gotfocus method that setfocuses to the one main control on the form. But the form is hidden at the time that this happens.
>>
>>I currently am doing the following:
>>
>>Initially:
>> DO FORM Menu
>> READ EVENTS
>>
>>Then from the CLICK method on one of the button controls:
>>THISFORM.HIDE()
>>DO Edit
>>THISFORM.SHOW()
>>
>>Any ideas?
>>
>>Thanks in advance...
>
>I am sorry, but could you tell shortly what is wrong. Doesn't your form appear again or something else? BTW, is it modal or modeless form?

It is modeless. the problem is that it _DOESN'T_ disappear. Well actually, it does, but as soon as the command window or Trace window activate, the form reactivates and I cannot access either the command window or the trace window. therefore I cannot step thru the code after the form (or even in the form.button.click method) because the form keeps popping up. the form is modeless and is not set to always on top.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform