>>Hi All,
>>I have a form that I can't set modal, that has its READ EVENTS command in the command button. What bothers me is that it doesn't have focus as soon as it opens up. I have to click on the frame at the top for it to gain focus. Has this happened to anyone else?
>>Thanks,
>
>Winn;
>
>I would expect you are running a Main.prg with a Read Events and your forms window type is set to 1 for Modal. No additional read events are necessary.
>
>An example of this is:
>
>Main.prg
>
>Do Form MyModalForm
>Read Events
>
>
>Tom
Wellllll, not exactly. Normally that is how I do it, but because of this dang Kodak ImageEdit control I am using, it only works if the form is not modal. At least I can only get it to work when the form is not modal. Maybe I am not doing something correctly but I finally have it to where its behavior is acceptable.
Winn Pauley