Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No focus
Message
From
05/02/2002 12:31:41
 
 
To
05/02/2002 11:54:08
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00615541
Message ID:
00615584
Views:
23
>>Hi All,
>> I have a text box control that is supposed to get focus when the page comes up. However it immediately loses focus. The focus goes to the next control. Has anyone ever encountered this before?
>
>Hey Winn,
>
>Many, many times... Usually it has to do with the textbox not being enabled at the time the focus is being set (check refreshes, etc). Also, there could be code in a page Activate that is throwing it around. I have to run at the moment, but when I get back if you haven't resolved it I'll search through my threads and see if I can find this. I have many, many posts regarding this from back a few months ago. Maybe a PUTM can jump in in the meantime. Oh, also check if you are setting the focus from a valid or click and then have code that runs after it. It can get confused there too.
>
>Renoir

Renoir,
Actually I SETFOCUS() in the page activate.
Winn Pauley
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform