trichview.com

trichview.support




Re: Making a selection easier


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/11/2003 22:03:09


Hello,


It's easy to select image - just left click on it (left click selects

picture

since version 1.7.10 introducing image resizing).

If image is unresizable (icon, or image from image list), it is selected

just like character - click to the left (or right) part of image and move

mouse pointer to the right (or left) part holding left mouse button pressed,

It will be selected.


There are two things indicating image state, they may be confusing.


Selection of image is indicated by rectangle having a system color of

selection (clHighlight; more exactly, it is RVStyle.SelColor), it's blue in

default Windows color scheme. This rectange appears in above mentioned

procedure. One image can be selected, or several images, or images with

text, etc. Selected images can be copied to the Clipboard.


There is another rectangle, drawn with RVStyle.HoverColor. By default, this

color is clNone and this rectange is invisible. But RichViewActions demo

have this color = clRed, and you can see red rectange around image (when

caret is to the right of it).

This rectange means that image is "current", and

GetCurrentPictureInfo/SetCurrentPictureInfo will work with it.


These rectangles can be drawn at the same time, if image is selected and

"current".



>

> Hello,

> I have a picture inserted in my RVEdit. It seems that to SELECT the

picture

> is sometimes difficult since I have to position the cursor at the

right(critical,

> perhaps?) x,y position. Selection of text is of course easy.

>

> Will it be possible to left-click(hold on) on the picture itself and make

> the picture selected. Selected means of course the rectangle drawn around

> it.

>

> Do please comment.

>

> Thanks for your kindness.







Powered by ABC Amber Outlook Express Converter