opendialog ñ funciona

Delphi

05/04/2021

Estou tentando fazer
if dlgOpen1.Execute then
begin
edt1.Text := dlgOpen1.FileName;
Image.Picture.LoadFromFile(dlgOpen1.FileName);
end;
porem ele ñ abre, em meu projeto estou utilizando dlls do sdk easyinner, não sei se pode estar dando algum bloqueio ou algo do tipo ,
gostaria de saber se teria outra forma de abrir algum arquivo pelo delphi sem utilizar o opendialog
Lucas

Lucas

Curtidas 0

Respostas

Matheus

Matheus

05/04/2021

Boa noite Lucas

Estranho. Tenta assim

if openDialog.execute() then
Begin

// seu codigo

End;
GOSTEI 0
Lucas

Lucas

05/04/2021

Boa noite Lucas

Estranho. Tenta assim

if openDialog.execute() then
Begin

// seu codigo

End;

fiz isso porem ele trava tudo o sistema
GOSTEI 0
POSTAR