EDITNUMBER only accepts 0



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

    On 04/07/2003 at 03:47, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   7.303 
    Platform:      
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi !
    I added several EDITNUMBERs in my GeModalDialog. But these fields don't accept any number other than 0. When I enter a greater or smaller number, a strange ErrorMessage appears when i close the dialog. It says "Please enter a number smaller, greater than or equal to zero".
    Here is the code from my RES-File. The ID value of DUPLI_DUP_DIST_Y_FIELD is 13950.

        
        
          
        EDITNUMBER DUPLI_DUP_DIST_Y_FIELD  
                { CENTER_V; CENTER_H; SIZE 70, 0; }  
        
    

    I can't explain this behaviour. I appreciate your help very much...



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

    On 04/07/2003 at 03:54, xxxxxxxx wrote:

    you need to initialize the field in your plugincode (in your dialog class InitValues method) with i.e. SetReal() (see coffee docs for this).
    Best
    Samir


Log in to reply