Label & LsBox Thread last updated on 2003-11-20 18:16:49

Posted by member 71746 on 2003-11-20 13:47:45

"word up" n stuff..

I've implemented a label that does nothing more than display [activeTask].

Works great, except when an LsBox or Popup is displayed. Then the label displays nothing.

I'd like for the label to display "Litestep" or "Control Bar" or something when the bar is shown, and I'd like the label to not change at all when the popup is displayed.

Does anyone know if this is possible in any way?

Posted by member 36955 on 2003-11-20 17:37:52 link

well... xlabel can do conditionals on text, like
labeltext "[if(empty(activetask))]Unknown[else][activetask][endif]"

i dont know if it can differentiate between a popup window and an lsbox window if label shows nothing for both of them

Posted by member 71746 on 2003-11-20 18:16:49 link

cool thanks :) :) that'll do just nicely.