Use of Scrollbars in IDE

new topic     » topic index » view thread      » older message » newer message

Happy New Year everyone.

I'm trying to put together an embroidery design program with version 3.1 and the IDE, but I'm struggling to work out how to use the scrollbars. I've read the win32lib documentation and demo files, but I'm still none the wiser as how you get the contents of the window to move as the scrollbars are moved. Presumably I have to put in some code for the on_Scroll event for both scrollbars, but I can't work out from the examples I've seen exactly what's going on.

Please could somebody explain to me what the process involves to get me started.

I thought I was doing very well up to that point, I'd managed to draw a grid on the window and draw lines with mouse clicks, save and open files, erase lines by repainting the window and all sorts of things, but the scrollbars have got me stumped!

Many thanks.

Carolyn

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu