ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Is there a mouse-selection grip size?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
BionicWave Posted - Aug 08 2018 : 11:50:52
If i have several objects on an image and i click with my mouse in an empty spot on the image (a spot without objects underneath), i want to have nothing selected. And if there was something selected previously, everything should be deselected unless i click directly on an object.

How can i achieve that? I know it is easy, but for the sake of it i canīt find the parameter.


Thanks guys
6   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Aug 10 2018 : 12:53:36
Also see TImageEnVect vs TIELayers topic in the on-line help file.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
w2m Posted - Aug 10 2018 : 12:46:52
If you use layers then you can set the size of the layers grips:
TImageEnView.SetLayersGripStyle

Declaration

procedure SetLayersGripStyle(GripColor1, GripColor2: TColor; GripBrushStyle: TBrushStyle; GripSize: Integer; Shape: TIEGripShape);

Description

SetLayersGripStyle determines the appearance of layers grips.

Parameter Description
GripColor1 grip border color
GripColor2 grip brush color
GripBrushStyle brush style
GripSize size in pixels of the grip
Shape specifies the grip shape

Example

ImageEnView1.SetLayersGripStyle(clWhite, clWhite, bsSolid, 5, iegsCircle);



With TImageEnVect you can set the objects grip size:

TImageEnVect.ObjGripSize

Declaration

property ObjGripSize: integer;

Description

Specifies the grip's size as shown when an object is selected.


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
w2m Posted - Aug 09 2018 : 14:36:58
TImageEnView does not support objects... only TImageEnVect supports objects. If you own version 8.0x of ImageEn then you can use the new layers class (TIELayer)as an "object layer".

TIELayers in verision 8.0x supports "if there was something selected previously, everything should be deselected unless I click directly on an object." but with layers the "object" can be an image, a line, a polyline, or a shape.

This new TIELayer class is much more functional with TImageEnView than the older TImageEnVect. I recommend you obtain the laatest version and then read about layers in the help file.


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
BionicWave Posted - Aug 09 2018 : 06:56:56
...and iīm using the objects.
BionicWave Posted - Aug 09 2018 : 05:40:32
I guess i could use a TImageEnVect but I would prefer to use the TImageEnView component if possible.
xequte Posted - Aug 09 2018 : 03:11:55
Hi

Are you referring to TImageEnView Layers or TImageEnVect Objects?

Nigel
Xequte Software
www.imageen.com