Home All Groups Group Topic Archive Search About

Squeezing too much into a control...

Author
9 May 2005 7:38 PM
YYZ
I'm looking for ideas for a way to give the users what they need, visually,
and still have the app look professional.

On the right side of the screen in my app, I display the floorplan of a
building.  On the left side, in a panel, is a list of what we call Wall
Codes.  This will be a list of things that say something like "One Hour
Wall, 10'6", 145 LF" and on down -- there can be from 0 to 1000 wall codes
in the list (VERY extreme), in 3 groups (which is why I want a treeview if
possible, so they can shrink up 2 of the groups if they want), each row has
an icon, too -- each wall code can have its own distinct icon.

Optimally, I'd like a treeview with columns and checkboxes.  I have been
playing around but the only thing I've been able to find to make columns has
been by setting tabstops, and those get messed up if a wall code name is
really long, then that row's height and quantity columns are out of place
with the other ones in the list.

Anyone know of a control that I could use for this?  Or is this too much
information and functionality to contain in 1 control?

Any advice is appreciated.

Matt

Author
9 May 2005 8:34 PM
Ken Halter
Show quote Hide quote
"YYZ" <n***@none.com> wrote in message
news:%23tB$h6MVFHA.3024@TK2MSFTNGP14.phx.gbl...
> I'm looking for ideas for a way to give the users what they need,
> visually, and still have the app look professional.
>
> On the right side of the screen in my app, I display the floorplan of a
> building.  On the left side, in a panel, is a list of what we call Wall
> Codes.  This will be a list of things that say something like "One Hour
> Wall, 10'6", 145 LF" and on down -- there can be from 0 to 1000 wall codes
> in the list (VERY extreme), in 3 groups (which is why I want a treeview if
> possible, so they can shrink up 2 of the groups if they want), each row
> has an icon, too -- each wall code can have its own distinct icon.
>
> Optimally, I'd like a treeview with columns and checkboxes.  I have been
> playing around but the only thing I've been able to find to make columns
> has been by setting tabstops, and those get messed up if a wall code name
> is really long, then that row's height and quantity columns are out of
> place with the other ones in the list.
>
> Anyone know of a control that I could use for this?  Or is this too much
> information and functionality to contain in 1 control?

This grid should give you your treeview/columns/checkboxes stuff....

ComponentOne VSFlexGrid® Pro
http://www.componentone.com/products.aspx?TabTypeID=1&ItemType=1&PanelIndex=16&ItemID=54023&SubCategoryTypeID=0&TabMapID=71&TabID=91

afaik, these are still free...

Obtaining the free ComponentOne ActiveX controls
http://groups-beta.google.com/group/microsoft.public.vb.controls/browse_thread/thread/6d8bc67104af9f38?oe=UTF-8

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Sign up now to help keep VB support alive - http://classicvb.org/petition
Please keep all discussions in the groups..
Author
10 May 2005 5:20 PM
Saga
I don't believe this works anymore. The VB Resource kit is no longer
available (at least that is what the page says) and I see no link that
will
take me any further to get these components. The ComponentOne is
a product description, but no mention of these controls.

Regards,
Saga

Show quoteHide quote
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message
news:eHN7DaNVFHA.3696@TK2MSFTNGP10.phx.gbl...
> "YYZ" <n***@none.com> wrote in message
> news:%23tB$h6MVFHA.3024@TK2MSFTNGP14.phx.gbl...
>> I'm looking for ideas for a way to give the users what they need,
>> visually, and still have the app look professional.
>>
>> On the right side of the screen in my app, I display the floorplan of
>> a building.  On the left side, in a panel, is a list of what we call
>> Wall Codes.  This will be a list of things that say something like
>> "One Hour Wall, 10'6", 145 LF" and on down -- there can be from 0 to
>> 1000 wall codes in the list (VERY extreme), in 3 groups (which is why
>> I want a treeview if possible, so they can shrink up 2 of the groups
>> if they want), each row has an icon, too -- each wall code can have
>> its own distinct icon.
>>
>> Optimally, I'd like a treeview with columns and checkboxes.  I have
>> been playing around but the only thing I've been able to find to make
>> columns has been by setting tabstops, and those get messed up if a
>> wall code name is really long, then that row's height and quantity
>> columns are out of place with the other ones in the list.
>>
>> Anyone know of a control that I could use for this?  Or is this too
>> much information and functionality to contain in 1 control?
>
> This grid should give you your treeview/columns/checkboxes stuff....
>
> ComponentOne VSFlexGrid® Pro
> http://www.componentone.com/products.aspx?TabTypeID=1&ItemType=1&PanelIndex=16&ItemID=54023&SubCategoryTypeID=0&TabMapID=71&TabID=91
>
> afaik, these are still free...
>
> Obtaining the free ComponentOne ActiveX controls
> http://groups-beta.google.com/group/microsoft.public.vb.controls/browse_thread/thread/6d8bc67104af9f38?oe=UTF-8
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> Sign up now to help keep VB support alive -
> http://classicvb.org/petition
> Please keep all discussions in the groups..
>
Author
10 May 2005 6:27 PM
Ken Halter
"Saga" <antiSpam@somewhere.com> wrote in message
news:OpFQJSYVFHA.3540@TK2MSFTNGP15.phx.gbl...
>
> I don't believe this works anymore. The VB Resource kit is no longer
> available (at least that is what the page says) and I see no link that
> will
> take me any further to get these components. The ComponentOne is
> a product description, but no mention of these controls.
>
> Regards,
> Saga

Darn... that's sad! Thanks for the heads-up.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Sign up now to help keep VB support alive - http://classicvb.org/petition
Please keep all discussions in the groups..
Author
9 May 2005 10:01 PM
Michael C
"YYZ" <n***@none.com> wrote in message
news:%23tB$h6MVFHA.3024@TK2MSFTNGP14.phx.gbl...
> Anyone know of a control that I could use for this?  Or is this too much
> information and functionality to contain in 1 control?

Is something like the treeview in outlook express going to give you what you
need? That's just a listview with userdrawn nodes, something that is
possible in vb6.

Michael
Author
10 May 2005 1:44 AM
YYZ
"Michael C" <mculley@NOSPAMoptushome.com.au> wrote in message
news:exwHYIOVFHA.3620@TK2MSFTNGP09.phx.gbl...
> "YYZ" <n***@none.com> wrote in message
> news:%23tB$h6MVFHA.3024@TK2MSFTNGP14.phx.gbl...
>> Anyone know of a control that I could use for this?  Or is this too much
>> information and functionality to contain in 1 control?
>
> Is something like the treeview in outlook express going to give you what
> you need? That's just a listview with userdrawn nodes, something that is
> possible in vb6.

Good idea, but are you saying that I should use userdrawn nodes to create
the columns, too?  I'm not sure if I'm that good -- calculating all the
lengths of text, resizable column headers, etc...wow.  That seems like a
very large undertaking...

But thanks for the advice.  I may look into this just to play around with
it.

Matt
Author
10 May 2005 3:35 AM
Michael C
"YYZ" <n***@none.com> wrote in message
news:u$XsfHQVFHA.3544@TK2MSFTNGP10.phx.gbl...
> Good idea, but are you saying that I should use userdrawn nodes to create
> the columns, too?  I'm not sure if I'm that good -- calculating all the
> lengths of text, resizable column headers, etc...wow.  That seems like a
> very large undertaking...
>
> But thanks for the advice.  I may look into this just to play around with
> it.

No, the listview provides all the columns for you, you just have to draw the
first item in each row, indenting a certain amount for each indent of the
tree. Depends how much time (or money) you have, it's not a 1 hour job but
would be done in a few days.

Michael
Author
16 May 2005 1:31 AM
YYZ
Show quote Hide quote
"Michael C" <mculley@NOSPAMoptushome.com.au> wrote in message
news:eKfR$CRVFHA.3188@TK2MSFTNGP09.phx.gbl...
> "YYZ" <n***@none.com> wrote in message
> news:u$XsfHQVFHA.3544@TK2MSFTNGP10.phx.gbl...
>> Good idea, but are you saying that I should use userdrawn nodes to create
>> the columns, too?  I'm not sure if I'm that good -- calculating all the
>> lengths of text, resizable column headers, etc...wow.  That seems like a
>> very large undertaking...
>>
>> But thanks for the advice.  I may look into this just to play around with
>> it.
>
> No, the listview provides all the columns for you, you just have to draw
> the first item in each row, indenting a certain amount for each indent of
> the tree. Depends how much time (or money) you have, it's not a 1 hour job
> but would be done in a few days.

I must have completely missed what you wrote -- in fact, I know I did.  My
brain didn't process listview.  Now I get it.

Thanks for the advice.

Matt


Show quoteHide quote
>
> Michael
>
Author
14 May 2005 2:34 PM
Jeff at Bennet-Tec.com
Take a look at our TList control
   www.Bennet-Tec.com/btproducts/TList/TList.htm
TList is just what you are asking for - a tree control
with multiple columns and checkboxes.

While you are at it you may also want to look at MetaDraw
   www.Bennet-Tec.com/btproducts/MetaDraw/MetaDraw.htm
MetaDraw is a drawing control which is ideal for drawing management.

Used together you can easily drag elements from TList into MetaDraw,
or use TList simply as an index into objects in MetaDraw ( so for instance
click on some element in TList and then flash or select all elements of
that class in MetaDraw.   

* * Please include a copy of this message with your reply

    Jeff Bennett
    J***@Bennet-Tec.Com

    *    Bennet-Tec Information Systems, Inc 
    *    50 Jericho Tpk, Jericho, NY 11753
    *    Phone 516 997 5596,  Fax - 5597
    *    RELIABLE Components Make You Look Sharp! 
    *    TList/Pro    *    ALLText HT/Pro    *    MetaDraw    *  
    *    Custom Software Development Services Too.
    *    WWW.Bennet-Tec.Com  

===================     ===================


Show quoteHide quote
"YYZ" wrote:

> I'm looking for ideas for a way to give the users what they need, visually,
> and still have the app look professional.
>
> On the right side of the screen in my app, I display the floorplan of a
> building.  On the left side, in a panel, is a list of what we call Wall
> Codes.  This will be a list of things that say something like "One Hour
> Wall, 10'6", 145 LF" and on down -- there can be from 0 to 1000 wall codes
> in the list (VERY extreme), in 3 groups (which is why I want a treeview if
> possible, so they can shrink up 2 of the groups if they want), each row has
> an icon, too -- each wall code can have its own distinct icon.
>
> Optimally, I'd like a treeview with columns and checkboxes.  I have been
> playing around but the only thing I've been able to find to make columns has
> been by setting tabstops, and those get messed up if a wall code name is
> really long, then that row's height and quantity columns are out of place
> with the other ones in the list.
>
> Anyone know of a control that I could use for this?  Or is this too much
> information and functionality to contain in 1 control?
>
> Any advice is appreciated.
>
> Matt
>
>
>
Author
16 May 2005 1:30 AM
YYZ
"Jeff at Bennet-Tec.com" <JeffatBennetTec***@discussions.microsoft.com>
wrote in message news:3E30C995-1E65-4AA7-9A6D-7ED7A4738449@microsoft.com...
> Take a look at our TList control
>   www.Bennet-Tec.com/btproducts/TList/TList.htm
> TList is just what you are asking for - a tree control
> with multiple columns and checkboxes.

You're right, that looks just like what I want.  A few things, though.
First, your order page doesn't show up in Firefox -- the words are there,
but you have to highlight them to see them.  Works fine in IE, though.

Second, you're pretty proud of that, huh?  <g>  They are very nice.  I'll
present it to my boss, but I'm not sure he'll go for it...we'll see.

> While you are at it you may also want to look at MetaDraw
>   www.Bennet-Tec.com/btproducts/MetaDraw/MetaDraw.htm
> MetaDraw is a drawing control which is ideal for drawing management.
>
> Used together you can easily drag elements from TList into MetaDraw,
> or use TList simply as an index into objects in MetaDraw ( so for instance
> click on some element in TList and then flash or select all elements of
> that class in MetaDraw.

I did look @ MetaDraw a long time ago, but I decided to go and do all the
drawing myself.  We already had a license for the LEAD controls (no idea
why, but we had one!) and it will turn any kind of image I need into a
bitmap, and I take it from there.

Thanks for the advice, though.

Matt