Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Flexgrid size


Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2003, 10:00 AM
dwyerballs dwyerballs is offline
Newcomer
 
Join Date: Feb 2003
Posts: 16
Default Flexgrid size


Is there any way of setting the size of a flexgrid so that it changes depending on the number of rows in it?
Reply With Quote
  #2  
Old 02-27-2003, 10:03 AM
Mikecrosoft's Avatar
Mikecrosoft Mikecrosoft is offline
Mexican Coder
 
Join Date: Jun 2002
Location: Monterrey, N.L., Mexico
Posts: 2,793
Default

Try with Height property
__________________
Mikecrosoft.NET
* If I stop to ask I will stop to learn
* Just I know that I don't know nothing
Reply With Quote
  #3  
Old 02-27-2003, 10:43 AM
dwyerballs dwyerballs is offline
Newcomer
 
Join Date: Feb 2003
Posts: 16
Default

What I mean is so that it changes at runtime... The number of rows depends on a certain query, so it could be anything from one row to a couple of hundred rows and I want the flexgrid to change automatically... sort of like a sizetofit property if you know what I mean...
Reply With Quote
  #4  
Old 02-27-2003, 10:52 AM
Mikecrosoft's Avatar
Mikecrosoft Mikecrosoft is offline
Mexican Coder
 
Join Date: Jun 2002
Location: Monterrey, N.L., Mexico
Posts: 2,793
Default

Yes the Height property can be changed at runtime, I think that FlexGrid have RowHeight or some row property that you might use it.
__________________
Mikecrosoft.NET
* If I stop to ask I will stop to learn
* Just I know that I don't know nothing
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
 
 
-->