home *** CD-ROM | disk | FTP | other *** search
- !ScalaScript
- {
- Sequence:
- :"SubScript"
- {
- Group:
- BoxX.1=139;
- BoxY.1=200;
- BoxX.2=0;
- BoxY.2=0;
- BoxX=BoxX.1;
- BoxY=BoxY.1;
- BoxW=360;
- BoxH=160;
- Descr="Click a button to get information about it!";
- Display(Size(640,480),Face(RGB(170)),UserPalette(RGBPen(1,0,16777215,12632256,5592405,8553090,11184810,10066329)));
- Clip(0,390,"scala:\help\graphics\namepage.gif",transparent(off));
- pagename="Design menu OK dialog";
- pagedescr="Allows you to name or rename the current page.";
- Button(Normal(Box(620,390,19,25,Style(Norm))),Highlight(Box(620,390,19,25,Style(High))),Select(Box(620,390,19,25,Style(Sel)),Use(infobutton)));
- Button(Normal(Box(4,420,632,25,Style(Norm))),Highlight(Box(4,420,632,25,Style(High))),Select(Box(4,420,632,25,Style(Sel)),Use(nametext)));
- Button(Normal(Box(428,450,101,25,Style(Norm))),Highlight(Box(428,450,101,25,Style(High))),Select(Box(428,450,101,25,Style(Sel)),Use(okbutton)));
- Button(Normal(Box(534,450,101,25,Style(Norm))),Highlight(Box(534,450,101,25,Style(High))),Select(Box(534,450,101,25,Style(Sel)),Use(cancelbutton)));
- Wait();
- Sequence:
- Use(SetUp);
- Use(DrawBox);
- Resources:
- :infobutton
- {
- title="Information button";
- text[1]="Switches Scala into Help mode. ";
- descr=text[1];
- block=1;
- max=1;
- Use(SetPos);
- }
- :nametext
- {
- title="Name: text";
- text[1]="Changes the page name.";
- descr=text[1];
- block=1;
- max=1;
- Use(SetPos);
- }
- :okbutton
- {
- title="OK";
- text[1]="Accepts changes and proceeds to the Main menu.";
- descr=text[1];
- block=1;
- max=1;
- Use(SetPos);
- }
- :cancelbutton
- {
- title="Cancel";
- text[1]="Returns to the Design menu without applying changes.";
- descr=text[1];
- block=1;
- max=1;
- Use(SetPos);
- }
- }
- Resources:
- }
-