Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus to itself?
Message
De
03/12/1999 04:57:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/12/1999 14:54:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00297727
Message ID:
00298325
Vues:
24
>Hi Cetin,
>
>>Otherwise after an ESC and continuing with mouse clicks would beat valid (lastkey=27).
>
>But an ESC would clear the form anyway. But what about future forms? Maybe, in the Click() event of your Cancel button class, you could reset it? I don't know how, just an idea :-)


Yeah, "generally" cancel = .t. button releases form. Poking a dummy key value in button in cancel button code is another way to skin the cat :) I prefer the idea doing it in first place and freeing of thinking to stick to a special button class or checking if you coded it there :)
PS: I really rarely use valid event (lostfocus more often).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform