Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding Grid Header
Message
From
29/09/2001 07:52:48
 
 
To
29/09/2001 04:31:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00562100
Message ID:
00562224
Views:
22
Hi!

Ceting, in more earlier versions of VFP when setting HeaderHeight to 0, it does not hide headers completely. I remember, once this was known and sad problem in my application. Now setting headerHeight to 0 and AllowHeaderSizing to .F. allow to get rid of headers, but not completely - my VFP6SP5 still try to show a top-left square box as a single line...

Nadya, Grid header draw self always above other VFP controls. You can hide grid header or put something above it by putting another Window inside of the form (DEFINE WINDOW ... IN WINDOW), but this also has many other problems, in particular, it is impossible to get that window fire events in a modal form.

>>Hi,
>>
>>Is it possible to create a grid that does not display a header row?
>>
>>I set grid:headerheight to 0, and all header:caption to (none), and header continues to display.
>>
>>Suggestions?
>
>Jeff,
>With header captions or not headerheight = 0 works. Probably code is setting it back to something > 0. Try to see if that's the case putting a temporary commandbutton with click code :
>thisform.mygrid.headerheight=0
>Cetin
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform