RE: Focus not in correct place

Author: Kent Belan

Posted: 2014-06-27 at 10:06:00

The text boxes are bound to business object properties so not directly bound

to data fields.

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Fred Taylor

Sent: Friday, June 27, 2014 10:58 AM

To: ProFox Email List

Subject: Re: Focus not in correct place

For the fields that the text boxes are bound to, is the table at EOF?

Fred

On Fri, Jun 27, 2014 at 7:52 AM, Kent Belan <kbelan@mchsi.com> wrote:

> Happy Friday !!

>

> I have been trying to fix this problem for a while, but I am stumped.

>

> I have a VFP9 form that has several containers on the form. Depending

> on the menu item selected, the program will load other containers

> inside the main containers on the form.

>

> I have one container that on the first load only, the focus is lost

> when the container loads. Everything looks fine with the container but

> when you hit the TAB key the computer beeps like it can not tab. I

> also can not type in any of the text boxes. The weird thing is I can

> click in any of the text boxes, but it will not let me type. The

> dropdown controls do work and I can click on the down arrow of the

> control and drop the options.

>

> If I click on the same menu option the second time, everything is

> working fine and the focus is correct and the text fields work as

expected.

>

> I am stumped how to figure out where the focus is on the first load.

>

> Is there any way to find out where the focus is or why the container

> that was just loaded does not have the focus on the first load.

>

> If I run the debugger, the focus changes and when I click back on the

> container, every thing is working like normal

>

> I hate these kind of problems ...............

>

>

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000301cf9219$4f425a60$edc70f20$@mchsi.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Kent Belan