Re: Layout Again, Groups and Radio Buttons

  • From: "RicksPlace" <ofbgmail@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 25 Mar 2010 14:20:03 -0400

I should think that if they are seperat radio button controls they would each 
have their own tab stop number within the container and, if the LayoutTable 
container is any indication, each have it's own relative number relative to the 
container rather than the Window. If you added a CheckBox List control then the 
List control would be the only control with a tab stop number, at least I think 
that would be the case. Also, setting up that many controls might get tricky if 
you move them around because the tab stop number would read them in that 
sequence even though you physically put them in a diferent order. You use the 
start position of a control and it's length and height to calculate where it 
appears on the screen, or within a container, but the order in which the tab 
key will read the controls depends on the number associated with the tab stop. 
This could make things read diferently from what you might otherwise think 
should be read. I did not like the GroupBox when I played with it, no reason 
for it really, and it just added clutter to the application. I guess it does 
give you the ability to move the entire group around but I think you need to 
add controls to the window and then make sure their start position and length 
put them within the pre defined boundries of the GroupBox to be contained 
within the container. If they won't fit I think you would need to make the 
GroupBox bigger so they will fit. I am not sure you can just drop a control 
into a GroupBox using the Forms Designer, perhaps, but I do not remember doing 
it that way. For the best results make  a text file and put the position and 
size of each control in the text file. Then make sure that the boundries of 
each control fits into the container boundries. In other words, calculate the 
top, bottom, left and right edges of the container. Then calculate those values 
for any controls you put inside the container to make sure all edges of the 
embedded controls fall within the container unless the container will 
automatically resize based on the embedded controls. I do not think that the 
case with a GroupBox but again, am not sure. Because I can not see what is 
going on, I always use the numbers to tell me what is going on so that is the 
only way I know of doing it. I think some others have used the FormsDesigner 
with some of the JAWS script features to do it but, sigh, no jaws on my machine.
If your program does not read the way you expect something is not the way you 
think it should be so check it out and, if possible, have your daughter check 
it out to see if it reads like you think it should.
Rick USA
  ----- Original Message ----- 
  From: Donald Marang 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Thursday, March 25, 2010 11:05 AM
  Subject: Layout Again, Groups and Radio Buttons


  While I am on the subject of window layout in Visual Studio Express 2008, I 
have been wrestling with one more dilemma.  I have an Input Group placed on the 
QuickOCR main window.  I thought I placed the three radio buttons in that 
group; Clipboard, Scanner (disabled), and File.  I am not sure I properly 
placed all three inside the container.  I should probably add the Filename text 
edit field and the Browse button to this group as well.  Is there some trick 
those of us with extremely limited vision should do when creating a new control 
or cut and pasting controls to assure that they are contained within that group 
container?  I assume a group can be set to resize as well.  In fact, I hope it 
would isolate me from needing to manually resize each control within.  Does the 
group have a visual outline border by default?  Should it always have a border? 
 I am afraid that would interfere with a graphic logo I want my college bound 
art student daughter to design.  I would place it at the top right corner as 
large as practical and tasteful.  She will probably also design an icon for the 
program.  

  My radio buttons act somewhat strangely.  Perhaps it is just the grouping 
problem mentioned above.  I can not get their positioned announced by JAWS, 
like 1 of 3, to match their physical placement / tab order.  Should the group 
container and its associated radio buttons have sequential numbers in the Tab 
Order or share one number?  Do I need to do something special to get the JAWS 
position to match, or should the proper grouping discussed in the first 
paragraph resolve this issue?  

  Don Marang

Other related posts: