Hi all,
Suppose I have a variable: img : TImage;.
Then, at the onCreate of the form I do the following:
I get no errors, but still, the image isn't active.
(ie. not shown).
If I check its properties, all values seem normal. Checking the visible and enabled property returns true for both.
Changing the cursor doesn't change a thing either.
Is there something else I should do to active the image, that I'm missing now?
Gtz,
Kristof
Suppose I have a variable: img : TImage;.
Then, at the onCreate of the form I do the following:
Code:
img := TImage.Create;
img.autosize := true;
img.Picture.LoadFromFile('someBMP.bmp');
I get no errors, but still, the image isn't active.
(ie. not shown).
If I check its properties, all values seem normal. Checking the visible and enabled property returns true for both.
Changing the cursor doesn't change a thing either.
Is there something else I should do to active the image, that I'm missing now?
Gtz,
Kristof