Home > Back-end >  C builder 2010 issue of the status bar for help.
C builder 2010 issue of the status bar for help.

Time:10-13

When created using adiapp template, the menu automatically generated, and the status bar and status bar will automatically display the menu bar,
I will if the status bar is divided into two groups, a group of display the original menu prompt information, another group of the text of the shows I want?
Properties in Panels added no effect, whether related to the Action?

CodePudding user response:

Pannel attributes of the style set to psOwnerDraw try, if it is psText is of no effect

CodePudding user response:

PsOwnerDraw set to true

CodePudding user response:

Increase Panels psOwnerDraw attribute to true according to the above, no effect,
I found that after change the StatusBar SimplePanel attribute to False, the status bar can be divided into 2 columns, but the automatically generated menu prompt information no longer shows, through the StatusBar - & gt; Panels - & gt; The Items [0] - & gt; Text="AStatusText"; Don't display content,

CodePudding user response:

StatusBar - & gt; SimpleText=AStatusText; Ok, c + + builder2010 with still more big changes than before,

CodePudding user response:

Above is a single column, according to the
Two groups show still don't know how,

CodePudding user response:

. Do you want to achieve a menu Hint value and can be shown in the status bar,

CodePudding user response:

Each time you update the status in the back to add the following code to try:
StatusBar1 - & gt; Invalidate ().

CodePudding user response:

1, the value of the Hint of menu some, automatically generated, the status bar can be divided into 2 unable to display the menu bar, write directly StatusBar - & gt; Panels - & gt; The Items [0] - & gt; The Text also not line,

2, add StatusBar1 - & gt; Invalidate () also have no effect
  • Related