Re: Spreadsheet Control

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

>From: "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV>
>
>Someone was asking for information on how to create a spreadsheet-type of
>control, so here's a small demo. Basically, it creates a hidden control
>(drawn off the window) that traps key events. Two real scrollbars are
>created; notice that they set the focus back to the hidden grid control
>after scrolling. Note that it uses the onMouse and onPaint traps of the
>parent window.
>
>I redefined White in Win32Lib as:
>
>    White = rgb( 192, 192, 192 )
>
>since it's incorrectly defined. It should use system colors instead.
>
>There are a lot of features that could be added: double buffering, key
>handling, using real system colors, selecting rows/columns, resizing
>columns, more navigation keys, center the labels... the list goes on and
>on.
>If people are interested, I could develop it more (unless someone else
>wants
>to take it on).
>
I'm interested!  I don't have the know-how to take it over, but I've wished
several times that there was such a thing.

Thanks,

Ben
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu