>Hi All
>I know I am doing something stupid but for the life of me I can't think what!
>
>Simple task - I have a text box class on a form - In the valid event it checks if there is more than 1 answer, if there is I want to pop up another form where the user selects which 1 they want.
>
>The problem is the 2nd form either flashes up quickly and disappears or, as I now have it, it stays on top but the focus is on the 1st form.
>
>Simplied version of my code is:
>
>public x
>x = createobject('test', This)
>x.visible = .t.
>
>Where test is a class based on a form, I have set it to modal and always on top
>It only contains a list box, which I populate in the init event, and a command button.
>
>Any help would be appreciated
>
Derek
In your example, did you try , instead of x.visible= .t., x.show() ?
HTH
Jaime
Why do programs stop working correctly as soon as you leave the Fox?