Autor Beitrag
kiwicht
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1021

Win 7, MacOS
Delphi x, VBA, PHP, ...
BeitragVerfasst: Mi 12.02.03 10:01 
... like a magnifying glass...

aber ich kriegs nicht...

folgendes: datenbank, darin der Pfad zu einem Bild, wird bei Programm-Start in ein TImage geladen. Per Tastendruck soll sich dieses dann vergrößern / verkleinern.

Habs jetzt schon mit
ausblenden Quelltext
1:
Inc(Image.Height,10);					

und
ausblenden Quelltext
1:
Image.Height := Image.Height + 10;					

probiert.... klappt aber nicht.. weiß einer warum?

Moderiert von user profile iconTino: Code-Tags hinzugefügt.
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mi 12.02.03 11:20 
Hallo,

warscheinlich hast du die Eigenschaft Strech nicht auf TRUE gesetzt.

Gruß
Klabautermann
kiwicht Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1021

Win 7, MacOS
Delphi x, VBA, PHP, ...
BeitragVerfasst: Mi 12.02.03 13:50 
hmm.. danke, stimmt. hab ich jetzt auf True, aber das klappt dann immer noch nicht... :(
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Mi 12.02.03 14:32 
Hi,

hast du bei dem Image eventuell was bei Align eingestellt?? (Ausser alNone)

Au'revoir,
Aya

_________________
Aya
I aim for my endless dreams and I know they will come true!
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mi 12.02.03 14:34 
Hmm,

dann müssen wir wohl mal ein wenig ins Detail gehen ;).

Willst du das sich das Komplette Image vergößert wird oder willst du, dass ein Ausschnit des Images auf die (unveränderte) Imagegröße gedehn wird?

Wenn du magst kannst du mit ja mal dein Programm zumailen, dann gucke ich es mir heute abend einmal an.

Gruß
Klabautermann
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Mi 12.02.03 14:39 
Klabautermann hat folgendes geschrieben:
Wenn du magst kannst du mit ja mal dein Programm zumailen, dann gucke ich es mir heute abend einmal an.

Mir auch, mir auuuuch~~~ :wink2:

_________________
Aya
I aim for my endless dreams and I know they will come true!
kiwicht Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1021

Win 7, MacOS
Delphi x, VBA, PHP, ...
BeitragVerfasst: Mi 12.02.03 14:46 
hmm... ok, ich gebe zu, der fehler ist einleuchtend.... und zwar lags daran:
Aya hat folgendes geschrieben:
Hi,

hast du bei dem Image eventuell was bei Align eingestellt?? (Ausser alNone)

Au'revoir,
Aya

bei mir ist align: Client, hab das image nämlich noch in einer ScrollBox.... :shock:

vielen Dank für eure Mühen!
mfg
kiwicht
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Mi 12.02.03 14:49 
Heißt das jetzt du brauchst keine Hilfe mehr? user defined image

_________________
Aya
I aim for my endless dreams and I know they will come true!
kiwicht Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1021

Win 7, MacOS
Delphi x, VBA, PHP, ...
BeitragVerfasst: Do 13.02.03 09:03 
hm, dieses Angebot werd ich natürlich nicht ausschlagen:

Ich kann jetzt zwar das Bild wie oben beschrieben vergrößern, aber nur in Richtung der y-Achse. Und nur bis zu einer bestimmten Größe, ich hab die Vermutung das meine Routine nur den reinen Behälter, als die TImage-Kompo vergrößert.
Kann ich die Bitmap (respektive Jpeg) nicht direkt ansprechen zur Vergößerung?

vielen Dank
mfG
kiwicht
alexschultze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 317



BeitragVerfasst: Di 18.02.03 12:18 
Titel: ---
Hey, das klingt echt gut. Wenn das übersetzt heißt:
Das Image in seinen Maßen lassen und nur das Bild darin skalieren.

Würde mich echt interessieren!

_________________
Von allen Dingen die ich verloren habe trauere ich meinem Verstand am meisten nach.
kiwicht Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1021

Win 7, MacOS
Delphi x, VBA, PHP, ...
BeitragVerfasst: Mi 26.02.03 00:46 
hm, naja, das hätte ich als Möglichkeit angesehen. Mir wär es natürlich auch sehr recht, wenn ich die ganze Image-Komponente skaliere, da diese ja in einer ScrollBox liegt... aber es geeeht nicht... *snif*.... hilfe :roll:
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mi 26.02.03 12:47 
Titel: Re: ---
alexschultze hat folgendes geschrieben:
Hey, das klingt echt gut. Wenn das übersetzt heißt:
Das Image in seinen Maßen lassen und nur das Bild darin skalieren.

Würde mich echt interessieren!


schau dir mal copyrect an...