Page 1 of 1 1
Topic Options
#211481 - 2016-05-13 03:05 PM Settings cursor type
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Small question.

I'm creating an application and for that I want to set the cursor to "WaitCursor" while a certain task is executed. In KF designer .NET there are several options (see image) but when creating the base script from there the cursor settings are not exported to the script file.

Is this still possible and if so how? I never did this before but I guess someone here did.


Attachments
cursor.png (1083 downloads)
Description:


_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#211484 - 2016-05-13 03:55 PM Re: Settings cursor type [Re: Mart]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
I've always just used..
 Code:
$Form.Cursor=11
to turn on the 'working' cursor. Then...
 Code:
$Form.Cursor=0
to turn back to default.

Top
#211485 - 2016-05-13 03:56 PM Re: Settings cursor type [Re: ShaneEP]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
Have never done it through the designer though, so can't help with that.
Top
#211487 - 2016-05-13 04:17 PM Re: Settings cursor type [Re: ShaneEP]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
Just in case it's helpful, attached are the other built in cursor types.

Attachments
363.png
Description:



Top
#211488 - 2016-05-13 04:23 PM Re: Settings cursor type [Re: ShaneEP]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
I do not care that it doe snot work from the designer. I only use that to create the layout and to see how what to use to set multiline for a textbox for example and what to set it to.

I tried $form.cursor. No luck yet. Time to head home and start the weekend. I'll continue this next week.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#211489 - 2016-05-13 05:59 PM Re: Settings cursor type [Re: Mart]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
Oh, I forgot to mention that was also in KF Classic. It may be different in .Net.
Top
#212725 - 2017-10-07 11:56 AM Re: Settings cursor type [Re: ShaneEP]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
for kf.classic I used to use

 Code:
$form.Cursor = $system.CursorStyle.WaitCursor
$form.Cursor = $System.CursorStyle.Default


late reply, better than no reply
_________________________



Top
Page 1 of 1 1


Moderator:  ShaneEP, Mart, Radimus, Jochen, Allen, Glenn Barnas 
Hop to:
Shout Box

Who's Online
0 registered and 433 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.055 seconds in which 0.024 seconds were spent on a total of 15 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org