The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
"RicksPlace" <ofbgmail@mi.rr.com>Subject:
Re: Suggestion needed, is a Treeview the right thing?Date:
Sat, Mar 30, 2013 8:37:11 pmThis is a multi-part message in MIME format.
------=_NextPart_000_0016_01CE2D86.5AAA7070
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi: A TreeView with checkable colors would be the correct tool for that job in my opinion.
Is this a Windows Forms Project, Asp.net or something else?
Rick USA
----- Original Message -----
From: Jamal Mazrui
To: gw-scripting@gwmicro.com
Cc: David
Sent: Saturday, March 30, 2013 12:02 PM
Subject: Re: Suggestion needed, is a Treeview the right thing?
I think listboxes or checkboxes would provide better usability.
Jamal
On 3/30/2013 10:01 AM, David wrote:
I am about to start out on a new project. But I want to do things the better way, first go. .)
If I, in short terms, would describe the feature I am trying to figure how to, let me give this example.
Imagine we have three main levels. Let's for the ease of the example, say they are:
Shirt
Pant
Socks
. Now imagine, we have subcategories of each, giving different colors, and maybe even subcategories from there, giving the shades. So, the whole structure, would look like this:
Shirt
Green
White
Blue
pant
green
red
black
socks
green
light
dark
white
blue
sky
ocean
navy
Black
Yellow.
My first idea, would be to put all of this into a treeview. Thing is, that I wanted to have the chance of "checking" the different entries. That is, a person should be able to put a check mark, at the Green, under both Shirt and Pant. Maybe even check both Green and and white, for the shirt, and green for the pant.
I have never constructed a treeview, and I don't even know, if it is possible in a rather simple way - to accomplish what I here am attempting to do. Hence, my first question would be, is a treeview the right way to go? Secondly, is it even possible to do what I want? And thirdly, is there any tutorial, or scripting samples, that would address this kind of task. Preferably, something that does not contain thousand of lines, in a high-tech and fancy script.
Ok, I do understand, I would have to deal with dialogs, and treeviews or whatever, from an XML. Fine enough, but what would be suggested from some of you more experienced developers out there?
Thanks alot for any feedback,
------=_NextPart_000_0016_01CE2D86.5AAA7070
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19393"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Hi: A TreeView with checkable colors would be the
correct tool for that job in my opinion.</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">Is this a Windows Forms Project, Asp.net or
something else?</DIV>
<DIV style="FONT: 10pt arial">Rick USA</DIV>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=empower@smart.net href="mailto:empower@smart.net">Jamal Mazrui</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=gw-scripting@gwmicro.com
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=trailerdavid@hotmail.com
href="mailto:trailerdavid@hotmail.com">David</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 30, 2013 12:02
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Suggestion needed, is a
Treeview the right thing?</DIV>
<DIV><BR></DIV>I think listboxes or checkboxes would provide better
usability.<BR><BR>Jamal<BR><BR>
<DIV class=moz-cite-prefix>On 3/30/2013 10:01 AM, David wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:52E71DEF38174E27B1C6C55FD829F86C@EleBaby type="cite">
<META name=GENERATOR content="MSHTML 8.00.6001.19403">
<STYLE></STYLE>
<DIV><FONT size=2 face=Arial>I am about to start out on a new project. But I
want to do things the better way, first go. .)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>If I, in short terms, would describe the
feature I am trying to figure how to, let me give this example.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Imagine we have three main levels. Let's for
the ease of the example, say they are:</FONT></DIV>
<DIV><FONT size=2 face=Arial> Shirt</FONT></DIV>
<DIV><FONT size=2 face=Arial> Pant</FONT></DIV>
<DIV><FONT size=2 face=Arial> Socks</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>. Now imagine, we have subcategories of each,
giving different colors, and maybe even subcategories from there, giving the
shades. So, the whole structure, would look like this:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial> Shirt</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Green</FONT></DIV>
<DIV><FONT size=2 face=Arial>
White</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Blue</FONT></DIV>
<DIV><FONT size=2 face=Arial> pant</FONT></DIV>
<DIV><FONT size=2 face=Arial>
green</FONT></DIV>
<DIV><FONT size=2 face=Arial>
red</FONT></DIV>
<DIV><FONT size=2 face=Arial>
black</FONT></DIV>
<DIV><FONT size=2 face=Arial> socks</FONT></DIV>
<DIV><FONT size=2 face=Arial>
green</FONT></DIV>
<DIV><FONT size=2 face=Arial>
light</FONT></DIV>
<DIV><FONT size=2 face=Arial>
dark</FONT></DIV>
<DIV><FONT size=2 face=Arial>
white</FONT></DIV>
<DIV><FONT size=2 face=Arial>
blue</FONT></DIV>
<DIV><FONT size=2 face=Arial>
sky</FONT></DIV>
<DIV><FONT size=2 face=Arial>
ocean</FONT></DIV>
<DIV><FONT size=2 face=Arial>
navy</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Black</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Yellow.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>My first idea, would be to put all of this into
a treeview. Thing is, that I wanted to have the chance of "checking" the
different entries. That is, a person should be able to put a check mark, at
the Green, under both Shirt and Pant. Maybe even check both Green and and
white, for the shirt, and green for the pant.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>I have never constructed a treeview, and I
don't even know, if it is possible in a rather simple way - to accomplish
what I here am attempting to do. Hence, my first question would be, is a
treeview the right way to go? Secondly, is it even possible to do what I
want? And thirdly, is there any tutorial, or scripting samples, that would
address this kind of task. Preferably, something that does not contain
thousand of lines, in a high-tech and fancy script. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Ok, I do understand, I would have to deal with
dialogs, and treeviews or whatever, from an XML. Fine enough, but what would
be suggested from some of you more experienced developers out
there?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Thanks alot for any feedback,</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0016_01CE2D86.5AAA7070--
------=_NextPart_000_0016_01CE2D86.5AAA7070
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi: A TreeView with checkable colors would be the correct tool for that job in my opinion.
Is this a Windows Forms Project, Asp.net or something else?
Rick USA
----- Original Message -----
From: Jamal Mazrui
To: gw-scripting@gwmicro.com
Cc: David
Sent: Saturday, March 30, 2013 12:02 PM
Subject: Re: Suggestion needed, is a Treeview the right thing?
I think listboxes or checkboxes would provide better usability.
Jamal
On 3/30/2013 10:01 AM, David wrote:
I am about to start out on a new project. But I want to do things the better way, first go. .)
If I, in short terms, would describe the feature I am trying to figure how to, let me give this example.
Imagine we have three main levels. Let's for the ease of the example, say they are:
Shirt
Pant
Socks
. Now imagine, we have subcategories of each, giving different colors, and maybe even subcategories from there, giving the shades. So, the whole structure, would look like this:
Shirt
Green
White
Blue
pant
green
red
black
socks
green
light
dark
white
blue
sky
ocean
navy
Black
Yellow.
My first idea, would be to put all of this into a treeview. Thing is, that I wanted to have the chance of "checking" the different entries. That is, a person should be able to put a check mark, at the Green, under both Shirt and Pant. Maybe even check both Green and and white, for the shirt, and green for the pant.
I have never constructed a treeview, and I don't even know, if it is possible in a rather simple way - to accomplish what I here am attempting to do. Hence, my first question would be, is a treeview the right way to go? Secondly, is it even possible to do what I want? And thirdly, is there any tutorial, or scripting samples, that would address this kind of task. Preferably, something that does not contain thousand of lines, in a high-tech and fancy script.
Ok, I do understand, I would have to deal with dialogs, and treeviews or whatever, from an XML. Fine enough, but what would be suggested from some of you more experienced developers out there?
Thanks alot for any feedback,
------=_NextPart_000_0016_01CE2D86.5AAA7070
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19393"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Hi: A TreeView with checkable colors would be the
correct tool for that job in my opinion.</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">Is this a Windows Forms Project, Asp.net or
something else?</DIV>
<DIV style="FONT: 10pt arial">Rick USA</DIV>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=empower@smart.net href="mailto:empower@smart.net">Jamal Mazrui</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=gw-scripting@gwmicro.com
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=trailerdavid@hotmail.com
href="mailto:trailerdavid@hotmail.com">David</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 30, 2013 12:02
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Suggestion needed, is a
Treeview the right thing?</DIV>
<DIV><BR></DIV>I think listboxes or checkboxes would provide better
usability.<BR><BR>Jamal<BR><BR>
<DIV class=moz-cite-prefix>On 3/30/2013 10:01 AM, David wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:52E71DEF38174E27B1C6C55FD829F86C@EleBaby type="cite">
<META name=GENERATOR content="MSHTML 8.00.6001.19403">
<STYLE></STYLE>
<DIV><FONT size=2 face=Arial>I am about to start out on a new project. But I
want to do things the better way, first go. .)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>If I, in short terms, would describe the
feature I am trying to figure how to, let me give this example.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Imagine we have three main levels. Let's for
the ease of the example, say they are:</FONT></DIV>
<DIV><FONT size=2 face=Arial> Shirt</FONT></DIV>
<DIV><FONT size=2 face=Arial> Pant</FONT></DIV>
<DIV><FONT size=2 face=Arial> Socks</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>. Now imagine, we have subcategories of each,
giving different colors, and maybe even subcategories from there, giving the
shades. So, the whole structure, would look like this:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial> Shirt</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Green</FONT></DIV>
<DIV><FONT size=2 face=Arial>
White</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Blue</FONT></DIV>
<DIV><FONT size=2 face=Arial> pant</FONT></DIV>
<DIV><FONT size=2 face=Arial>
green</FONT></DIV>
<DIV><FONT size=2 face=Arial>
red</FONT></DIV>
<DIV><FONT size=2 face=Arial>
black</FONT></DIV>
<DIV><FONT size=2 face=Arial> socks</FONT></DIV>
<DIV><FONT size=2 face=Arial>
green</FONT></DIV>
<DIV><FONT size=2 face=Arial>
light</FONT></DIV>
<DIV><FONT size=2 face=Arial>
dark</FONT></DIV>
<DIV><FONT size=2 face=Arial>
white</FONT></DIV>
<DIV><FONT size=2 face=Arial>
blue</FONT></DIV>
<DIV><FONT size=2 face=Arial>
sky</FONT></DIV>
<DIV><FONT size=2 face=Arial>
ocean</FONT></DIV>
<DIV><FONT size=2 face=Arial>
navy</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Black</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Yellow.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>My first idea, would be to put all of this into
a treeview. Thing is, that I wanted to have the chance of "checking" the
different entries. That is, a person should be able to put a check mark, at
the Green, under both Shirt and Pant. Maybe even check both Green and and
white, for the shirt, and green for the pant.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>I have never constructed a treeview, and I
don't even know, if it is possible in a rather simple way - to accomplish
what I here am attempting to do. Hence, my first question would be, is a
treeview the right way to go? Secondly, is it even possible to do what I
want? And thirdly, is there any tutorial, or scripting samples, that would
address this kind of task. Preferably, something that does not contain
thousand of lines, in a high-tech and fancy script. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Ok, I do understand, I would have to deal with
dialogs, and treeviews or whatever, from an XML. Fine enough, but what would
be suggested from some of you more experienced developers out
there?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Thanks alot for any feedback,</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0016_01CE2D86.5AAA7070--




