Hi Polo,
Is it possible to add the same features for StatusBar as for the other form gadgets, e.g.
Use #PB_Any
Use Variable
Also, how do we edit the AddStatusBarField gadget ??
Thanks,
Neil
Add same features for StatusBar as other gadgets
Re: Add same features for StatusBar as other gadgets
PureBasic has an exceptionally good manual. Thank you again to its authors!
If you look at the StatusBar entry you will find that you can use #PB_Any when creating one.
Update using:
StatusBarText()
Syntax
StatusBarText(#StatusBar, Field, Text$ [, Appearance])
Description
Set the text for the specified 'Field' in the given '#StatusBar'. 'Appearance' is optional and can be used to alter the look of the field with the following values:
#PB_StatusBar_Raised : raised borders (has no effect on OS X)
#PB_StatusBar_BorderLess: without border
#PB_StatusBar_Center : center the text in the field
#PB_StatusBar_Right : align the text to the right of the field
The options can be combined together with the '|' (OR) operator :
#PB_StatusBar_BorderLess | #PB_StatusBar_Right : Borderless right aligned field.
For a working example look at CreateStatusBar().
If you look at the StatusBar entry you will find that you can use #PB_Any when creating one.
Update using:
StatusBarText()
Syntax
StatusBarText(#StatusBar, Field, Text$ [, Appearance])
Description
Set the text for the specified 'Field' in the given '#StatusBar'. 'Appearance' is optional and can be used to alter the look of the field with the following values:
#PB_StatusBar_Raised : raised borders (has no effect on OS X)
#PB_StatusBar_BorderLess: without border
#PB_StatusBar_Center : center the text in the field
#PB_StatusBar_Right : align the text to the right of the field
The options can be combined together with the '|' (OR) operator :
#PB_StatusBar_BorderLess | #PB_StatusBar_Right : Borderless right aligned field.
For a working example look at CreateStatusBar().
DE AA EB
Re: Add same features for StatusBar as other gadgets
Hi Davido,
Thanks for your reply.
Yes I am aware of all that info.
What I am asking Polo is if he can add the same functionality for including a StatusBar in a form as he has done for other gadgets, e.g.
1. Set a toggle to use #PB_Any.
2. Use a user named variable.
and
How do we edit the AddStatusBarField gadget ??
Thanks for your reply.
Yes I am aware of all that info.
What I am asking Polo is if he can add the same functionality for including a StatusBar in a form as he has done for other gadgets, e.g.
1. Set a toggle to use #PB_Any.
2. Use a user named variable.
and
How do we edit the AddStatusBarField gadget ??
Re: Add same features for StatusBar as other gadgets
If you click on the field, then you can edit it with the form panel (to delete the field, right click).
I'll see about new features in the summer, it's mad at work at the moment, I don't have a lot of free time!
I'll see about new features in the summer, it's mad at work at the moment, I don't have a lot of free time!
Re: Add same features for StatusBar as other gadgets
ok
Thanks,
Neil
Thanks,
Neil