Topmost but not topmost

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts Page 1 of 1
Contributors
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Topmost but not topmost
clanc789
Hey Coders,

Can you help me out with this:
I cant find out how to make this, +rep for the one who tells me how to do that (via PM or reply to this topic).
Practice makes perfect!

VIP since: 6-10-2011
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Topmost but not topmost
Axel
It's a dialog, so I googled dialog topmost and came up with this :
http://stackoverflow.com/questions/6751 ... ards-to-th
http://vagex.com/?ref=25000
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Topmost but not topmost
clanc789
2 things: that is C# I need vb.net
and 2nd: it doesnt work. It retrieves the focus to the other form whilst you can still click form 1 (timer with interval 1milisecond could be...) but there must be another option!

I alrdy tried: form2.focus (timer 1.interval = 1 with that code). Works partly but I can still click on things in form1. I dont want to make it like: form1.enable = false. Just that what i showed in the vid.
Practice makes perfect!

VIP since: 6-10-2011
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Re: Topmost but not topmost
Agust1337
??
Code: Select all
Form2 fd = new Form2();
fd.ShowDialog(this);
Code: Select all
Dim fd As New Form2()
fd.ShowDialog(Me)
i dont see much of a change? lol
Top-notch casual Dating
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Topmost but not topmost
Axel
It does work fine...
I have 2 forms , Form1 and Form2
on Form1 there is a button , on the click :
Code: Select all
        Dim f2 As Form2 = New Form2()
        f2.ShowDialog(Me)
http://vagex.com/?ref=25000
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Topmost but not topmost
clanc789
Ive +repped agust, cant give you twice in a row axel, ill do you when i can send the next +rep :D
Practice makes perfect!

VIP since: 6-10-2011
6 posts Page 1 of 1
Return to “Tutorial Requests”