|
-
May 14th, 2004, 12:01 AM
#1
Thread Starter
New Member
photoshop-type toolwindow hover - 1-liner in vb6, looking for vb.net method
hi all. this is my first time posting on this board.
using vb6 it was an easy job to call a form that would hover 'above' your main form, but not above anything else, and let you work on your main form at the same time.
in vb6 (and prior perhaps) it was accomplished with a call of the form:
generalsettings.Show , main
i would like to know how this is done using vb.net. any suggestions are appreciated.
-
May 14th, 2004, 01:11 AM
#2
You can set the Owner property of the child form to get the same effect:
VB Code:
'VB6
Dim f As New Form1
f.Show , Me
'VB.NET
Dim f As New Form4
f.Owner = Me
f.Show()
Both code examples assume they are being ran from the form that you want as the parent otherwise replace Me with a reference to the parent form.
-
May 14th, 2004, 06:12 AM
#3
Thread Starter
New Member
thank you sir...
that was exactly what i was looking for.
the help you've provided in this matter is much appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|