statusbar
-
- Posts: 2
- Joined: Mon May 16, 2011 7:38 pm
statusbar
how I can add another type of object statusbar?
Re: statusbar
Question doesn't relate to the Command Bars Library 
Anyway, the Status bar cannot contain any VFP native controls such as Label, and so on.
But it can contain real Windows controls (controls from Common Controls library). To add such type of control to the StatusBar you need to use SetParent method of that object. For example, assume the form contains object ZoomSlider (from the Common Controls Extensions library):
Also, make sure you move the ZoomSlider object to the correct position, because the Left and Top properties now relate to the StatusBar object, for example:

Anyway, the Status bar cannot contain any VFP native controls such as Label, and so on.
But it can contain real Windows controls (controls from Common Controls library). To add such type of control to the StatusBar you need to use SetParent method of that object. For example, assume the form contains object ZoomSlider (from the Common Controls Extensions library):
Code: Select all
ThisForm.ZoomSlider.SetParent( ThisForm.StatusBar)
Code: Select all
ThisForm.ZoomSlider.Move( 10, 2, 200, 16)
With best regards,
Alex Grigorjev
(ARG-Software Design Lab.)
Alex Grigorjev
(ARG-Software Design Lab.)