Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh textboxes on form while traversing through grid
Message
From
01/03/2007 00:43:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01199882
Message ID:
01199887
Views:
17
>It seems that after I asked my question that I tried out the grid's AfterRowColChange Method and put the refresh there; it seemed to work just fine. Is there another way to do this, or is this the best way?

You could only refine it by checking the grid's .rowcolchange property, and fire the refresh only when row changes, or the last column (the nIndex of which you would save in BRCC) is the one you're watching. In some cases (read: on slower machines), you may actually see extra refreshes taking some time. Not that much with today's machines, but in the times of VFP6 that was sometimes a problem.

You could put the code in the .lostfocus of the textbox in the grid in the columns where you want it, to the same effect. Using ARCC is just more elegant and won't get lost if the grid rebuilds.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform