Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Minimum grid height

107 views
Skip to first unread message

Damian M

unread,
Jun 2, 2011, 2:02:03 AM6/2/11
to
Hi,

I have placed a grid on a form and set the following properties.
ColumnCount = -1
Height = 20
ScrollBars = 0
HeaderHeight = 0

Save the changes and run the form it works fine.

Now go to Windows display properties, Appearance tab, Set the font
size to large or extra large fonts and apply changes.

Go back to VFP run the above form it gives the following error,
"Error loading file - record number 4. Grid1 <or one of its
members>. Height : Expression evaluated to an illegal value"

My question is how to identify the minimum height which need to be set
for the grid?
Rather than directly assigning a value in the properties windows,
runing some VFP code even would do.
Please advice.

0 new messages