home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22161 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.4 KB  |  38 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!emory!swrinde!zaphod.mps.ohio-state.edu!caen!saimiri.primate.wisc.edu!ames!data.nas.nasa.gov!eos!aio!mark@pokey.jsc.nasa.gov
  3. From: mark@pokey.jsc.nasa.gov (Mark Manning)
  4. Subject: Re: Geneva 9 Radio Buttons, Checkboxes, etc...
  5. Message-ID: <1993Jan25.212654.11084@aio.jsc.nasa.gov>
  6. Sender: news@aio.jsc.nasa.gov (USENET News System)
  7. Organization: NASA
  8. References: <01050133.oc46s3@distant.uucp> <21769@ucdavis.ucdavis.edu>
  9. Date: Mon, 25 Jan 1993 21:26:54 GMT
  10. Lines: 26
  11.  
  12. Hello!
  13.  
  14.    I have my own problem with dialogs and font setting.  I have a
  15. Static Text Field I want to change from one font to another as well
  16. as change the size and face values.  From ftp.apple.com I downloaded
  17. something which seemed to address this.  In the QAS the programmers
  18. say to do:
  19.  
  20. dp:=DialogPeek(myDialog);
  21. TextFont(geneva);
  22. TextSize(9);
  23. dp^.textH^^.txFont := geneva;
  24. dp^.textH^^.txSize := 9;
  25. SetWTitle( myDialog, 'ADSP Thing' );
  26. (etc....)
  27.  
  28. But this doesn't work.  Later on the programmers again address the
  29. problem and say that you need to create ICTBs and to include a much
  30. larger segment of code.
  31.  
  32. The first method did not seem to work.  Does anyone know if the second
  33. method works?  I hate to type in everything only to find it doesn't work.
  34. Then I'd have to take it all back out again. *ugh*.
  35.  
  36. Thanks ahead of time for this information. :)
  37.  
  38.