Setting Focus on TextEdit on Ribbon Control

Mario R. Perez

New member
Local time
Today, 09:55
Joined
May 14, 2020
Messages
16
I have a TextEdit in my ribbon control (a search box) that I want focused when the software starts. How can I accomplish that? The control itself doesn't seem to have a Focus() method.

I would like to be able to use a barcode scanner, read the ticket number, show the msgbox, return to the TextEdit ,clear and have focus.
thanks for advance
 

Attachments

  • Screenshot 2023-07-17 224143.png
    Screenshot 2023-07-17 224143.png
    34.7 KB · Views: 91
  • Screenshot 2023-07-17 224404.png
    Screenshot 2023-07-17 224404.png
    27.8 KB · Views: 94
If you look at this post, you can handle a barcode scan internally in your code, without needing to read the scan into a textbox, either on the ribbon or on a form. I think that will be a better solution, and an easier solution than trying to use the ribbon as a responsive UI element.
 

Users who are viewing this thread

Back
Top Bottom