statusbar

Support forum for ARG-Software Design Lab. Command Bars Library [http://www.arg.kirov.ru/]
Post Reply
juanferclaro
Posts: 2
Joined: Mon May 16, 2011 7:38 pm

statusbar

Post by juanferclaro »

how I can add another type of object statusbar?
AlexG
ARG-Software Design Lab.
Posts: 36
Joined: Sat Nov 14, 2009 5:14 pm

Re: statusbar

Post by AlexG »

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):

Code: Select all

ThisForm.ZoomSlider.SetParent( ThisForm.StatusBar)
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:

Code: Select all

ThisForm.ZoomSlider.Move( 10, 2, 200, 16)
With best regards,

Alex Grigorjev
(ARG-Software Design Lab.)
Post Reply