home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- 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
- From: mark@pokey.jsc.nasa.gov (Mark Manning)
- Subject: Re: Geneva 9 Radio Buttons, Checkboxes, etc...
- Message-ID: <1993Jan25.212654.11084@aio.jsc.nasa.gov>
- Sender: news@aio.jsc.nasa.gov (USENET News System)
- Organization: NASA
- References: <01050133.oc46s3@distant.uucp> <21769@ucdavis.ucdavis.edu>
- Date: Mon, 25 Jan 1993 21:26:54 GMT
- Lines: 26
-
- Hello!
-
- I have my own problem with dialogs and font setting. I have a
- Static Text Field I want to change from one font to another as well
- as change the size and face values. From ftp.apple.com I downloaded
- something which seemed to address this. In the QAS the programmers
- say to do:
-
- dp:=DialogPeek(myDialog);
- TextFont(geneva);
- TextSize(9);
- dp^.textH^^.txFont := geneva;
- dp^.textH^^.txSize := 9;
- SetWTitle( myDialog, 'ADSP Thing' );
- (etc....)
-
- But this doesn't work. Later on the programmers again address the
- problem and say that you need to create ICTBs and to include a much
- larger segment of code.
-
- The first method did not seem to work. Does anyone know if the second
- method works? I hate to type in everything only to find it doesn't work.
- Then I'd have to take it all back out again. *ugh*.
-
- Thanks ahead of time for this information. :)
-
-