Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > MSHFlexgrid Freeze Pane


Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2006, 09:27 PM
robcoe robcoe is offline
Newcomer
 
Join Date: May 2005
Posts: 5
Default MSHFlexgrid Freeze Pane


Hi,

I was just wondering if anyone knows if there is an Excel type "Freeze Pane" function for MSHFlexgrid? I've searched in here and Google and can't seem to find any valid data on it.

I've got 12 columns in my MSHFlexgrid and I would like to keep the first 4 columns visible to the user at all times when they use the horizontal scrollbar.

Any ideas or help would be greatly appreciated.

Thanks in advance,

robcoe
Reply With Quote
  #2  
Old 10-10-2006, 09:46 PM
Peter_Aquino's Avatar
Peter_Aquino Peter_Aquino is offline
Contributor

* Expert *
 
Join Date: Sep 2004
Location: San Diego, CA, USA
Posts: 732
Default

As far as I know, the only way to accomplish this is by setting the .FixedRows and .FixedCols properties.
Reply With Quote
  #3  
Old 10-10-2006, 10:20 PM
robcoe robcoe is offline
Newcomer
 
Join Date: May 2005
Posts: 5
Default

Thanks for the quick response Peter.

The .fixedcols does work for freezing the panes, however it prevents the user from editing the data in the fixedcols.

I suppose I could try to code around this. I was just hoping for an easier way.

Once again, thanks for your suggestion.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->