I'm a beginner to Dabo and programming in general, so I have no idea 
what's happening here. Basically, I have a window displaying a dBitmap 
control on the left to be manipulated, and some controls on the right. 
This screenshot shows the state of the window before pressing the "Run" 
button, as well as the code that is executed upon hitting the button:

http://img198.imageshack.us/img198/2914/beforeix.png

At this point the only effect of the button should be to track whether 
it is 'running' or 'paused,' and to change the caption of the button to 
reflect this toggling between states.

The toggling behavior works, but with an undesired side effect of 
erasing most of the bitmap:

http://img59.imageshack.us/img59/7015/afters.png

Attempting to refresh() or redraw() the dBitmap after the button press 
has no effect. I notice that the bitmap below the button remains 
visible, so I imagine this is a clue. bringToFront() or sendToBack() 
don't make any difference.

Any idea what's causing this, if there's a simple fix, or will I have to 
rebuild the bitmap every time this happens?

Thanks,
Adam

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to