Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tip o' the day
Message
From
05/08/1999 19:12:50
 
 
To
05/08/1999 11:42:03
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00250186
Message ID:
00250499
Views:
18
>>Two tips today:
>>
>>1. A grid class should have the functionality to reposition the viewable portion of the grid to a better one after an order or filter is set:
>>
>>
*Grid.Refresh
>>local lcSel, lnRecs, lnCurRec
>>
>>DoDefault()
>>
>>lcSel=Select()
>>select (This.recordsource)
>>lnCurRec=recno()
>>count to lnRecs
>>locate record lnCurRec
>>if int(This.height - This.headerheight)/This.rowheight > lnRecs
>>	This.DoScroll(2)
>>endif
>>select (lcSel)
2. Do not spit into the wind.
>
>3. Or tug on Superman's cape. :-)

4. Don't mess around with JimB.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform