473,326 Members | 2,196 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,326 software developers and data experts.

making entire application's cursor change to wait cursor in MDI

I have an MDI app, that has a Modal (non MDI child) form that shows up in
it's properties that performs a very long task, I want the wait cursor to
show over the entire application... when I do cursor.current = Wait it only
changes the cursor over the Modal dialog... anyway to change the cursor so
when its over any part of the app it is the same? thanks!
Aug 23 '06 #1
2 6540
Me.TopLevelControl.Cursor = Cursors.WaitCursor

Smokey Grindle wrote:
I have an MDI app, that has a Modal (non MDI child) form that shows up in
it's properties that performs a very long task, I want the wait cursor to
show over the entire application... when I do cursor.current = Wait it only
changes the cursor over the Modal dialog... anyway to change the cursor so
when its over any part of the app it is the same? thanks!
Aug 23 '06 #2
Oh wait...Non MDI child...Hmmm.

I wrote one MDI application once and controled all my froms from a
module. I also had on sub called WaitCursor and when I called it, it
set the Me.Cursor property of all forms that were not disposed or =
nothing.

I'm not sure if there is a better way than that.
Izzy wrote:
Me.TopLevelControl.Cursor = Cursors.WaitCursor

Smokey Grindle wrote:
I have an MDI app, that has a Modal (non MDI child) form that shows up in
it's properties that performs a very long task, I want the wait cursor to
show over the entire application... when I do cursor.current = Wait it only
changes the cursor over the Modal dialog... anyway to change the cursor so
when its over any part of the app it is the same? thanks!
Aug 23 '06 #3

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

Similar topics

3
by: Csaba2000 | last post by:
I have set onmousedown to change the cursor, but this setting is ignored (IE 5.5; NN 6.1 on Win 2K Pro) until the mouse is either moved or the mouse button is released. On Opera 7.01, the setting...
1
by: Brami Yair | last post by:
Hi, below is example js: function SomeLongProcess() { for(var i=0;i<document.all.length;i++) document.all(i).style.cursor="wait"; // some long process here !!
6
by: SP | last post by:
Hi, I want to add wait cursor code whenever page is post back. Page may be post back on my user control's or on change of dropdown or on click of any button on page. so is there any common...
5
by: Lespaul36 | last post by:
I have a mdi app. I need to change the cursor when I click on certain button on a form that I made into a toolbar. I tried to use cursor.current. But the cursor won't show. if I change the form...
4
by: PJ6 | last post by:
This is the only solution I've found to get a wait cursor document-wide: function Busy() { if (document.all) for (var i=0;i < document.all.length; i++) document.all(i).style.cursor = 'wait'; }...
1
by: archana | last post by:
Hi all, I am having one confusion regarding changing cursor to wait cursor I am providing auto refreshing facility for listview using timer. So what i am doing is when auto refreshing is in...
6
by: Tomek | last post by:
In my page I reload JavaScript. When it is reloading the cursor change to "wait" (hourglass). After javascript loaded it does not change back to the "hand" if cursor stay on hyperlinks. How can I...
1
by: bibhukdas | last post by:
Hi All, Just to elaborate on the issue. The requirement is to handle this in javascript 1. User clicks on a button 2. Change the cursor style (We are using document.body.style.cursor="wait") 3....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.