home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 19
/
CD_ASCQ_19_010295.iso
/
vrac
/
paolin.zip
/
HELP
/
HELP1.SC
next >
Wrap
Text File
|
1993-05-18
|
3KB
|
83 lines
; ****************************************************************************
; TITLE: HELP1.sc
; SESSION: PAOLINI - Providing Custom Help in Paradox 4 Apps
; COPYRIGHT: (c) 1993 - Dan Paolini - DataStar International
; DESCRIPTION: Example of SPLASH SCREEN Help
; ****************************************************************************
SHOWPULLDOWN
"Beep" : "Play some Beeps" : "BEEP.NODE"
SUBMENU
"1 Beep" : "Play One Beep" : "BEEP.ONE",
"2 Beeps" : "Play Two Beeps" : "BEEP.TWO",
"3 Beep" : "Play Three Beeps" : "BEEP.THREE"
ENDSUBMENU,
"Sound" : "Play some Sounds" : "SOUND.NODE"
SUBMENU
"Siren" : "Play a High/Low Siren" : "SOUND.SIREN",
"Sound ~U~p" : "Play a Scale Up" : "SCALE.UP",
"Sound ~D~own" : "Play a Scale Down" : "SCALE.DOWN"
ENDSUBMENU,
"Quit" : "Quit this Demonstration": "QUIT.NODE"
SUBMENU
"Yes" : "Hasta la vista, Baby" : "QUIT.YES",
"No" : "I'll be back" : "QUIT.NO"
ENDSUBMENU
ENDMENU
WHILE true
DynArray y1[]
y1["Title"] = "This is the Title of Help Screen 1"
y1["HasFrame"] = False
y1["CanMove"] = False
y1["Style"] = 63
Window Create Floating @ 2,3 Height 20 Width 74 Attributes y1 To h1
Window Select h1
SetCanvas h1
Canvas OFF
@ 1,1
Style Attribute 63
Frame Single From 0,0 To 19,73
SetMargin 1
TEXT
BEEP────┐
├─1 Beep Play One Beep and return to Menu
├─2 Beeps Play Two Beeps and return to Menu
└─3 Beeps Play Three Beeps and return to Menu
SOUNDS──┐
├─Siren Play an alert Siren and wait for an Event
├─Scale Up Play three octave chromatic Scale up
└─Scale Down Play three octave chromatic Scale down
QUIT────── Quit this Help Demonstration
┌────────────────────────────────────────────────┐
│ Drawbacks: Pulldown Menus obscure screen │
│ Screen is the same for all Menus │
│ Only available while at a Menu │
└────────────────────────────────────────────────┘
ENDTEXT
PaintCanvas Attribute 48 3,27,12,72
PaintCanvas Attribute 62 3,14,10,25
PaintCanvas Border
Attribute 59 0,0,19,73
PaintCanvas Attribute 48 0,0,0,72
PaintCanvas Attribute 48 0,0,19,0
PaintCanvas Attribute 8 14,14,18,63
PaintCanvas Attribute 31 13,12,17,61
PaintCanvas Border
Attribute 25 13,12,17,61
PaintCanvas Attribute 16 13,61,17,61
PaintCanvas Attribute 16 17,13,17,61
Canvas ON
GetMenuSelection to a1
IF a1 = "QUIT.YES" THEN
QUITLOOP
ENDIF
ENDWHILE