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:
Mon, Apr 1, 2013 9:14:37 amThis is a multi-part message in MIME format.
------=_NextPart_000_0006_01CE2EB9.55279D10
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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_0006_01CE2EB9.55279D10
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.19393">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff text=#000000>
<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></BODY></HTML>
------=_NextPart_000_0006_01CE2EB9.55279D10--
------=_NextPart_000_0006_01CE2EB9.55279D10
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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_0006_01CE2EB9.55279D10
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.19393">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff text=#000000>
<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></BODY></HTML>
------=_NextPart_000_0006_01CE2EB9.55279D10--




