Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid - Scrolled event
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid - Scrolled event
Miscellaneous
Thread ID:
00236175
Message ID:
00236175
Views:
40
Hello,

Today I found some problem with Grid.Scrolled event.

In grid.AfterRowColChange method I put this code:

Local lnRecno, lnNumberOfRecords
lnRecno=RECNO("DataDict")
lnNumberOfRecords=RECCOUNT("DataDict")
THIS.STATUSBARTEXT=Space(20)+"Record "+;
alltrim(str(lnRecno))+;
" of "+alltrim(str(lnNumberOfRecords))
THIS.parent.Refresh()
THISFORM.NavStand.NavUpdate()

Parent of my grid is PageFrame.
Then I try to put the same code into Scrolled event Grid returns to the first record.

How can I achive my goal here (I want to refresh() contain of textboxes depending on current record)

Thanks in advance
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform