Path: utzoo!attcan!uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!haven!umd5!zben From: zben@umd5.umd.edu (Ben Cranston) Newsgroups: comp.sys.mac.programmer Subject: Re: Changing Radio Button Titles Summary: Or run the window's control chain to find it Message-ID: <6628@umd5.umd.edu> Date: 6 Jun 90 17:42:39 GMT References: <41661@apple.Apple.COM> Reply-To: zben@umd5.umd.edu (Ben Cranston) Organization: University of Maryland, College Park Lines: 17 rk39+@andrew.cmu.edu (Robert Joseph Kuszewski) writes: > Does anyone know how to change the title of a radio button within a program? In article <41661@apple.Apple.COM> rdclark@Apple.COM (Richard Clark) writes: > PROCEDURE SetCTitle(ctl: ControlHandle; title: STR255); > If the button is in a dialog, you can use GetDItem to get the handle to the > control. If it's in a window, your best bet is to store the ControlHandle > somewhere at the time you create it. Or else put something recognizable in the contrlRfCon of each of your controls, then search the chain from the window's controlList through nextControl of each control handle. -- "It's all about Power, it's all about Control All the rest is lies for the credulous" -- Man-in-the-street interview in Romania one week after Ceaucescu execution.