Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh textboxes on form while traversing through grid
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01199882
Message ID:
01199956
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?
>
Yes, that's the correct way.

Here is what I have in one of my grid's ARCC method.
lparameters nColIndex
DODEFAULT(m.nColIndex)
IF INLIST(this.RowColChange,1,3) && Row change
   PRIVATE piResolution_Code, piID
   piResolution_Code = crsAllResolutions.iResolution_Code 
   piID = 0 
   thisform.oCAResolutionProblem.CursorRefresh() && Related problems
   this.Parent.Refresh()
endif  
>>I am trying to refresh some Textbox controls on my form as I either click or use the arrow to move through the data grid. I am not sure where I need to do a ThisForm.Refresh() I have tried this in several places, but the data appears one row behind the data on the grid row.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform