Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Cursor Position (https://forums.graalonline.com/forums/showthread.php?t=134262616)

MrOmega 03-30-2011 03:23 AM

Cursor Position
 
Is it possible to change where the cursor position is with script on a GuiTextEditCtrl?

fowlplay4 03-30-2011 03:28 AM

wrong forum?

Try playing with this command.. GuiTextEditCtrl.setselection(start_position, length)

Just pass 0 to the length.

MrOmega 03-30-2011 03:36 AM

oops thought I clicked NPC forum.. Can a mod please move

Also, is there anyway to change the cursor to a block (like old DOS text editors) or to now show the cursor even?

fowlplay4 03-30-2011 03:47 AM

I don't think so. You'll probably have to do something hackish or completely custom to get that effect.

DustyPorViva 03-30-2011 03:52 AM

Actually I don't think mousescreenx/mousescreeny are read-only. Give it a shot.

fowlplay4 03-30-2011 04:00 AM

Quote:

Originally Posted by DustyPorViva (Post 1640032)
Actually I don't think mousescreenx/mousescreeny are read-only. Give it a shot.

Changing it only changes the value, and I believe he was referring to the text cursor |.

DustyPorViva 03-30-2011 04:23 AM

Quote:

Originally Posted by fowlplay4 (Post 1640033)
Changing it only changes the value, and I believe he was referring to the text cursor |.

Oh, the caret.


All times are GMT +2. The time now is 05:09 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.