 |
THE HYPERCARD CENTER |
|
|
Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
filledset [the] filled to trueOrFalse
The filled property returns or sets whether HyperCard fills shapes with the current pattern on the Patterns palette as you draw them. It corresponds to the Filled command in the Options menu (which appears when you select a Paint tool). The default value is false . The filled property affects the Rectangle, Rounded Rectangle, Oval, Curve, Regular Polygon, and Polygon tools. Examplesset the filled to true
Demo Scripton mouseUp show bkgnd field "demo field" paintSetUp set filled to false choose rect tool displayMessage "Painting an UNFILLED shape:" drag from 180,100 to 300,220 wait 2 seconds set filled to true choose oval tool displayMessage "Painting a FILLED shape:" drag from 180,100 to 300,220 wait 1 second doMenu "Revert" hide bkgnd field "demo field" choose browse tool end mouseUp on paintSetUp show card pict set the dragSpeed to 125 set the grid to false set the linesize to 2 set the pattern to 33 set the centered to false end paintSetUp
Related Topics Placeholders
trueOrFalseAny expression that evaluates to the HyperTalk and AppleScript constants true or false . For example: true false the hilite of bg btn "Yes" fld "Zip" contains "95014" the short name of this stack is "Fred"
HyperTalk Reference
|