I have an idea, for an enhancement when constructing XML dialogs. That
is, if it is possible... :)
When defining an element, you can set the hight, width and the X and Y
positions. Yet, for a blind person, with no sighted assistance, this is
really quite a hit-and-miss job. OK, we got the AUTO feature for Hight
and Width, and to play safe as can be, that might be the one way to go.
But then we have the actual positioning of the element. Had all screens
looked the same, and all fonts been the same size, we could have gone by
screenpoints. But even that is a hit and miss. So, AISquared has
provided the chance to position our stuff on TOP, at BOTTOM, or align it
in the CENTER or near the LEFT and RIGHT edge.
I just wondered, if it would have been possible to implement a chance
for me, to define the size of the element percent-wise, in both the X
and Y direction. I could then have decided that my button should sit in
the upper left corner, and take up say 10 X-percent, and 5 Y-Percent. My
Next element, an edit box, I could have defined to sit 15 percent down
the X-line, and cover the next 3 X-percent. that is, it would start at
X15, and end at X17 percent. And it would stretch from Y20 to Y49 percent.
Hope the above gave a bit of meaning. The Dialog could then - all in the
background - do all the percent calculation, based on the actual size of
the dialog on the current computer, screen and under the currently
conditions that affects the dialog's physical size. It would have been a
bit easier, for me as a blind person to have things correctly positioned
and sized, did I have some tangible and reliable numbers to operate with.
In other words, could we have a feature to set the actual upper-left and
lower-right corners of an element, and also the starting position for
it, all based on percents of the total dialog size?
Anyone have some input on this?
Thanks,
--
David
_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.
For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com