home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / hypercar / 3121 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!mcsun!sunic!psinntp!psinntp!isc-newsserver!ritvax.isc.rit.edu!CAD0410
  3. From: cad0410@ritvax.isc.rit.edu (Cecelia A. Dorn)
  4. Subject: Re: Changing Font of Button?
  5. Message-ID: <1992Aug17.164624.22860@ultb.isc.rit.edu>
  6. Sender: news@ultb.isc.rit.edu (USENET News System)
  7. Nntp-Posting-Host: vaxd.isc.rit.edu
  8. Reply-To: cad0410@ritvax.isc.rit.edu
  9. Organization: Rochester Institute of Technology
  10. References: <Bt05Mt.GrG@usenet.ucs.indiana.edu>,<jpugh-160892231941@90.20.3.200>
  11. Distribution: comp.sys.mac.hypercard
  12. Date: Mon, 17 Aug 1992 16:46:24 GMT
  13. Lines: 24
  14.  
  15. In article <jpugh-160892231941@90.20.3.200>, jpugh@apple.com (Jon Pugh) writes:
  16. >
  17. >So, if you want to change the font of a button do this:
  18. >
  19. >set textFont of button "Foo" to Geneva
  20. >set textSize of button "Foo" to 9
  21. >set textStyle of button "Foo" to bold
  22. >
  23. >Note that you can only set a button to 1 style, like bold, but not
  24. >bold,italic like you can with general text.  Bummer.
  25. >
  26. >Jon
  27.  
  28. You CAN set the style of a button to more than one style option like so:
  29.  
  30. set the textStyle of button "Foo" to "bold","italic","underline"
  31. etc,etc.
  32.  
  33. You can loose the quotes if you want but don't quote the option list as
  34. a whole or Hypercard will complain thusly: "Can't understand arguements
  35. to command set"
  36.  
  37. --Cea
  38.  
  39.