Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress precedence
Message
De
24/02/1998 18:16:09
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
KeyPress precedence
Divers
Thread ID:
00080953
Message ID:
00080953
Vues:
76
I've had this scenario: a form called another form, which showed some results in a grid. Grid was read-only in a way that it intercepted every KeyPress and reacted upon it (incremental search, navigation etc). It all worked just fine.

Then I decided I don't need the _screen at all, so made the first form desktop and hide the _screen:
desktop=.t.
showwindow=2
windowstate=2

It had some consequences to some other called forms, namely an Alert form (just another replacement for messagebox), which refused to appear until it got
windowstate=1
instead of default 0. As for the formset containing the form containing the grid, it also had to get windowstate=2, but its keypress doesn't get triggered anymore - the grid behaves just as a normal grid.
Before I get into excessive debugging (and I may guess that debugging a keypress event was always tricky), I'd like to know if anyone of you folks had a case like this.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Répondre
Fil
Voir

Click here to load this message in the networking platform