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:
"BX" <bronx_lab@fltg.net>Subject:
Re: Suggestion needed, is a Treeview the right thing?Date:
Mon, Apr 1, 2013 11:26:33 amThis is a multi-part message in MIME format.
------=_NextPart_000_0028_01CE2ECB.C37C8700
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi Rick,
I sent the bare bones of my Tree View I designed for the Uninstall program. It works like that, for I make categories and you go down the tree view for that category then you expand it and a list of programs are in that category, then expand any program and it gives the properties available for it.
Dave needs to attempt to understand what I have done and use that as he wants to. Select an article, gets it main color then get the varieties of that color. this is exactly what I do and he should be able to handle it.
I have not had time to make my program clearer for him to use for it is split up into many sections and there is documentation but jumping around is the problem. Also the way I use the ID's or data value of the tree element and that can be confusing only because I left in there, but commented out, the test stuff to see if it works...
The tree view is a good way to do it, the ID values is the key to know what you have selected...
Sincerely
Bruce
Sent: Monday, April 01, 2013 9:14 AM
Subject: Re: Suggestion needed, is a Treeview the right thing?
Hi Jamal: So much depends on what the application will be used for and exactly what options will be made available.
If the number of colors and sub-colors are not too many then all the colors could be grouped in a list or dropdown list and there is just one color for each selection instead of one color and then another sub-color.
Blue:
Blue-Light
Blue-Navy
Blue-Sky
Red:Red-Dark
Red-Light
etc...
Then first letter navigation gets you to the base color and a sighted user is set and a blind user can just arrow key or mouse down the list of sub-colors to pick one. That eliminates the complexity of having a TreeView or a second color ListBox.
I dont recall if he said he is going to allow for a cloth selection or not so couldnt do a solid layout.
But if only an item and a color then only 2 dropdown lists or ListBoxes are required, if cloth is included then 3.
A Review TextBox, Label or even a PopUp with the Review Window is the only other control other than the buttons.
This is pretty straight forward to implement in vb.net and easy to navigate for both sighted users, mouse users, and sighted screen reader users, first letter navigation - hit the letter b to go to the Blue group then just cursor or mouse down and click a sub color.
This is one layout I would consider in place of a sub-color control.
Also, he didnt mention but if a production application it is quite likely there wont be the same colors available for socks, shirts and pants so the lists, the Color List at least, would have to be dynamic
Then in the SelectedIndexChanged event the color box would be populated with the appropriate colors for each item as it is selected in the ClothingItem List.
If Cloth is another selection, again I dont know, when a different ClothingItem is selected, or different cloth is selected, the appropriate values need to be updated in the child boxes. For a ClothingItem the cloth and the colors need to be set and a default cloth and default color for the default cloth set as the selected index of those boxes for the selected ClothingItem.
Two things of note...
1) This might not be the best layout using VBS since I am not familiar with the events of the VBS controls and Dialogs.
2) If there is going to be a database or xml file or some other way to dynamically load contents into the boxes I would design that first and see what technicals are available for loading the available cloths for a Selected ClothingItem and what colors are available for each type of cloth.
Then populate the file, db or whatever with a few colors like the ones mentioned above for testing my UI which I would then layout and test with the limited inputs.
Rick USA
------=_NextPart_000_0028_01CE2ECB.C37C8700
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19403">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Hi Rick,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> I sent the bare bones of my Tree
View I designed for the Uninstall program. It works like that, for I make
categories and you go down the tree view for that category then you expand it
and a list of programs are in that category, then expand any program and it
gives the properties available for it.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> Dave needs to attempt to
understand what I have done and use that as he wants to. Select an article, gets
it main color then get the varieties of that color. this is exactly what I do
and he should be able to handle it.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> I have not had time to make my
program clearer for him to use for it is split up into many sections and there
is documentation but jumping around is the problem. Also the way I use the ID's
or data value of the tree element and that can be confusing only because I left
in there, but commented out, the test stuff to see if it works...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> The tree view is a good way to
do it, the ID values is the key to know what you have selected...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>
Sincerely</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Bruce</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 01, 2013 9:14
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Suggestion needed, is a
Treeview the right thing?</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>Hi Jamal: So much depends on what the application
will be used for and exactly what options will be made available.</FONT></DIV>
<DIV><FONT size=2 face=Arial>If the number of colors and sub-colors are not
too many then all the colors could be grouped in a list or dropdown list and
there is just one color for each selection instead of one color and then
another sub-color.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue:</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue-Light</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue-Navy</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue-Sky</FONT></DIV>
<DIV><FONT size=2 face=Arial>Red:Red-Dark</FONT></DIV>
<DIV><FONT size=2 face=Arial>Red-Light</FONT></DIV>
<DIV><FONT size=2 face=Arial>etc...</FONT></DIV>
<DIV><FONT size=2 face=Arial>Then first letter navigation gets you to the base
color and a sighted user is set and a blind user can just arrow key or mouse
down the list of sub-colors to pick one. That eliminates the complexity of
having a TreeView or a second color ListBox.</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">I dont recall if he said he is going to allow
for a cloth selection or not so couldnt do a solid layout.</DIV>
<DIV style="FONT: 10pt arial">But if only an item and a color then only 2
dropdown lists or ListBoxes are required, if cloth is included then 3.</DIV>
<DIV style="FONT: 10pt arial">A Review TextBox, Label or even a PopUp with
the Review Window is the only other control other than the buttons.</DIV>
<DIV style="FONT: 10pt arial">This is pretty straight forward to implement
in vb.net and easy to navigate for both sighted users, mouse users, and
sighted screen reader users, first letter navigation - hit the letter b to
go to the Blue group then just cursor or mouse down and click a sub
color.</DIV>
<DIV style="FONT: 10pt arial">This is one layout I would consider in place
of a sub-color control.</DIV>
<DIV style="FONT: 10pt arial">Also, he didnt mention but if a production
application it is quite likely there wont be the same colors available for
socks, shirts and pants so the lists, the Color List at least, would have to
be dynamic</DIV>
<DIV style="FONT: 10pt arial">Then in the SelectedIndexChanged event the
color box would be populated with the appropriate colors for each item as it
is selected in the ClothingItem List.</DIV>
<DIV style="FONT: 10pt arial">If Cloth is another selection, again I dont
know, when a different ClothingItem is selected, or different cloth is
selected, the appropriate values need to be updated in the child boxes. For
a ClothingItem the cloth and the colors need to be set and a default cloth
and default color for the default cloth set as the selected index of those
boxes for the selected ClothingItem.</DIV>
<DIV style="FONT: 10pt arial">Two things of note...</DIV>
<DIV style="FONT: 10pt arial">1) This might not be the best layout using VBS
since I am not familiar with the events of the VBS controls and
Dialogs.</DIV>
<DIV style="FONT: 10pt arial">2) If there is going to be a database or xml
file or some other way to dynamically load contents into the boxes I would
design that first and see what technicals are available for loading the
available cloths for a Selected ClothingItem and what colors are available
for each type of cloth.</DIV>
<DIV style="FONT: 10pt arial">Then populate the file, db or whatever with a
few colors like the ones mentioned above for testing my UI which I would
then layout and test with the limited inputs.</DIV>
<DIV style="FONT: 10pt arial">Rick
USA</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0028_01CE2ECB.C37C8700--
------=_NextPart_000_0028_01CE2ECB.C37C8700
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi Rick,
I sent the bare bones of my Tree View I designed for the Uninstall program. It works like that, for I make categories and you go down the tree view for that category then you expand it and a list of programs are in that category, then expand any program and it gives the properties available for it.
Dave needs to attempt to understand what I have done and use that as he wants to. Select an article, gets it main color then get the varieties of that color. this is exactly what I do and he should be able to handle it.
I have not had time to make my program clearer for him to use for it is split up into many sections and there is documentation but jumping around is the problem. Also the way I use the ID's or data value of the tree element and that can be confusing only because I left in there, but commented out, the test stuff to see if it works...
The tree view is a good way to do it, the ID values is the key to know what you have selected...
Sincerely
Bruce
Sent: Monday, April 01, 2013 9:14 AM
Subject: Re: Suggestion needed, is a Treeview the right thing?
Hi Jamal: So much depends on what the application will be used for and exactly what options will be made available.
If the number of colors and sub-colors are not too many then all the colors could be grouped in a list or dropdown list and there is just one color for each selection instead of one color and then another sub-color.
Blue:
Blue-Light
Blue-Navy
Blue-Sky
Red:Red-Dark
Red-Light
etc...
Then first letter navigation gets you to the base color and a sighted user is set and a blind user can just arrow key or mouse down the list of sub-colors to pick one. That eliminates the complexity of having a TreeView or a second color ListBox.
I dont recall if he said he is going to allow for a cloth selection or not so couldnt do a solid layout.
But if only an item and a color then only 2 dropdown lists or ListBoxes are required, if cloth is included then 3.
A Review TextBox, Label or even a PopUp with the Review Window is the only other control other than the buttons.
This is pretty straight forward to implement in vb.net and easy to navigate for both sighted users, mouse users, and sighted screen reader users, first letter navigation - hit the letter b to go to the Blue group then just cursor or mouse down and click a sub color.
This is one layout I would consider in place of a sub-color control.
Also, he didnt mention but if a production application it is quite likely there wont be the same colors available for socks, shirts and pants so the lists, the Color List at least, would have to be dynamic
Then in the SelectedIndexChanged event the color box would be populated with the appropriate colors for each item as it is selected in the ClothingItem List.
If Cloth is another selection, again I dont know, when a different ClothingItem is selected, or different cloth is selected, the appropriate values need to be updated in the child boxes. For a ClothingItem the cloth and the colors need to be set and a default cloth and default color for the default cloth set as the selected index of those boxes for the selected ClothingItem.
Two things of note...
1) This might not be the best layout using VBS since I am not familiar with the events of the VBS controls and Dialogs.
2) If there is going to be a database or xml file or some other way to dynamically load contents into the boxes I would design that first and see what technicals are available for loading the available cloths for a Selected ClothingItem and what colors are available for each type of cloth.
Then populate the file, db or whatever with a few colors like the ones mentioned above for testing my UI which I would then layout and test with the limited inputs.
Rick USA
------=_NextPart_000_0028_01CE2ECB.C37C8700
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19403">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Hi Rick,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> I sent the bare bones of my Tree
View I designed for the Uninstall program. It works like that, for I make
categories and you go down the tree view for that category then you expand it
and a list of programs are in that category, then expand any program and it
gives the properties available for it.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> Dave needs to attempt to
understand what I have done and use that as he wants to. Select an article, gets
it main color then get the varieties of that color. this is exactly what I do
and he should be able to handle it.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> I have not had time to make my
program clearer for him to use for it is split up into many sections and there
is documentation but jumping around is the problem. Also the way I use the ID's
or data value of the tree element and that can be confusing only because I left
in there, but commented out, the test stuff to see if it works...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> The tree view is a good way to
do it, the ID values is the key to know what you have selected...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>
Sincerely</FONT></DIV>
<DIV><FONT size=2 face=Arial>
Bruce</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 01, 2013 9:14
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Suggestion needed, is a
Treeview the right thing?</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>Hi Jamal: So much depends on what the application
will be used for and exactly what options will be made available.</FONT></DIV>
<DIV><FONT size=2 face=Arial>If the number of colors and sub-colors are not
too many then all the colors could be grouped in a list or dropdown list and
there is just one color for each selection instead of one color and then
another sub-color.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue:</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue-Light</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue-Navy</FONT></DIV>
<DIV><FONT size=2 face=Arial>Blue-Sky</FONT></DIV>
<DIV><FONT size=2 face=Arial>Red:Red-Dark</FONT></DIV>
<DIV><FONT size=2 face=Arial>Red-Light</FONT></DIV>
<DIV><FONT size=2 face=Arial>etc...</FONT></DIV>
<DIV><FONT size=2 face=Arial>Then first letter navigation gets you to the base
color and a sighted user is set and a blind user can just arrow key or mouse
down the list of sub-colors to pick one. That eliminates the complexity of
having a TreeView or a second color ListBox.</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">I dont recall if he said he is going to allow
for a cloth selection or not so couldnt do a solid layout.</DIV>
<DIV style="FONT: 10pt arial">But if only an item and a color then only 2
dropdown lists or ListBoxes are required, if cloth is included then 3.</DIV>
<DIV style="FONT: 10pt arial">A Review TextBox, Label or even a PopUp with
the Review Window is the only other control other than the buttons.</DIV>
<DIV style="FONT: 10pt arial">This is pretty straight forward to implement
in vb.net and easy to navigate for both sighted users, mouse users, and
sighted screen reader users, first letter navigation - hit the letter b to
go to the Blue group then just cursor or mouse down and click a sub
color.</DIV>
<DIV style="FONT: 10pt arial">This is one layout I would consider in place
of a sub-color control.</DIV>
<DIV style="FONT: 10pt arial">Also, he didnt mention but if a production
application it is quite likely there wont be the same colors available for
socks, shirts and pants so the lists, the Color List at least, would have to
be dynamic</DIV>
<DIV style="FONT: 10pt arial">Then in the SelectedIndexChanged event the
color box would be populated with the appropriate colors for each item as it
is selected in the ClothingItem List.</DIV>
<DIV style="FONT: 10pt arial">If Cloth is another selection, again I dont
know, when a different ClothingItem is selected, or different cloth is
selected, the appropriate values need to be updated in the child boxes. For
a ClothingItem the cloth and the colors need to be set and a default cloth
and default color for the default cloth set as the selected index of those
boxes for the selected ClothingItem.</DIV>
<DIV style="FONT: 10pt arial">Two things of note...</DIV>
<DIV style="FONT: 10pt arial">1) This might not be the best layout using VBS
since I am not familiar with the events of the VBS controls and
Dialogs.</DIV>
<DIV style="FONT: 10pt arial">2) If there is going to be a database or xml
file or some other way to dynamically load contents into the boxes I would
design that first and see what technicals are available for loading the
available cloths for a Selected ClothingItem and what colors are available
for each type of cloth.</DIV>
<DIV style="FONT: 10pt arial">Then populate the file, db or whatever with a
few colors like the ones mentioned above for testing my UI which I would
then layout and test with the limited inputs.</DIV>
<DIV style="FONT: 10pt arial">Rick
USA</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0028_01CE2ECB.C37C8700--




