Search the Community
Showing results for tags 'tw3image'.
Found 3 results
I have a TW3Scrollbox on my layout. On the scrollbox I have a TW3Image, which I am trying to place below a label (fDates) and center it in the Scrollbox. The images is 150 X 150. I can't seem to get the image to display in the correct position using setbounds. Its always off to the right. when I use showmessages to display the image width and height, those are off too. How do I get the image to be sized 150 X 150 and center in the scrollbox? procedure TfrmNavigation.ResizeContent; begin fImage.SetBounds((fScrollBox.Content.clientWidth div 2)-75, fDates.Top + fDates.Height, (fScrollBox.Content.clientWidth div 2)+75, fDates.Top + fDates.Height + 150); end; procedure TfrmNavigation.Resize; begin inherited; if assigned(FLayout) then begin FLayout.Resize(self); ResizeContent; end; end;
Hi, I put a tw3Image on form and I can move it via form's mouse events. But I can't do that after loading an image via loadfromurl. Mouse cursor turn into crno and not allowed me to move the object. is this a bug or am I missing somethings?
bilcan posted a topic in GraphicsHi, I'd like to copy an Image's any part to another Image but I can't reach canvas of the picture and I don't know how to copy back canvas to another Image. thank you.