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
 TImageEnMView with shared bitmaps

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
spetric Posted - Dec 18 2013 : 02:47:22
I'm using TImageEnMView component to show current layers.
When MView thumbnail (layer) is clicked, actual layer is selected.

However, any change (drawing) on selected layer (bitmap) is not reflected on the thumbnail, because MView works with internal bitmaps (no matter which StoreType is selected).

Is there a possibility to set MView to work in "shared" mode, so that MView item points to actual layer (IEBitmap)?

I'm still working with ImageEn ver.3.0.2, so I don't know if such possibility exists in newer versions.
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 23 2013 : 22:41:50
Hi

Yes, I see what you are trying to do, but I don't think it would be possible.

You can test this by setting the external bitmap of each of your view images as follows

QuasiMView.ImageEnView[ I ].SetExternalBitmap( ImageEnView1.Layers[ I ].Bitmap);


Selection boxes are not shown if no mouse selection method is specified.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Dec 19 2013 : 06:44:27
I do not think that s possible with the current version, but maybe Nigel will have an idea.

William Miller
spetric Posted - Dec 19 2013 : 05:26:53
Thanks.

However, I've already written a class inherited from TMS advscrollbox and call it TQuasiMView. It contains panels with small ImageEnViews (created in runtime with AddImage method). ImageEnView has method SetExternalBitmap which is just what I need.

Now, I don't need to reload layers into MView, simple refresh is enough.
It looks like ImageEnMView, so I called it QuasiMView:



Another question, regarding layers, actually VisibleBox property.
Setting: PaintView->Layers[PaintView->LayersCurrent]->VisibleBox = true;
does not show Box if MouseInteract is empty.

When MouseInteract contains something (for example miMoveLayers), box is shown.

What I need is a possibility to show box around layer without adding elements to MouseInteract. Is it possible?

xequte Posted - Dec 19 2013 : 01:29:03
Hi

It is not possible in yours or a newer version, however you can simply use a TTimer to perform a delayed update of the MView whenever the layer is changed (and update the relevant image of the grid).

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com