Support and General Use > Theming and Appearance Customization
vertical progressbar
Arzhur:
To maintain backward compatibility say the doc...
Anyway this syntax works, and y keep it.
Now how can I use a progress bar for the battery?
JdGordon:
use bl instead of pv
Arzhur:
OK thanks, so is the following code correct?
#### Battery Bar
%V(149,85,11,43,0)
%?bc<%x(C,batterycharge.bmp,0,0)|%bl(0,0,11,43,batterybar.bmp,vertical)>
On the simulator I only have the batterycharge.bmp displaying, the battery bar doesn't appear anymore, what was correct with only
%bl(0,0,11,43,batterybar.bmp,vertical)
JdGordon:
pretty sure that %x() is comepltyl illegal.
errm, change it to %xd() and %xl(), you cant put %x() inside a conditional and expect it to work. sorry :)
Arzhur:
OK so this code:
%xl(C,batterycharge.bmp,0,0)
#### Battery Bar
%V(149,85,11,43,0)
%?bc<%xd(C)|%bl(0,0,11,43,batterybar.bmp,vertical)>
works for the Battery Bar but how can I check if the batterycharge will be displayed, it seems that the simulator doesn't show such an event...
Anyway thanks a lot for your help, hope I'll be able to upload some wps soon...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version