Navigation:  Reference > Functions >

StatusBar()

Print this Topic Previous pageReturn to chapter overviewNext page

 

STATUS_BAR(1,2,3)

 

PURPOSE

Use this function to get or set the text value of a panel in a TStatusBar object on the current form.

 

PARTS

1 f/c/eRequired - The object name.  This would be the value in the Name field that is a part of each object.

 

2 f/c/eRequired - The panel number.  The first panel is number 1.

 

3 f/c/eThe text value to be put into the panel.  If this option is not specified the text that is currently in that panel will not be changed.  In this case the function will only return the value currently in that panel.

 

RETURN TYPE - A

Returns the current text value in the panel specified.  If the receiving field is too short the returning value will be truncated.

 

COMMENTS

If the function can't find the object then it will return the string: "Object Not Found."

 

EXAMPLE

define status_txt type A size 80

startus_txt = status_bar('StatusBar1', 5 ,'This text will be displayed in panel # 5')

 

 


Page url: http://www.cassoftware.com/tas/manual/statusbar.htm