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:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS