PDA

View Full Version : Show another form after mouse_down event...



blackmap
01-20-2003, 08:34 AM
Hi !

I Do some things with the mouse down event. It works great, but I want to show the user another form. This form is always in the background. hat can I do to set focus on it?

I am working with VB.

Thanks a lot!

Peter

jia_1980
01-21-2003, 02:21 PM
Hi, you can use:

Private Sub map1_MouseDown(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long)
Form2.Show 1 'Form2 is your another form
End Sub