home *** CD-ROM | disk | FTP | other *** search
- //application. newBreadboard ( )
- currentText = CurrentDemo. text ( )
- activeBreadboard. maximize ( )
- activeBreadboard. lockWindowUpdate()
-
- activeBreadboard. selectMembers ( "TextBoxEngine", False )
- activeBreadboard. select ( "excelButton" , True )
- activeBreadboard. select ( "cswButton" , True )
- activeBreadboard. select ( "helpButton" , True )
- activeBreadboard. select ( "moreButton" , True )
- activeBreadboard. deleteSelection( )
-
- activeBreadboard. setAnimatePoint ( 10 , 5 )
- activeBreadboard. stampAndMove ( "TextBoxEngine" , "titleTextBox" )
- titleTextBox. setBorderType ( 0 )
- titleTextBox. setTransparent ( TRUE )
- titleTextBox. setColor ( 0 , 0 , 255 )
- titleTextBox. setPosition ( 1 )
- titleTextBox. setPadding ( 1 )
- titleTextBox. setFontSize ( 24 )
- titleTextBox. setBold ( TRUE )
- titleTextBox. setHeight ( 25 )
- titleTextBox. setWidth ( 530 )
- titleTextBox. setMacroAction ( 1 )
- titleTextBox. setText ( currentText )
- titleTextBox. setEditModeEnabled ( FALSE )
-
- runButton. moveTo ( 550 , 5 )
- runButton. setName ( "cancelButton" )
- cancelButton. setText ( "╫" )
- cancelButton. setFontSize ( 28 )
- cancelButton. setColor ( 0 , 0 , 0 )
- cancelButton. setPadding ( 0 )
- cancelButton. setAutosize ( FALSE )
- cancelButton. setWidth ( 26 )
- cancelButton. setHeight ( 24 )
- cancelButton. setPosition ( 1 )
- cancelButton. setBold ( TRUE )
- cancelButton. setItalic ( FALSE )
- cancelPath = macro. pathFromMacro ( "OnConclude.nsm" )
- cancelButton. setMacroPath ( cancelPath )
-
- activeBreadboard. setAnimatePoint ( 580 , 5 )
- activeBreadboard. stampAndMove ( "ButtonEngine" , "nextButton" )
- nextButton. setMacroAction ( 1 )
- nextButton. setAutosize ( FALSE )
- nextButton. setPosition ( 1 )
- nextButton. setPadding ( 0 )
- nextButton. setFontSize ( 22 )
- nextButton. setBold ( TRUE )
- nextButton. setColor ( 255 , 0 , 0 )
- nextButton. setText ("╗")
- nextButton. setWidth ( 26 )
- nextButton. setHeight ( 24 )
- nextButton. setEditModeEnabled ( FALSE )
-
- activeBreadboard. setAnimatePoint ( 10 ,30 )
- activeBreadboard. stampAndMove ( "TextBoxEngine" , "subtitleTextBox" )
- subtitleTextBox. setBorderType ( 0 )
- subtitleTextBox. setTransparent ( TRUE )
- subtitleTextBox. setColor ( 0 , 0 , 255 )
- subtitleTextBox. setPosition ( 0 )
- subtitleTextBox. setPadding ( 1 )
- subtitleTextBox. setFontSize ( 18 )
- subtitleTextBox. setItalic ( TRUE )
- subtitleTextBox. setHeight ( 20 )
- subtitleTextBox. setWidth ( 590 )
- subtitleTextBox. setMacroAction ( 1 )
- subtitleTextBox. setEditModeEnabled ( FALSE )
-
- activeBreadboard. setAnimatePoint ( 10 ,50 )
- activeBreadboard. stampAndMove ( "TextBoxEngine" , "mainTextBox" )
- mainTextBox. setBorderType ( 0 )
- mainTextBox. setTransparent ( TRUE )
- mainTextBox. setPosition ( 0 )
- mainTextBox. setPadding ( 1 )
- mainTextBox. setFontSize ( 18 )
- mainTextBox. setHeight ( 125 )
- mainTextBox. setWidth ( 590 )
- mainTextBox. setMacroAction ( 1 )
- mainTextBox. setEditModeEnabled ( FALSE )
-
- runPath = macro. pathFromMacro ( currentText )
- fullPath = macro. strcat ( runPath, "\Introduction.nsm" )
- activeBreadboard. runMacro ( fullPath )
-