VFP Grid Control

VFP Grid Control

Question:
How can I freeze the left-most column in a multicolumn grid? Normally when you scan records to the right side of the grid, you lose the information on the left-most column. How can I prevent losing my label on the left side? Is there a third party software that can do this if VFP can’t?

Answer:
You might want to use the partition property to split the grid and then turn off the scrollbars (at least the vertical) in the left panel of the grid.

Try the following:
1. create a table that will be viewed in the grid
2. CREATE FORM GridTest
3. Drop a grid onto the form
4. In the init of the grid put the following:

WITH this     .Partition = 50     .PanelLink = .F.       .Panel = 0  && Make left panel of grid active     .Scrollbars=1 && only horz scrollbars on left     .Panel = 1  && Make rght panel of grid active     *-- Turn off record and delete marks in      *-- right partition     .RecordMark =.F.     .DeleteMark = .F.ENDWITH

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular