Bar.Show
Description
- Shows a bar, optionally using slide animation to do so.
Syntax
- Bar.Show(barname)
- Bar.Show("*keyword", barname)
- shows bar "barname" with settings given by "*keyword"
Parameters
- *keyword
- (string) slide direction and/or mouse position
-
Possible Values
Slide animations
- "*vertical"
- Powerpro determines the slide direction depending on which half of the screen the mouse is positioned in, top or bottom.
- "*horizontal"
- Powerpro determines the slide direction depending on which half of the screen the mouse is positioned in, left or right.
- "*fromtop"
- Bar slides in from top.
- "*frombottom"
- Bar slides in from bottom.
- "*fromleft"
- Bar slides in from left.
- "*fromright"
- Bar slides in from right.
- "*none"
- Removes any preset slide animation.
Mouse-related
- "*move"
- The mouse cursor is positioned over the bar.
- "*move" can be combined with a slide direction keyword in the same Bar.Show() call, in either order.
- barname
- (string) name of the bar to show
Examples
- Bar.Show("*vertical", "ActiveWindows")
- Shows the bar named "ActiveWindows" sliding down from the top if the mouse is in the top half of the screen, and sliding up from the bottom if the mouse is in the bottom half of the screen.
- Bar.Show("*move *vertical", "ActiveWindows")
- Shows the bar named "ActiveWindows" sliding down from the top if the mouse is in the top half of the screen, and sliding up from the bottom if the mouse is in the bottom half of the screen, and moves the mouse to the start of the bar.
Notes
- Only works with Windows 98, 2000 and later.
- The Command Lists > Setup checkbox "Use slide animation" does not have to be checked for the Bar.Show() command to work.