NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Robert Iliuta on April 10, 2019, 02:57:15 AM

Title: Turn ON/OF Focus on a form
Post by: Robert Iliuta on April 10, 2019, 02:57:15 AM
Hallo!

I have a memory form with some text and 5 buttons.
I uncheck the Auto Focus option in Advanced tab of the form.
When I open the form the first button has focus. After I press 1st button the focus go to second button and so on...
Is this a bug or I forgot something to do here...
How can I stop focus for this form?

Thank you!
Robert
Title: Re: Turn ON/OF Focus on a form
Post by: CaseyR on April 10, 2019, 08:45:34 AM
Hi, Robert

Each button has a Set Focus When Clicked property that lets you direct the focus to a specific control on the form.  If you don't want the focus to move, just enter the same button.
Title: Re: Turn ON/OF Focus on a form
Post by: Bruce on April 10, 2019, 10:04:23 PM
Hi Robert,

clearly if the browser has focus at least _something_ in the page has to have the focus? no?

cheers
Bruce
Title: Re: Turn ON/OF Focus on a form
Post by: Robert Iliuta on April 10, 2019, 11:55:08 PM
Hallo Casey!

>> If you don't want the focus to move, just enter the same button.
I don't understand this part.
How can I do that?

Robert
Title: Re: Turn ON/OF Focus on a form
Post by: Robert Iliuta on April 10, 2019, 11:59:11 PM
Hallo Bruce!

>>clearly if the browser has focus at least _something_ in the page has to have the focus? no?
maybe... but not my buttons :-)
My question is how to stop or control this focus. This is my problem.

>>I uncheck the Auto Focus option in Advanced tab of the form.
What actually do this options?

Robert
Title: Re: Turn ON/OF Focus on a form
Post by: Bruce on April 11, 2019, 09:47:24 PM
>> My question is how to stop or control this focus. This is my problem.

I'm not sure what "stop" means - so perhaps let's talk about "control the focus". Can you explain more about what you would like to control it to do?

cheers
Bruce