|
Post by davidk64 on Aug 8, 2022 6:01:36 GMT
loadbmp "adjustSpellsBMP", "adjustSpells.bmp"
WindowWidth = 310 WindowHeight = 280
graphicbox #adjustSpells.graphicBox, 140, 20, 145, 210
open "test" for dialog_modal as #adjustSpells bmpName$ = "adjustSpellsBMP" #adjustSpells.graphicBox "drawbmp "; bmpName$; " 0 0"
wait
This code works for me in debug mode but in run mode doesn't load the bitmap.
Any ideas please?
|
|
|
Post by Rod on Aug 8, 2022 7:01:37 GMT
You forgot the DOWN command. The graphics pen needs to be down for any graphics to show.
|
|
|
Post by davidk64 on Aug 8, 2022 7:56:56 GMT
Oh my!!!
I've read about people forgetting the down command but it never occurred to me it would be an issue for drawing a bitmap. I wonder why it works in debug mode?
Thanks a million Rod
|
|