Jump to content

uniImage does not stretch


erich.wanker

Recommended Posts

Hello,

 

if i create a image at runtime - and load the picture = the stretch and proportional values doesnt work

 

i Use:

 

 
   meine_bilder[1]:=TuniImage.Create(self);
   meine_bilder[1].Url:='files/navigator/skigebiet-nassfeld.jpg';
   meine_bilder[1].AutoSize:=false;
   meine_bilder[1].top:=0;
   meine_bilder[1].left:=0;
   meine_bilder[1].Width:=100;
   meine_bilder[1].Height:=70;
   meine_bilder[1].Parent:=imagepanel;


   meine_bilder[1].Proportional:=true;
   meine_bilder[1].Center:=true;
   meine_bilder[1].Stretch:=true;






   meine_bilder[1].Repaint;
   meine_bilder[1].OnClick:=bild_onclick;

i want create tumbnails of images dynamicaly  - and a big image will show the clickted tumbnail ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...