Skip to main content

We display a status bar control that is not defined in the screen section.

How can we modify the content of the second panel ?

 

We display a status bar control that is not defined in the screen section.

How can we modify the content of the second panel ?

 

Here is my status-bar

DISPLAY STATUS-BAR
PANEL-WIDTHS (8, 8),
PANEL-STYLE (0, 0),
PANEL-TEXT (SPACE, "hello"),
GRIP,
HANDLE IS Form1-St-1-Handle

Here is how I change the content of the second panel

modify Form1-St-1-Handle PANEL-TEXT (SPACE, "bye")


Here is my status-bar

DISPLAY STATUS-BAR
PANEL-WIDTHS (8, 8),
PANEL-STYLE (0, 0),
PANEL-TEXT (SPACE, "hello"),
GRIP,
HANDLE IS Form1-St-1-Handle

Here is how I change the content of the second panel

modify Form1-St-1-Handle PANEL-TEXT (SPACE, "bye")

Hi,

thanks for your answer.

This was one of our many trials but we couldn't compile it unless we changed our handle from

77 our-handle usage is handle

to

77 our-handle usage is handle of status-bar.

Perhaps this and an example of modifying a panel should put into the documentation because the obvious solution - to modify a panel by using the panel-index - does not work at all.