Verificar se Image está vazio
Gostaria de saber se tem como verificar se um Image está vazio, ou seja, sem nenhuma imagem e o contrário também, se existe uma figura no Image.
if Image <> vazio then
....
obrigado.
if Image <> vazio then
....
obrigado.
Anonymous
Curtidas 0
Respostas
Neo
10/02/2003
experimente utilizar dessa maneira !!!
if Assigned(Image) then
.....
....
Talves isso ajude...
if Assigned(Image) then
.....
....
Talves isso ajude...
GOSTEI 0
Anonymous
10/02/2003
Não funcionou.
GOSTEI 0
Carnette
10/02/2003
if Image1.Picture.Bitmap.Empty then ShowMessage(´Vazio´)
else ShowMessage(´Com imagem´);
else ShowMessage(´Com imagem´);
GOSTEI 0