Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is the Grid a challenge?
Message
From
25/02/1999 06:27:40
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/02/1999 16:55:32
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00190495
Message ID:
00191327
Views:
28
>Mark,
>
>Thanks for this tip. Though my problem is not solved, with tooltiptext I can manage for the time being. meanwhile let us see it anyone has managed this properly. Thanks again

An idea: you can fake a lower scrollbar, or simulate it with a container with buttons and such. When the user clicks on the right part of it, or (independent from this scrollbar) presses right arrow, do something like this:
thisform.columnoffset=thisform.columnoffset+1
grid.column1.controlsource="subs(sourcefield, 5*thisform.columnoffset+1)"
grid.refresh
The custom property thisform.columnoffset should start at 0. In the symmetrical event (scroll left) you should have
thisform.columnoffset=max(thisform.columnoffset-1,0)
grid.column1.controlsource="subs(sourcefield, 5*thisform.columnoffset+1)"
grid.refresh
You could extend this (if it works - I didn't try it!) to include ctrl+arrows to go straight to the rightmost part of the longest string or to reset to the left.

back to same old

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

Click here to load this message in the networking platform