Steve,
Is this line in the growing editbox?
>ThisForm.edtPurpose.SetFocus()
and is that control called edtPurpose? if so you are just pushing focus right back which will make it grow again.
Does this editbox basically consume the whole form when it enlarges? If so and there is nothing else to click on you'll have to use KeyPress to look for some special "I'm done editting in here" key. If there is some form space available you could use form.Click() to setfocus to some other control on the form to trigger the shrink back to normal for the editbox.
>This is my code, however,
>1. When I am thru with the editBox, how can I get out of it because clicking on other parts
>of the form does not close the editBox.
>2. Is there a way to enable regular text editing keys in an editBox like the tab and up and
>right arrow keys, so that it is like a small word processing document? Or is better to use
>modi comm and bring up a document for editing?
>
>Thanks
>Steve
>
>*Click
>This.SetFocus()
>
>*GotFocus
>This.Height = 400
>This.Top = 100
>This.Width = 432
>
>*LostFocus
>This.Height = 60
>This.Top = 248
>This.Width = 432
>ThisForm.edtPurpose.SetFocus()