Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrollable Container
Message
From
13/04/2012 16:27:00
 
 
To
13/04/2012 15:33:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01541456
Message ID:
01541481
Views:
59
>>Please Note: VFP 8
>>
>>Does anybody have, or could you point me to, a scrollable container class that emulates the operation of FREEZE PANES in Excel?
>>
>>What I have is a form with labels on the left (representing workers), labels across the top (representing times) and containers in the body of the form (representing work objects). There are more workers than can comfortably fit and more times than can comfortable fit so there are objects with TOP and LEFT properties that are outside the HEIGHT and WIDTH of the form.
>>
>>When the form scrolls down the dates at the top are lost. When the form scrools right the workers are lost. I'ld like to freeze the workers/dates and only scroll the work objects.
>>
>>All replies gratefully appreciated...........Rich
>
>Have you consider using a Grid object. The Column Header would display the times, and left (workers) column can FREEZE. Just add your worker object in the columns, and set as the CurrentControl.

Thanks for the reply. I had considered it but, unfortunately, the nature of the work objects makes a grid significantly more difficult to manipulate. They will be of different widths (visually representing the time allocated for the work unit) and need to be able to be moved to different time slots and/or workers (I use drag/drop with the containers and would need to simulate that in the grid). I may wind up doing it this way but I'm hoping for an easier implementation.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform