Page 1 of 1

Wich Text is marked?

PostPosted: Sun Jul 25, 2004 3:54 am
by Schneppi
Hello.

Is there a way to check which signs (part) of a text is marked in a text entry box?

I would like to make a text entry field where the user can mark a part of this text. The Pub will have to know which part is marked so that it can perform actions just on this marked portion of the text entry field.

Thank you.

(Edited by Schneppi at 12:55 pm on July 25, 2004)

Wich Text is marked?

PostPosted: Sun Jul 25, 2004 5:21 am
by Gaev
Schneppi:

Look in the Help file for ... GetObjectInfo "object name" "info type" "variable"


... Info type may be one of the following keywords: Visible, Enabled, Left, Top, Width, Height, FileName, SelectedText, CursorPosition, ImageWidth, ImageHeight, MediaLength



... SelectedText and CursorPosition are relevant to what you want to do.



(Edited by gk51 at 8:22 am on July 25, 2004)

Wich Text is marked?

PostPosted: Sun Jul 25, 2004 4:24 pm
by Schneppi
Quote: from gk51 on 2:21 pm on July 25, 2004
SelectedText, CursorPosition, ...

... SelectedText and CursorPosition are relevant to what you want to do.



(Edited by gk51 at 8:22 am on July 25, 2004)


Thank you gk51.
You are right, this is exactly what i wanted :)

(Edited by Schneppi at 1:25 am on July 26, 2004)