trichview.com

trichview.support




Re: Making Inserted Component Selected


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/12/2003 21:22:12


Use SelectControl method (added in v1.7.10)

If you turn on resizing for this control (call

SetCurrentItemExtraIntProperty(rvepResizable, 1, False) immediately after

inserting this control) user will be able to resize it with mouse.


>

> Hi,

> I have inserted a Timage(with a picture loaded into it)into an RVEdit.

> ======================

> procedure TForm1.FormCreate(Sender: TObject);

> var ti : timage;

> begin

>  ti := Timage.Create(self);

>  ti.picture.LoadFromFile('c:\mickey.bmp');

>  rvEdit1.insertcontrol('',ti,rvvaBaseline);

> end;

> =========================

> If I click on the inserted component , I want to MAKE IT SELECTED(with the

> hover/selected rectangle around it). I seems to be able to select an

inserted

> component only by left clicking on a certain defined area(on the edges).

> That is why I want to be able to click on the component face area and make

> it selected.

>






Powered by ABC Amber Outlook Express Converter