Stuck in a rut again, and this time I'm blaming SC2! It appears that dialog item labels cannot fire off a clicked event, but I need this behavior in my map (as the dialog item I wish to click on is a label, not a button). I popped up my quick, working dialog test map and changing the click event item from my button to my label and it stopped working in that map as well.
So, do labels simply not trigger a clicked event? And, if not, what alternatives do I have?
Thanks! I tried that out but it still doesn't work in my test map, unfortunately. It describes it should do exactly that, but the click trigger still doesn't fire. In the meantime, I've created an invisible button and overlayed it on my text to do the work.
There might be one more step needed to make your suggestion work, and I'm hoping someone might know since I really dislike the invisible button technique.
Stuck in a rut again, and this time I'm blaming SC2! It appears that dialog item labels cannot fire off a clicked event, but I need this behavior in my map (as the dialog item I wish to click on is a label, not a button). I popped up my quick, working dialog test map and changing the click event item from my button to my label and it stopped working in that map as well.
So, do labels simply not trigger a clicked event? And, if not, what alternatives do I have?
@soulzek: Go
Set dialog item accept mouse = true
Alternatives: Create a dialog button with text, then set dialog item style.
@Enexy: Go
Thanks! I tried that out but it still doesn't work in my test map, unfortunately. It describes it should do exactly that, but the click trigger still doesn't fire. In the meantime, I've created an invisible button and overlayed it on my text to do the work.
There might be one more step needed to make your suggestion work, and I'm hoping someone might know since I really dislike the invisible button technique.
@soulzek: Go
you can put a button behind the label
then set the transparency of the button to 100% or something....
I have done this and It works
@soulzek: Go
It might need tooltip. I don't know if u can give labels tooltips or not. But once something has a tooltip, you can make it accept mouse.