Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in Set Focus
Message
De
17/05/1999 11:44:40
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Québec, Canada
 
 
À
17/05/1999 11:06:06
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00219612
Message ID:
00219634
Vues:
20
>I'm using toolbar on my data entry form for rec navigation and saving/deleting etc..
>
>As toolbars don't receive focus, i use a generic routine to set focus again on the current control for the value to get updated...
>
>Now problem is, there's valid code in column 1 of grid, if the focus is on column 1, and I try to add a new record, which adds a blank record and requeries the view (on which grid is based) and make it empty, my valid condition fires and warns that value is invalid..(cos it is empty ) and not leaving grid's column 1....
>
>Can anybody help me on this ??

Hi, I don't know if it will help but I had the same problem. So I put a patch button in my form class. I put a procedure to set focus the button if a toolbar click fires or a shortcut key was used. That way, the value of the current control is updated and I can setfocus to the first control.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform