Then, i have read this:
[quote="Help for "Dialog""]Image
ImageFile/Data,Left,Top,Width,Height[,name[,result]]
Optional name means images can be changed at run time, e.g.: Let>DialogName.Name=filename.bmp
[/quote]
i have tried this simple code but it dont change the image. How do "optional name" works ?
Code: Select all
Dialog>dialog
Caption=Capture
Width=410
Height=490
Top=CENTER
Left=CENTER
Image=bitmap.bmp,0,0,400,400,name
EndDialog>dialog
Let>k=0
label>loop
add>k,1
Let>dialog.name=%SCRIPT_DIR%\capture%k%.bmp
show>dialog
messagemodal>continue
goto>loop