erich.wanker Posted February 10, 2016 Posted February 10, 2016 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 ... Quote
erich.wanker Posted February 10, 2016 Author Posted February 10, 2016 if i comment out : //meine_bilder[1].Proportional:=true; //meine_bilder[1].Center:=true; then the stretch-function works .... Quote
Administrators Farshad Mohajeri Posted February 10, 2016 Administrators Posted February 10, 2016 meine_bilder[1].Url:='files/navigator/skigebiet-nassfeld.jpg'; Hi, Not all sizing properties will work when images are loaded from a Url. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.