EditSlider in resource

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 21/08/2004 at 11:00, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.206 
Platform:      
Language(s) :     C++  ;

---------
Hi,

I want to include an Edit Slider widget in the AM of my ObjectData plugin. Looking at the SDK docs it gives this example:

EDITNUMBERARROWS MY_ARROWS_FIELD_ID { SIZE 100,0; SCALE_H; }

Using this causes an error when the AM shows on that line. It also happens with SLIDER. And yes I have that ID declared, just incase you ask.

Whats the problem?

Thanks

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/08/2004 at 17:29, xxxxxxxx wrote:

100,0 = 100.0

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/08/2004 at 02:15, xxxxxxxx wrote:

Thanks for the reply but even with 100.0, it still errors (infact that what I originally tried).

What I currently have is
REAL IDC_PERCENT { MIN 0.0; MAX 100.0; STEP 1; UNIT PERCENT; };

All I want to do is turn that into a slider as default, so surely this would work..
EDITSLIDER IDC_PERCENT { SIZE 100.0; SCALE_H; }

but it doesn't

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/08/2004 at 07:08, xxxxxxxx wrote:

Oh this is in a description resource?! Well then it won´t work of course 🙂 The slider is a customgui, so just add REAL IDC_PERCENT { MIN 0.0; MAX 100.0; STEP 1; UNIT PERCENT; CUSTOMGUI REALSLIDER}

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/08/2004 at 09:06, xxxxxxxx wrote:

Just for the record, "100,0" is certainly a valid SIZE for dialog resources. It means 100 pixels wide and default height.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/08/2004 at 14:47, xxxxxxxx wrote:

Thank you, finally got it to work.