Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid valid does not fire
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01396480
Message ID:
01397109
Vues:
78
>>There is a lot going on. I do not use views or cursors for these grids, they are connected to the table, I do not zap the
>>recordsource and change it. So now what? I have turned off row highlighting and selectOnEntry(easier to see what
>>is happening). The cursor is blinking in the 1st column textbox, I enter a value at the 6th character it moves to the
>>next column without firing an event (if I put a wait, it fires). If I physically click on the textbox the event will fire when
>>the leaving the textbox. I thought gridObj.columns(1).setfocus would be like clicking on the textbox.
>>
>UPDATE:
>I have removed code from all events except the page click and the textbox lostfocus. I put wait windows timeout 1
>in the page.click & page.refresh; grid.valid and grid.when; textbox.lostfocus & textbox when & textbox.keypress.
>The textbox maxlength is 6. When the last character is entered into the textbox, the kepress fies as expected
>but the lostfocus does not. I left arrow back to the textbox and arrow thru the characters, the keypress fies as
>expected and now the lostfocus fires. WHY didn't it fire the first time?

Do you happen to have Set Confirm On? It looks like it needs an additional navigational keypress to leave the textbox. Did it leave it at all after the sixth character was entered?

back to same old

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

Click here to load this message in the networking platform