home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!mcsun!sunic!psinntp!psinntp!isc-newsserver!ritvax.isc.rit.edu!CAD0410
- From: cad0410@ritvax.isc.rit.edu (Cecelia A. Dorn)
- Subject: Re: Changing Font of Button?
- Message-ID: <1992Aug17.164624.22860@ultb.isc.rit.edu>
- Sender: news@ultb.isc.rit.edu (USENET News System)
- Nntp-Posting-Host: vaxd.isc.rit.edu
- Reply-To: cad0410@ritvax.isc.rit.edu
- Organization: Rochester Institute of Technology
- References: <Bt05Mt.GrG@usenet.ucs.indiana.edu>,<jpugh-160892231941@90.20.3.200>
- Distribution: comp.sys.mac.hypercard
- Date: Mon, 17 Aug 1992 16:46:24 GMT
- Lines: 24
-
- In article <jpugh-160892231941@90.20.3.200>, jpugh@apple.com (Jon Pugh) writes:
- >
- >So, if you want to change the font of a button do this:
- >
- >set textFont of button "Foo" to Geneva
- >set textSize of button "Foo" to 9
- >set textStyle of button "Foo" to bold
- >
- >Note that you can only set a button to 1 style, like bold, but not
- >bold,italic like you can with general text. Bummer.
- >
- >Jon
-
- You CAN set the style of a button to more than one style option like so:
-
- set the textStyle of button "Foo" to "bold","italic","underline"
- etc,etc.
-
- You can loose the quotes if you want but don't quote the option list as
- a whole or Hypercard will complain thusly: "Can't understand arguements
- to command set"
-
- --Cea
-
-