http://qs321.pair.com?node_id=362991


in reply to Re: Checking lots of conditions...ORed and ANDed
in thread Checking lots of conditions...ORed and ANDed

It's a neat piece of code. ;) I still prefer my though due to two reasons:
  1. It is more obvious which conditions need to be satisfied for the menu to get displayed.
  2. Each menu caption is written only once. It is easier to maintain interface consistancy.

Thank you for the idea anyway.