Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid valid does not fire
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01396480
Message ID:
01396962
Views:
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?
Extreme Programming = Plan -> Design -> Code -> Test
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform