Log in

View Full Version : ToggleXPBar in current srl5



mezzo
06-03-2012, 06:56 PM
Anybode else have issues with the ToggleXPBar proc ?

The following poly clicks on the xp icon, but then doesn't follow through
with another click to turn on/off the xp bar.


if not IsXPBarOpen then ToggleXPBar(TRUE);

am I doing something wrong ? (latest srl 5 btw)
thanks

P1ng
06-03-2012, 10:03 PM
ToggleXPBar(True);
just opens the XP bar. If you'd like for it to close again you would have to then call ToggleXPBar(False); after you have done whatever you opened it for.

putonajonny
06-03-2012, 10:17 PM
Anybode else have issues with the ToggleXPBar proc ?

The following poly clicks on the xp icon, but then doesn't follow through
with another click to turn on/off the xp bar.


if not IsXPBarOpen then ToggleXPBar(TRUE);

am I doing something wrong ? (latest srl 5 btw)
thanks

ToggleXPBar does a left click so shouldn't need a second click..?

mezzo
06-04-2012, 12:15 PM
While it should be doing a left click it appears to do a right or middle click.
I guess I messed up my wine/simba/osx setup somewhere..
Really weird because everything else seems to be working as it should.

I'll figure it out somehow, probably did something stupid :)
thanks for all your responses!