-------------------- Original Message Follows --------------------


hi
 i think that you use the
following function to do this
*****************************************
FrmCopyLabel
Purpose Copy the passed string into the data structure of the specified
label
object in the active form.
Prototype void FrmCopyLabel (FormPtr frm,
Word labelID,
CharPtr newLabel)
Parameters frm Pointer to memory block that contains the
form.
labelID ID of form label object.
newLabel Pointer to a null-terminated string.
Result Returns nothing.
Comments The size of the new label must not exceed the size of the label
de-fined
in the resource. When defining the label in the resource, speci-fy
an initial size at least as big as any of the strings that will be
as-signed
dynamically. Redraw the label if the form=92s usable attribute
and the label=92s visible attribute are set.
kunal
/*************************************/
ORIGINAL MESSAGE
hello,  i would like to know if i use a label on a form,.... can i changed
it while the program is running?  ie,  a label says "the light is green" and
a certain action is taken (ie, tap on button or specific event occours),
can i change that label to say "the light is red"??

thx




----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com

Reply via email to