|
-
Oct 6th, 2008, 10:40 AM
#1
Thread Starter
Addicted Member
[2008] On top help..
Can some one help me how can i make automatically my Application be on top of other software...?
< advertising link removed by moderator >
-
Oct 6th, 2008, 11:07 AM
#2
Lively Member
Re: [2008] On top help..
set your main forms topmost property to true.
-
Oct 6th, 2008, 11:09 AM
#3
Thread Starter
Addicted Member
Re: [2008] On top help..
thanks mate...
< advertising link removed by moderator >
-
Oct 7th, 2008, 10:15 AM
#4
Thread Starter
Addicted Member
Re: [2008] On top help..
can some one assist me how to make when user checks the check box the windows be on top when user unchecks it the windows not be on top ...?!
can some one help me on this..?!
< advertising link removed by moderator >
-
Oct 8th, 2008, 01:36 AM
#5
Lively Member
Re: [2008] On top help..
in the checkbox just put
me.topmost = not me.topmost
-
Oct 8th, 2008, 01:56 AM
#6
Re: [2008] On top help..
 Originally Posted by youthbytes
in the checkbox just put
me.topmost = not me.topmost
That's not really the most appropriate way to do it. That would work as long as you had the TopMost property set to the correct value in the first place but if you didn't then it would actually do the opposite of what you wanted. The most appropriate way is like this:
vb.net Code:
Me.TopMost = Me.CheckBox1.Checked
They both start out as False by default so that will always work.
-
Oct 9th, 2008, 10:37 PM
#7
Lively Member
Re: [2008] On top help..
why wouldn't they set it before hand in the loading of the settings or if there are no settings, in the properties of the project before they build it?
i get your point, i just wouldn't ever have that problem.
-
Oct 10th, 2008, 12:43 AM
#8
Addicted Member
Re: [2008] On top help..
Code:
Private sub checkdchanged handles CheckBox1.Checkedchanged
Me.Topmost = Me.CheckBox1.Checked
End sub
Last edited by Dark Anima; Oct 10th, 2008 at 12:50 AM.
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
|