ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Focus problem (https://www.excelbanter.com/excel-programming/299726-focus-problem.html)

Jos Vens

Focus problem
 
Hi,

I have a strange problem: on my laptop (Win XP Prof, Office 2000), when I
set the focus on a textbox in a form, it gets the focus (looks normal), but
when I run the same program on another computer (same configuration, but not
a laptop), the focus is not set to that textbox (there is no focus - dashed
line or blinking cursor), only the default button is bold and reacts on the
enter-key.

How can I force excel to set the focus on that computer? I use a function
to set the focus and use it in the initialize section of the form:

Function Init_Focus()

vPassword.SetFocus

End Function


Thanks
Jos Vens




All times are GMT +1. The time now is 10:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com