From: "Mert ESSIZ" <[EMAIL PROTECTED]>
> Char buffer[30];
> frmP = FrmGetActiveForm();
> ? buffer=FrmGetControlValue(frmP,SliderID); // How can I assign?
The answer should be obvious from reading the docs. FrmGetControlValue
returns the value of the "value" field of a slider control. The value field
is an Int16. If you want to put that in a string, use something like this:
Char buffer[30];
Int16 value;
FormPtr frmP;
frmP = FrmGetActiveForm();
value = FrmGetControlValue( frmP, SliderID );
StrIToA( buffer, (Int32)value );
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/