Position PRIM_IMAG component programmatically
Posted: Sun Jul 13, 2025 5:48 pm
I have a routine like the following, but I'm trying to position the Image dynamically (the literal Left/Top assignments are just a sample) -
Mthroutine Name(RevealImage)
#Image.Left := 220
#Image.Top := 35
#Image.DisplayPosition := 1
#Image.FadeIn Delay(0) Duration(300)
#Image.Visible := True
#Image.FadeOut Delay(2000) Duration(1000) Visible(False)
#Image.Visible := False
#Image.Top := 0
#Image.Left := 0
#Image.DisplayPosition := 3
Endroutine
---ooo---
FadeIn/FadeOut is working fine, however the Left/Top positioning is not .. Instead the image is always positioned at [0,0] when it fades in/out.
What am I missing here?
Regards, Anthony.
Mthroutine Name(RevealImage)
#Image.Left := 220
#Image.Top := 35
#Image.DisplayPosition := 1
#Image.FadeIn Delay(0) Duration(300)
#Image.Visible := True
#Image.FadeOut Delay(2000) Duration(1000) Visible(False)
#Image.Visible := False
#Image.Top := 0
#Image.Left := 0
#Image.DisplayPosition := 3
Endroutine
---ooo---
FadeIn/FadeOut is working fine, however the Left/Top positioning is not .. Instead the image is always positioned at [0,0] when it fades in/out.
What am I missing here?
Regards, Anthony.