trichview.support
Making Inserted Component Selected |
Author |
Message |
Allen |
Posted: 04/12/2003 17:05:39 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.
Do please give me as simple as possible codes to achieve this. Alternative techniques will be very much appreciated but the image must be contained in the TImage. Thanks. |
Powered by ABC Amber Outlook Express Converter