BBS: Inland Empire Archive Date: 06-06-92 (13:42) Number: 75 From: MIKE THAYER Refer#: NONE To: DANIEL CORBIER Recvd: NO Subj: VGA Pull Down Menus Conf: (2) Quik_Bas
On 05-31-92 Daniel Corbier wrote to Mike Thayer...
DC> MT> I'm writing an Icon based program for EGA/VGA. In order to
DC>
DC> Icon = (Ymouse \ Ysize) + (Xmouse \ Xsize) * IconsPerColumn + 1
DC>
DC> Select Case Icon
DC>
DC> Case 1 '**** Routine for first icon ****
DC> ......
DC> Case 2 '**** Routine for second icon ****
DC> ......
DC>
DC> .
DC> .
DC> .
DC> Case 24 '**** Routine for 24'th icon ****
DC> ......
DC> End Select
Thanks for the formula! That is certanly a BIG help! It makes
everything a lot easier. I think it will work wonders for some smaller
routines that I will be doing, but someone else just laid a bombshell
in my mail and until I figure THAT out, I'm going to adopt your routine.
Thanks a million! (I'll let you know how it works out!)
... OFFLINE 1.36 * Lost: One witty Tagline saying. Inquire within.
--- Maximus 2.01wb
* Origin: Programmers do it in code. (1:271/29)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET