home *** CD-ROM | disk | FTP | other *** search
- '***********************************************************************
- ' TutMain.rlz
- '
- ' Realizer User's Guide Tutorial
- '
- ' Copyright ⌐ 1991-1992 Computer Associates International, Inc.
- ' All rights reserved.
- '
- '***********************************************************************
-
- PROC formprocMain(params)
- FormSelect(formMain)
- IF params[_Invoke] = _Close THEN
- ExitTutor
- END IF
-
- SELECT CASE params[_ItemNum]
- CASE 20 'Winow styles
- FormControl(_Hide)
- FormSelect(formWinstyle)
- FormControl(_Show)
- CASE 30 'Window objects
- FormControl(_Hide)
- FormSelect(formObjects)
- FormControl(_Show)
- CASE 40 'Tools
- FormControl(_Hide)
- FormSelect(formTools)
- FormControl(_Show)
- CASE 60 'Exit
- ExitTutor
- END SELECT
- END PROC
-
- formMain = FormQUnique
- FormNew(formMain; "Realizer Interface Sampler", _Title + _Minimize + _Close + _Size + _HotClick)
- FormControl(_Size; _Center, _Center, 70 pct, 80 pct)
- FormSetObject(10, _CaptionCenter, "Welcome to the Interface Sampler", fontTitle, _Center, 2 pct)
- FormSetObject(15, _CaptionCenter, "Click on one of the following buttons:", _Center, 16 pct)
- FormSetObject(20, _Button, "Window Styles...", _Center, 30 pct, 50 pct, 12 pct)
- FormSetObject(30, _Button, "Interface Controls...", _Center, 45 pct, 50 pct, 12 pct)
- FormSetObject(40, _Button, "Realizer Application Tools...", _Center, 60 pct, 50 pct, 12 pct)
- FormSetObject(60, _Button, "Quit", _Center, 85 pct, 25 pct, 12 pct)
- FormSetProc(formprocMain)
-