As a workaround I use CtlSetSliderValues or I just convert the values it
returns.....same problem.
-----Original Message-----
From: Marcelo Gorini [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 9:50 AM
To: Palm Developer Forum
Subject: RE: Please Help me.. I cant Get Correct Value From Slider?
I had this problem before, I think it is a bug in the
constructor.
one work around is set the slider values programmatically with
CtlSetSliderValues.
Regards,
Marcelo
-----Original Message-----
From: Mert ESSIZ [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 9:44 AM
To: Palm Developer Forum
Subject: Please Help me.. I cant Get Correct Value From Slider?
Please help me friends.. I'm crazying......
I designed slider minvalue=0 and maxvalue=70.
But when i try get a slider value, i can get abnormal values...
When i get value from end of slider |----------*|
It's gives me maxvalue 17920 and minvalue 0.
Why?
My Code:
--------
Int16 hede;
Int16 objindex;
Char buffer[30];
frmP = FrmGetActiveForm();
objindex=FrmGetObjectIndex(frmP,1209);
hede=FrmGetControlValue(frmP ,objindex);
StrIToA(buffer,(Int32)hede);
FrmCopyLabel(frmP, 1210, buffer);
Thans...
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/