Combo Box selection



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

    On 31/03/2005 at 11:35, xxxxxxxx wrote:

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

    ---------
    I cannot seem to find how to get the id of a selection from a combobox - I am to get the combobox itself and know that something was selected, but can't determine which item was chosen.
    Can someone point me in the right direction?

    Thanks

    ed



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

    On 31/03/2005 at 14:36, xxxxxxxx wrote:

    I think i know that ! phew....(at least in a tag plug)
    You need a PluginTag or a Node.
    Then you can go:
    BaseContainer *data = tag->GetDataInstance();
    your selected combobox id = data->GetLong(YOUR_BOX_ID, 0);
    The Box(Cycle) is a LONG. I found it in this forum somewhere.



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

    On 01/04/2005 at 01:42, xxxxxxxx wrote:

    Sorry, this is C, your in COFFEE.



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

    On 10/04/2005 at 15:07, xxxxxxxx wrote:

    I think it's GeDialog::GetInt() in C.O.F.F.E.E.


Log in to reply