Feature #1893

DropList could support IsEmpty operation

Added by Zbigniew Rebacz over 5 years ago. Updated over 5 years ago.

Status:RejectedStart date:07/20/2018
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:


Category:CtrlLibSpent time:-
Target version:Release 2019.1 - NTH


To check whenever DropList is empty you need to write following code:

    DropList           threads;
        if(threads.GetCount() == 0) { ... }

It should be possible with:

if(threads.IsEmpty()) { ... }


#1 Updated by Miroslav Fidler over 5 years ago

  • Status changed from New to Rejected

OK, so I left this for some while because I was undecided. The reason I do not like this is that it is less clear what IsEmpty means - is this related to droplist or to the value of droplist? GetCount() == 0 is just a couple of characters more to type, but is more clear IMO.

Also available in: Atom PDF