473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using DataGrid in a form makes the TopMost property invalid -- DataGrid bug?

Hello Everyone,

When i add a DataGrid to a form, the TopMost property of the form becomes
invalid; i.e. even if the TopMost property is set to "true" the form does
not stay on top of other forms. This is very weird. You can try it out.

I tried a way around. If I reset the form's TopMost property in the
DataGrid's "Paint" event, it works.

Can anyone please give me an alternative solution. Thanks.

Regards,
Sajjad
Nov 16 '05 #1
0 1399

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

Similar topics

8
by: Ashish Shridharan | last post by:
Hi All I have been trying to add a control to the header cell of a datagrid on my ASP.NET page. These controls are defined in the HTML as ASP.NET web controls. They are being added into the...
0
by: Sajjadul Hakim | last post by:
Hello Everyone, When i add a DataGrid to a form, the TopMost property of the form becomes invalid; i.e. even if the TopMost property is set to "true" the form does not stay on top of other...
5
by: Tamir Khason | last post by:
Is it possible managed detect that one form inaplicationcontext is above other ? -- Tamir Khason You want dot.NET? Just ask: "Please, www.dotnet.us "
3
by: Robert W. | last post by:
I have a separate thread that handles data transfer operations (with a mobile device). I've set things up so that a small notification form is displayed in the lower right corner of the window. ...
2
by: Willie wjb | last post by:
Hi, i want to set the topmost row displayed in a datagrid control but can't find the command for it. Before there was the .setfirstrow property, but in this datagrid (framework 1.1) control i...
6
by: Jonathan | last post by:
Hi, I have a parent(container) form which opens another form, and that one opens another etc.., each form is open with Form.MdiParent = Me.MdiParent. (apart from the first one which is just "=...
2
by: Sam | last post by:
Hi, How can I have a form that is TopMost only within the application it belongs to? 1.I can't use ShowDialog, as it would be modal and I want the user to be able to interact with controls in...
4
by: Mandragon03 | last post by:
I have an MDI form that has 4 child forms that are locked on top of any other child form in the MDI. I want to unlock these 4 forms so they are not always on top of all the other forms in the MDI....
1
by: Gary Brown | last post by:
Hi, I have a dialog box that must behave as MessageBox does with regard to the TopMost property. It must be TopMost if and only if the calling form is TopMost. A static method creates the...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.