Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding Grid Header
Message
From
29/09/2001 09:30:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00562100
Message ID:
00562233
Views:
19
Vlad,
I don't remember VFP3 behaviour or even if headeheight existed there or not.
If we're talking about VFP5.00 and later then I never encountered problem in setting headerheight to 0. It completely hides the header.
Also putting say a container in front of header in VFP5.00 and up works too.
I never saw top-left square insisting to stay there either.
Cetin

>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform