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.
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
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).
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
VIP since: 6-10-2011
It's a dialog, so I googled dialog topmost and came up with this :
http://stackoverflow.com/questions/6751 ... ards-to-th
http://stackoverflow.com/questions/6751 ... ards-to-th
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.
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
VIP since: 6-10-2011
??
Code: Select all
Form2 fd = new Form2();
fd.ShowDialog(this);
Code: Select all
i dont see much of a change? lolDim fd As New Form2()
fd.ShowDialog(Me)
It does work fine...
I have 2 forms , Form1 and Form2
on Form1 there is a button , on the click :
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)
Ive +repped agust, cant give you twice in a row axel, ill do you when i can send the next +rep 

Practice makes perfect!
VIP since: 6-10-2011
VIP since: 6-10-2011
6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023