| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | spreadsheets |
Hi, Paul. PE> FM> As for programming these things, well a basic spreadsheet PE>implementation PE> FM> isn't that difficult - Borland actually include a reasonably PE> FM> comprehensive one as example code with the Turbo Pascal compiler. Of PE> FM> course if you want a flash GUI and all the stuff that Excel or Quattro PE> FM> for Win have, that's a lot harder. I know, I've done it. PE>Assuming you were writing under something like Windows, how PE>would you handle the fact that the cells can be increased in PE>size by the user? That means you can't define a whole lot of PE>input cells, which I believe you could do if they were of PE>fixed size. BFN. Paul. In one of them I was doing Windows, but it was just a spreadsheet-like thing to give the user a place to put some info and a couple of straightforward calculations if he wanted (from memory). I didn't implement any fancy cell-resizing stuff, just defined a whole lot of cells as you mention. To do what you're thinking, I guess I'd make Height an attribute of an array of Rows, since the height will be the same for all cells in the row (and the width the same for all cells in a column) and leave it up to the display routine to put it on the screen (the wm_Paint message in Windows). IOW, the display-related stuff is totally separate from the storage of the cell contents (& other cell-related attributes like format). Regards, FIM. * * Cross-eyed teachers can't control their pupils. @EOT: ---* Origin: Pedants Inc. (3:711/934.24) SEEN-BY: 690/718 711/809 934 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.