>I have three separate small in-house applications I'm developing. With all three
>of them, when a user double-clicks on a text box which is tied to a memo field,
>an edit window opens. However (!), it opens _behind_ the currently running form.
>I've tried assorted combinations of ZOrder, AlwaysOnTop, and DEFINING and
>ACTIVATING my own edit window, but as yet to no avail... any suggestions?
>
Do you really need to edit memo in a window? Why not use the Editbox?
If there is not enough space on form, you can make Editbox invisible and bring it in front (alone or in the container) when you double-click on the textbox.
I never use windows for editing memo in VFP.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison