Answers on the Btw the rest was already answered I believe.

Visible means it can be seen.
Enabled means it can be acted on. Essentially a enabled = False edit box is 
very similar to a read only edit box.

A Radio  button provides a list of choices and  only one can be pushed. So if 
you have three radio buttons and push #1 then #2 and #3 are guarantied to be 
off.

With regular push buttons each acts independently. 
 Best wishes,

Jonathan



> On 31 Mar 2016, at 11:41, LB via Scripting <scripting@lists.window-eyes.com> 
> wrote:
> 
> Hi David,
>    I think there is a control( ID).Focus() that you should use.
>    The ID is the name you have given to that specific edit box. So, try 
> that.
> 
>        Bruce
> 
> Sent: Thursday, March 31, 2016 9:20 AM
> Subject: Auto-focusing an edit box
> 
> 
> Ok, got a bit of an issue, I seem to not get my brain wrappe around.
> Hope for someone to have a good idea here. Thanks in advance.
> 
> I am trying to construct a form, using a dialog defined in my XML file.
> It generally works as expected. Yet, I have this one issue.
> 
> The form holds three edit boxes, all of which should be visible and
> enabled under all conditions. It then holds a fourth edit box, which
> only will be visible, and enabled, in case one of the radiobuttons on
> the form is checked. It is not much of coding to get the edit box to
> show up and hide, depending on the radiobutton's status on the screen.
> 
> What I had a dream of accomplishing, though, is to have the cursor
> automatically jump to the edit box, once it gets activated by the
> radiobutton. I use the RadiobuttonClicked Event, to determine when the
> radiobutton got activated, and then make the edit box visible and
> enabled. But I don't see anything in the Quick Reference, that will let
> me force focus onto the edit box.
> 
> Can this be accomplished, and if so, what is the clue that I am missing?
> 
> BTW, could someone please enlighten me on two small questions, please.
> 
> 1. What is a Push Button, as compared to a Radiobutton?
> 
> 2. Do I have to use both the Visible and Enable features of the edit
> box, to have it shown or hidden? Or, is it enough to just use one of
> them. And if so, why are they both there? I want the thing to work, even
> for sighted users, so it does matter whehter the thing really gets
> inactive visually.
> 
> 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/lab4me%40fltg.net.
> 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 
> 
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> _______________________________________________
> 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/jon.c.cohn%40gmail.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

_______________________________________________
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

Reply via email to