NetTalk Central

Author Topic: Turn ON/OF Focus on a form  (Read 5883 times)

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Turn ON/OF Focus on a form
« 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

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Turn ON/OF Focus on a form
« Reply #1 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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Turn ON/OF Focus on a form
« Reply #2 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

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: Turn ON/OF Focus on a form
« Reply #3 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

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: Turn ON/OF Focus on a form
« Reply #4 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Turn ON/OF Focus on a form
« Reply #5 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