473,804 Members | 3,822 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

change mouse-cursor

Hello !

I try to change the cursor on the form like this :

Me.Cursor = Cursors.WaitCur sor
'reading from database
'showing file
Me.Cursor = Cursors.Arrow
But this doesn't change the cursor at all

I have also tried this :

Me.Cursor = New Cursor("wait01. cur")
But nothing happens..

Can anyone help me ?

Nov 20 '05 #1
4 5173

Cursor.Current = Cursors.WaitCur sor
'blah
Cursor.Current = Cursors.Default
"Maria" <ma*****@nospam start.no> wrote in message
news:eO******** ******@TK2MSFTN GP12.phx.gbl...
Hello !

I try to change the cursor on the form like this :

Me.Cursor = Cursors.WaitCur sor
'reading from database
'showing file
Me.Cursor = Cursors.Arrow
But this doesn't change the cursor at all

I have also tried this :

Me.Cursor = New Cursor("wait01. cur")
But nothing happens..

Can anyone help me ?

Nov 20 '05 #2
"Maria" <ma*****@nospam start.no> schrieb
Hello !

I try to change the cursor on the form like this :

Me.Cursor = Cursors.WaitCur sor
'reading from database
'showing file
Me.Cursor = Cursors.Arrow
But this doesn't change the cursor at all

I have also tried this :

Me.Cursor = New Cursor("wait01. cur")
But nothing happens..

Can anyone help me ?


I can't reproduce the problem with Framework 1.1 on WinXP. The cursor
changes as expected.

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
Thank you - but the cursor didn't change with this code either...
"Rob Oldfield" <rob@oldfield10 0_wow_freeserve _yikes_co_incre dible!_uk> wrote
in message news:u0******** ******@tk2msftn gp13.phx.gbl...

Cursor.Current = Cursors.WaitCur sor
'blah
Cursor.Current = Cursors.Default
"Maria" <ma*****@nospam start.no> wrote in message
news:eO******** ******@TK2MSFTN GP12.phx.gbl...
Hello !

I try to change the cursor on the form like this :

Me.Cursor = Cursors.WaitCur sor
'reading from database
'showing file
Me.Cursor = Cursors.Arrow
But this doesn't change the cursor at all

I have also tried this :

Me.Cursor = New Cursor("wait01. cur")
But nothing happens..

Can anyone help me ?


Nov 20 '05 #4
Curious. Grasping at straws here, but you're sure the mouse settings are
correct? Check Mouse pointer settings in Control Panel?
"Maria" <ma*****@nospam start.no> wrote in message
news:u%******** **********@tk2m sftngp13.phx.gb l...
Thank you - but the cursor didn't change with this code either...
"Rob Oldfield" <rob@oldfield10 0_wow_freeserve _yikes_co_incre dible!_uk> wrote in message news:u0******** ******@tk2msftn gp13.phx.gbl...

Cursor.Current = Cursors.WaitCur sor
'blah
Cursor.Current = Cursors.Default
"Maria" <ma*****@nospam start.no> wrote in message
news:eO******** ******@TK2MSFTN GP12.phx.gbl...
Hello !

I try to change the cursor on the form like this :

Me.Cursor = Cursors.WaitCur sor
'reading from database
'showing file
Me.Cursor = Cursors.Arrow
But this doesn't change the cursor at all

I have also tried this :

Me.Cursor = New Cursor("wait01. cur")
But nothing happens..

Can anyone help me ?



Nov 20 '05 #5

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

Similar topics

7
3191
by: Mr B | last post by:
Howdy, I want to set up an Include page in a cell of a table. Then I want to be able to change which page is included on the fly as the user moves the mouse of the various links on the page. How can I do this? THe include page was set up via FrontPage so it put it's Bot stuff in there, but if someone could tell me the "standard" way to use an include page and if there's a way using onMouseover etc to then change that and refresh it...
0
2120
by: Rachel Suddeth | last post by:
I have a tabbed ap, and I want to provide a message and give the user a chance to change there mind if they try to change tab pages in the middle of an update (otherwise just cancel the update and allow the change.) I thought the TabPage.Validating event would be the thing, and as long as buttons and tab page changes are done by mouse clicks, it seems to work fine. But if I use a hot key to press "Cancel" or "Save", it seems to raise the...
1
1223
by: Angel | last post by:
How do you change the color of a control when the mouse enters the area of the control? And then change it back to the original color when the mouse exits the control? The Server controls do not have a Mouse Event that I can code this.... Thanks...
1
4190
by: Stefan Mueller | last post by:
With the following code I can change the mouse pointer. However, if you click in Mozilla (with IE it works perfect) on 'Show hourglass' the mouse pointer changes only if you move the mouse at least on pixel. <html> <body> <script type = 'text/javascript'> function show_hourglass() { document.getElementById("my_href1").style.cursor = "wait"; document.getElementById("my_href2").style.cursor = "wait";
6
3955
by: sr | last post by:
please help i have problem: I know how to change color row in table when my mouse is over on this row and change color to another color when my mouse is out from this row. but i dont know how to change color when i click on this row and change to third color and ,this color stay when my mouse is out.please help
3
8897
by: rn5a | last post by:
I want to change the background color of a row in a DataList when the mouse is moved over a row. This is how I tried but it doesn't change the background color of a row in the DataList when the mouse is moved over a row: <script runat="server"> Sub CreateItem(ByVal obj As Object, ByVal ea As DataListItemEventArgs) If (ea.Item.ItemType = ListItemType.Item Or ea.Item.ItemType = ListItemType.AlternatingItem) Then
4
4308
by: Jon Slaughter | last post by:
I've created some custom controls and forms that allow the feature to temporarily transfer focus to a control that has been entered by the mouse. Everything seems to work fine but the problem I have is that sometimes I seem to loose the original "holder" of focus and when the user hits tab while using "temporary" focus(while the mouse is over a control) it will change focus to the next control but not update it. So I have several issues....
1
6773
by: sueian | last post by:
can some1 help with this code. can i add in a function like on click. when user click one of the link. the color will change to static from mouse over color. the text need to highligted after click. thanks <html> <head> <style type="text/css">
0
1734
by: khanh | last post by:
I know how to highlight a treenode when the mouse is moving over it in a drag and drop, but what I would like to do is change the forecolor of a node and change it back when the mouse is moved away from it - sort of like when a link turns blue when you hover over it. The difficulty lies with the absent of a node mouseEnter and node mouseLeave event. Without these, there isn't a way to detect when the mouse has moved over to a different node...
2
21497
by: muddasirmunir | last post by:
I want that my mouse pointer will change to hand when we move our mouse to a text and come to arrorw again when we leave. Just like same as we move our mouse over a hyperlink in explorer. any help ? i had tried on mousemove event of text but did not succeed as the pointer change but did not come back to arrorw again.also i do not know what to write to change to hand pointer instead of hour glass in above code. Thanks
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10577
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10332
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10077
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9150
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5521
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.