selecting text / setting cursor problem |
Post Reply |
Author | |
fuxi
Groupie Joined: 15 December 2008 Location: Germany Status: Offline Points: 21 |
Post Options
Thanks(0)
Posted: 15 December 2008 at 9:30pm |
hi all,
i'm trying to do do the following: - set a text selection in row 12, and from col 20 to 30 - set the cursor to the starting position of this selection (row 12, col 30) i'm using the following code: with editor .CurrPos.SetPos 12, 20 With .Selection .Start.SetPos 12, 20 .End.SetPos 12, 30 End With end with it should be right - but the problem is: the cursor appears at the right place but there's no selection :( if i omit .CurrPos.SetPos it works but i also want the cursor to appear at the selection start. what could be wrong? thanks in advance, fuxi |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |