Click to See Complete Forum and Search --> : URGENT - How to Keep a Modeless form Active on a parent form ?


N.G.Bimlesh
January 23rd, 1999, 07:48 AM
Hi,

I have a Text editor, where in the user has the otpion to use the FIND and REPLACE tool. Now like the standard editors( which support Find or Search), I need to keep the form active on my application as long the user closes this form and also at the same time, need to work on the editor as well.


Please look into the behaviour of either Wordpad, Notepad, MS-Word.


When you invoke the FIND tool, a form is displayed, where the user can type the text he needs to be Found. Now even when the Find form is active, we can still go ahead and continue editing on the editor. The Find Form still stays active on the Application. The Find Form does not close nor gets minimised untill the user forcibly closes the form.


Please come out with your suggestions as soon as possibile, as I have got very less time to achieve this behaviour. This needs to be done on VB 5.0.


If you need more info, please feel free to call me up at


91-80-3460 616 ( Off )

91-80-6656 040 ( Res )


e-mail

nanjangud_bimlesh@bet.satyam.com


Thanks in advance,

Bimlesh

M.Anand
January 25th, 1999, 06:43 AM
Try this


Let us call the Find Dialog as frmFind and the editing form as FrmEdit


When you do a Find, Pop up frmFind as follows


frmFind.Show 0 ,ParentForm


where parentForm is the MDI form


See if it works


Good Luck

Anand

N.G.Bimlesh
January 25th, 1999, 08:52 AM
Anand,

Thanks for the solution. it has indeed solved my purpose.


Ur immediate response is very mcuh appreciated.


Regards

Bimlesh