Search the web
Sign In
New User? Sign Up
power-pro · Free discussion list for PowerPro users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
cl functions   Message List  
Reply | Forward Message #35743 of 36664 |
I'm having trouble using the cl functions. Shouldn't the following (in a script,
newbar.powerpro) show a small bar when run?

local hbar = cl.Create("ANewTemporaryBar", 1)
local hitem = hbar.Insert(0)
hitem.SetLabel("Test")
hitem.AddLeft("notepad")
hbar.Show

I get no error, but nothing showing.

Oddly, if I add a hbar.Hide just before creating the item, I get an error, but
then if I continue, the bar shows as expected!

I'm probably doing something dumb (this is my first attempt at writing a script)
- can anyone spot what I've messed up?

Thanks,
Paul.




Mon Jul 13, 2009 12:30 pm

pf_moore
Offline Offline
Send Email Send Email

Forward
Message #35743 of 36664 |
Expand Messages Author Sort by Date

I'm having trouble using the cl functions. Shouldn't the following (in a script, newbar.powerpro) show a small bar when run? local hbar =...
pf_moore
Offline Send Email
Jul 13, 2009
12:30 pm

... // then need something like hbar.addproperties("barsize") // or set bar size manually PowerPro definitely has quirks wrt bar sizes for new bars....
brucexs
Offline Send Email
Jul 13, 2009
12:41 pm

... It didn't work in that form precisely, but I'll have a play. Thanks, Paul....
pf_moore
Offline Send Email
Jul 13, 2009
2:34 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help