Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : DBT123S.ZIP
Filename : CLOSET.PRG

 
Output of file : CLOSET.PRG contained in archive : DBT123S.ZIP
* CLOSET.PRG - Skeletons in my closet
* Skeleton code for pulldown menu system
* (c) 1990 BERNATH COMPUTER
* 07/20/1990

* This code segment acts as a skelton for you to "flesh out" to produce
* your own pulldown menu system. You'll need to change the menu item
* text, colors, coordinates, the number of menu items, routines to call,
* etc, as desired.
* This code segment will not execute as shown, but acts as a guide.



mNUMHORZ=4 && put # of horizontal menu items here
EXITNOW=.F.
HCHOICE=1
VCHOICE=0
mHKPROC="HKMAIN" && name of hotkey processor

DO WHILE .NOT. EXITNOW
DO DRAWBG && a routine to create a backdrop. See below
VCHOICE=0
mMENUSTR="9,Y,"+STR(HCHOICE,2)+",1,2,14,1,15,0, 1. HMENU option 1 , 2. HMENU option 2 , 3. HMENU option 3 , QUIT ,@"
CALL DBTOOLS WITH mMENUSTR
HCHOICE=VAL(mMENUSTR)
DO CASE
CASE HCHOICE=1 && --------HMENU Option 1------------------
VCHOICE = 1
* Code for popup menu off of HMENU first option:
DO WHILE VCHOICE<>0
CALL DBTOOLS WITH "21,13,2,5,6,20,1,7,1,1"
mPARM="20,Y,"+STR(VCHOICE,2)+",13,15,0,2,First choice,Second choice,Third choice,@" mPARM="20,Y,"+STR(VCHOICE,2)+",13,15,0,2,First choice,Second choice,Third choice,@"
CALL DBTOOLS WITH mPARM
VCHOICE=VAL(mPARM)
DO CASE
CASE VCHOICE=1
* Put DO program to call when option 1 selected
CASE VCHOICE=2
* DO

  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : DBT123S.ZIP
Filename : CLOSET.PRG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/