Description Initial Value [SOLVED]



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

    On 11/03/2012 at 03:18, xxxxxxxx wrote:

    User Information:
    ResEdit Version:   R8

    ---------
    Hi,

    i have a rather simple question : there aren't any ways to set a description elements initial value within the res file? something like this :

    REAL MYVALUE { UNIT METER;  MIN = 0;   _DEFAULT = 45  _}
    

    the only way is to do it, is within the plugins class ?



  • On 17/11/2014 at 12:49, xxxxxxxx wrote:

    Hi,

    Unfortunately, you can't set a default or initial value in the description.  The definition of REAL does not contain that option.  You have to set the initial value in your code, as there is no good reason for the default value to come from the UI itself.

    Regards,

    Joey Gaspe
    SDK Support Engineer


Log in to reply