|
Contents | Previous | Next | Subchapters |
| Syntax |
addcontrol(caption, geometry, "bitmap", file) |
| See Also | addlabel |
clear
#
Caption = "Test Dialog"
geometry = [100, 100, 100, 100]
callback = "delwin(Caption);"
adddialog(Caption, geometry, callback);
#
geometry = [50 - 16, 10, 32, 32]
file = "c:\windows\cars.bmp"
addcontrol(Caption, geometry, "bitmap", file);
#
geometry = [50 - 25, 50, 50, 20]
name = "Done"
callback = "delwin(Caption);"
addcontrol(Caption, geometry, "pushbutton", name, callback);