473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Me.Parent.topmost=true does not work

I learned about the TopMost property from a recent post which solved some
problems.

But I have a situation where a control wants to make the form it is on be
the topmost.

It could raise an event but be cleaner if it could do it directly.

I tried the following but the compiler thinks Parent is a control (they
don't have a topmost property.)

Me.Parent.topmost

Any suggestions
Nov 20 '05 #1
1 2004
* " SamSpade" <st**************@REMOVEaol.com> scripsit:
I learned about the TopMost property from a recent post which solved some
problems.

But I have a situation where a control wants to make the form it is on be
the topmost.

It could raise an event but be cleaner if it could do it directly.

I tried the following but the compiler thinks Parent is a control (they
don't have a topmost property.)

Me.Parent.topmost


\\\
Me.FindForm().TopMost = True
///

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Joseph | last post by:
What am I missing form this method that will prevent access to the parent form when the frmB is active? If you run this method, you can still access the parent form and its functionality. Sub...
2
by: JaguarX | last post by:
I have an application that needs a window to stay on top of the other ones, I thought that TopMost = true would be suitable for this feature but it also makes this window to stay on top of all other...
2
by: SpotNet | last post by:
Hello NewsGroup, I have a MDIParent form with a docked left treeview control, a splitter control and a generic docked control on the right. Kind of looks like Windows Explorer, though it's...
12
by: E Goforth | last post by:
Hello, I have a VB6 app that calls a VB.NET app via named pipes and a third party component. Inside the VB.NET app I'm trying to force a form to the top, at least temporarily. Inside a form's...
3
by: Jason Garland \(Secure Access Pty Ltd\) | last post by:
Does anyone know a way of making an item the highest form ? (eg nothing can go above it, stays on top ?) I have used the TopMost = True But if users hit the Start Button, it then goes over...
6
by: Strahimir Antoljak | last post by:
I'm running VS.NET 2002 and keep having problems with form keeping on top with its TopMost property. Sometimes my program places the invoked form on top sometimes not. Sometimes when I click on the...
37
by: Geoff Jones | last post by:
Hi Suppose I have two forms: Form1 and Form2. I create and show an instance of Form2 in the code of Form1 e.g. Dim myForm2 = New Form2 myForm2.Show() How do I tell myForm2 that Form1 is...
0
by: Aaron_at | last post by:
My problem is though i use a Shockwave flash control to play the SWF file, this control hides the MDI child forms.In the sense it always stay on the top. What am i trying to do? Trying to have...
0
by: Robert Johnson | last post by:
Hi all. Why doesn't the Start Position CenterParent work in a MDI child when it opens in a MDI container? This is the code that opens it if that makes a difference: Dim smf As New...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.