Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

multiple

set [the] multiple to trueOrFalse

The multiple property returns or sets whether HyperCard draws multiple images when the user (or a handler) drags with a Paint tool. It corresponds to the Draw Multiple command in the Options menu (which appears when you select a Paint tool).

The multiSpace property affects the number of multiple shapes drawn.

The multiple property affects the Line, Rectangle, Rounded Rectangle, Oval, and Regular Polygon tools. Its default value is false.


Examples

set the multiple to true

Demo Script

on multipleDemo
  setUpPaint
  set multiple to false
  set dragspeed to 150
  drag from "240,150" to "290,230"
  set multiple to true
  drag from "240,150" to "290,230"
  wait 25
  domenu "revert"
  choose browse tool
end multipleDemo
on setUpPaint
  set lineSize to 2
  choose regular polygon tool
  set polysides to 4
  show card picture
  set centered to true
  set filled to false
  set grid to false
  set multiSpace to 5
end setUpPaint

Placeholders

trueOrFalse
Any 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"


Related Topics

« messageWatcher | HyperTalk Reference | multipleLines »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

multiple

set [the] multiple to trueOrFalse

The multiple property returns or sets whether HyperCard draws multiple images when the user (or a handler) drags with a Paint tool. It corresponds to the Draw Multiple command in the Options menu (which appears when you select a Paint tool).

The multiSpace property affects the number of multiple shapes drawn.

The multiple property affects the Line, Rectangle, Rounded Rectangle, Oval, and Regular Polygon tools. Its default value is false.


Examples

set the multiple to true

Demo Script

on multipleDemo
  setUpPaint
  set multiple to false
  set dragspeed to 150
  drag from "240,150" to "290,230"
  set multiple to true
  drag from "240,150" to "290,230"
  wait 25
  domenu "revert"
  choose browse tool
end multipleDemo
on setUpPaint
  set lineSize to 2
  choose regular polygon tool
  set polysides to 4
  show card picture
  set centered to true
  set filled to false
  set grid to false
  set multiSpace to 5
end setUpPaint

Placeholders

trueOrFalse
Any 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"


Related Topics

« messageWatcher | HyperTalk Reference | multipleLines »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View