Enable/Disable drop down (LONG) elements



  • Hello.
    I want to disable elements of a drop down (LONG as I am using from resource description) but using the function below won't do the work for me. I can disable the drop down as a whole but not it's elements. Is there any way I can do this.

        Bool RenderSettings::GetDEnabling(GeListNode* node, const DescID& id, const GeData&  t_data, DESCFLAGS_ENABLE flags, const BaseContainer* itemdesc){
     	case ELEMNTTODISABLE: 
            {
            return dldata->GetBool(DL_CHECKBOX) == false; break; 
            }
         	return true;
          }
    

    Thank you.


  • Global Moderator

    Hi,

    unfortunately that's not possible.
    But instead you could implement GetDDescription() and change the content of the drop down as needed.

    Cheers,
    Andreas



  • Hi @a_block
    Thank you for your answer.