5aLIVE
September 30th, 2009, 09:20
A Delphi app I am playing with has a status bar which has a panel.
The program title and version number is left justified on the status bar, there is also a panel on the status bar which displays some unwanted text (user number) which is also left justified.
I found the code which displays this text and have disabled it.
Now I would like to remove this empty panel as it serves no purpose.
I have been using the Resource Hacker tool (amongst others) to help me do this.
However the best I can manage is either to change the width of the panel or display a simple panel which shows no program title and version number or blank panel.
Here is part of the resource script I have been editing:
I've tried all of the above code from the resource script but this cause the program to error (access violation).
Thanks for reading,
5aLIVE.
The program title and version number is left justified on the status bar, there is also a panel on the status bar which displays some unwanted text (user number) which is also left justified.
I found the code which displays this text and have disabled it.
Now I would like to remove this empty panel as it serves no purpose.
I have been using the Resource Hacker tool (amongst others) to help me do this.
However the best I can manage is either to change the width of the panel or display a simple panel which shows no program title and version number or blank panel.
Here is part of the resource script I have been editing:
Code:
object SB_Mainmenu: TStatusBar
Left = 0
Top = 493
Width = 772
Height = 22
Panels = <
item
BiDiMode = bdLeftToRight
ParentBiDiMode = False
Text = 'User Number '
Width = 175 <--Changing this value adjust the width of the now blank panel
end
item
Width = 50
end>
ParentFont = True
SimplePanel = False <--Changing this to True gives a blank status bar.
UseSystemFont = False
end
I've tried all of the above code from the resource script but this cause the program to error (access violation).
Thanks for reading,
5aLIVE.