Pop Up Buttons BEGIN NODE CONTENTS Text: Here's a pop up button with 3 entries: Text: A button ButtonData: Poppy1 Class: PopUpButton Menu: ( (Event1 "First Item" "Sends Event1 to application") ((Event2 Arg2) "Second Item" "Sends Event2 to application") ((Event3 ) "Third Item" "Sends Event3 to application") ) MessageHandler: MessageWindow Feedback: ( (MouseMoved ) ) Postfix: 1.0 outlineBoxBearoff 1.0 outlineBoxThickness Text: . PROPERTIES Comment: FALSE Format: block END NODE Two State Buttons BEGIN NODE CONTENTS Text: Here's a two state button: Text: A TwoStateButton Postfix: 1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonData: Poppy1 Class: TwoStateButton Name: George Variables: (Value: BOOL=FALSE) UpClickMessage: Feedback: ( ((Red Down) (StartButton ClearLooks 2 ApplyLook EndButton)) (Up ) ((Value TRUE) (StartButton ClearLooks 1 ApplyLook EndButton)) ((Value FALSE) (StartButton ClearLooks EndButton)) (MouseMoved ) ) MessageHandler: (Default MessageWindow) Text: . PROPERTIES Comment: FALSE Format: block END NODE Multiple State Buttons This button cycles through plain, bold, and large: BEGIN NODE CONTENTS Text: An EnumeratedTypeButton Postfix: 1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonData: Poppy1 Class: MultiStateButton Name: Fred Variables: (Value: {Plain, Bold, Greek}=Plain) UpClickMessage: Feedback: ( ((Red Down) (StartButton ClearLooks 2 ApplyLook EndButton)) ((Value Plain) (StartButton ClearLooks EndButton)) ((Value Bold) (StartButton ClearLooks 1 ApplyLook EndButton)) ((Value Greek) (StartButton ClearLooks 11 ApplyLook EndButton)) (MouseMoved ) ) MessageHandler: (Default MessageWindow) Text: . PROPERTIES Comment: FALSE Format: block END NODE Radio Buttons BEGIN NODE CONTENTS Text: Grapefruit Postfix: 1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonData: Poppy1 Class: RadioButton Name: Fruit RadioButtonValue: Grapefruit Variables: (State: BOOL=FALSE) UpClickMessage: (Grapefruit On) Feedback: ( ((State TRUE) (StartButton 1 ApplyLook EndButton)) ((State FALSE) (StartButton 1 RemoveLook EndButton)) (MouseMoved ) ) MessageHandler: (Default MessageWindow) Text: . . . Text: Banana LOOKS(j) Postfix: 1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonData: Poppy1 Class: RadioButton Name: Fruit RadioButtonValue: Banana Variables: (State: BOOL=FALSE) UpClickMessage: (Banana On) Feedback: ( ((State TRUE) (StartButton 1 ApplyLook EndButton)) ((State FALSE) (StartButton 1 RemoveLook EndButton)) (MouseMoved ) ) MessageHandler: (Default MessageWindow) Text: . . . Text: Apple Postfix: 1.0 outlineBoxBearoff 1.0 outlineBoxThickness ButtonData: Poppy1 Class: RadioButton Name: Fruit RadioButtonValue: Apple Variables: (State: BOOL=FALSE) UpClickMessage: (Apple On) Feedback: ( ((State TRUE) (StartButton 1 ApplyLook EndButton)) ((State FALSE) (StartButton 1 RemoveLook EndButton)) (MouseMoved ) ) MessageHandler: (Default MessageWindow) PROPERTIES Comment: FALSE Format: block END NODE F PoppyExamples.tioga Goodisman, August 15, 1989 4:01:37 pm PDT Κƒ•NewlineDelimiter –(cedardoc) style™ largecenteršœ™Icode™)—head˜šΠbk ˜ š˜LšΟnœΟo'˜-šžœŸ˜Lšž œ―˜ΉLšžœ/˜6—LšžœŸ˜—š ˜ Lšžœ˜Lšžœ˜ —Lš˜——˜š ˜ š˜LšžœŸ˜!šžœŸ˜Lšžœ/˜6Lšž œΏ˜Ι—LšžœŸ˜—š ˜ Lšžœ˜Lšžœ˜ —Lš˜——˜Iblock˜2š ˜ š˜šžœŸ˜Lšžœ/˜6Lšž œ³žœœΡ˜£—LšžœŸ˜—š ˜ Lšžœ˜Lšžœ˜ —Lš˜——˜ š ˜ š˜šžœŸ ˜Lšžœ/˜6Lšž œƒœΔ˜Ρ—LšžœŸ˜ šžœŸ˜ Lšœ˜Lšžœ/˜6Lšž œ:Ÿœ1ŸœœΔ˜Ι—LšžœŸ˜ šžœŸ˜ Lšžœ/˜6Lšž œ:Ÿœ1ŸœœΑ˜Δ——š ˜ Lšžœ˜Lšžœ˜ —Lš˜—Icenter˜ —J˜—…— ~G