Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd form behavior
Message
De
29/09/1998 03:23:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/09/1998 14:47:33
Chris Crachiolo
Blackmoor Associates Incorporated
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00141457
Message ID:
00141789
Vues:
24
Good it's solved Chris. (Now I'm stumped. How could a button that has focus in init could keep focus, after focus moves to another control, w/o default = .t. ). Anyway I think I misread your original posting.
Cetin
>John, thanks for taking the time to figure this out! And I certainly have no problem with the idea of the find dialog initially popping up -- it's a good one.
>
>I owe you one. :D
>
>-- Chris
>
>
>>The problem stems from the cmdFind.SetFocus() in the Form.Init. Once I
>>removed that, the Find button remained normal. However, I realize that
>>you want the default button to be Find....so...I substituted a
>>cmdFind.Click() and the Find form pops up on entry.....once you cancel
>>or OK out of that form, the data entry form operates
>>normally......so....your two options are to discard the SetFocus or
>>replace it with a click()....which is not a bad thing: Most of my data
>>entry forms fire a find dialog when you first go in.
Ç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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform