hide cursor

Ricky D

Well-Known Member
Licensed User
Longtime User
Not sure

Hi.

I had a look at VB2005 and it has a Cursor.Hide method.

I tested it on my PPC but alas it didn't do anything. I was hoping it would and we'd be able to use Door.dll to maybe do it.

:sign0013: I'm not helping. Can you help here Erel?

regards, Ricky
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The following code works on the desktop and according to the documentation is should also work on a Windows CE device.

obj is an Object from the Door library.
B4X:
Sub App_Start
    Form1.Show
    obj.New1(False)
    obj.CreateNew("System.Windows.Forms.Cursor" & obj.System_Windows_Forms)
    obj.RunMethod("Hide")
    'obj.RunMethod("Show") 'Show the cursor
End Sub
 
Top