If the Toolbar is contained in a TFrame, the Frame in turn must be contained in another visual control to be seen. Make sure you cannot increase the size of it first if it's a Form or a splitter, etc. You should be able to tell then if the Frame is set to alClient or not and exactly what you can or cannot do as far as changing it's over-all width and thus the width of the toolbar. Next is the toolbar set to autosize? What kind of buttons are on the toolbar? Are they TToolButtons? Are they set to a default or autosize? You should be able to figure out a better solution by loading the project in any Delphi 5 or higher version and using the object inspector to check all the properties concerned. But I would not make the buttons smaller!
>From "Robert Meek" Personal e-mail: [EMAIL PROTECTED] dba / "Tangentals Design" Visit us at: www.TangentalsDesign.com Home of "The Keep"! Member of: "Association of Shareware Professionals" Moderator for: "The Delphi", "Delphi-DB", and "Delphi-Talk" programming lists at elists.org, and "DelphiTalk.net" at www.DelphiTalk.net -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Stephen Sent: Friday, April 08, 2005 9:11 AM To: [email protected] Subject: Toolbar buttons I feel slightly foolish asking such a question as this, but here goes. I have been charged with upgrading an existing Delphi (5) application and as part of that I need to add an extra button to a toolbar. Problem is I cannot increase the width of the toolbar (which is contained within a frame), so I have to decrease the width of the buttons, which I thought I could achieve by altering the toolbar's buttonwidth property. Unfortunately, this keeps resetting itself to the original value. Is there another property that requires change before a buttonwidth change can take place? Thanks in advance for any replies. Steve ********************************************************************** The Ipswich Hospital NHS Trust Email Policy: This e-mail and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this e-mail is prohibited and may be unlawful. If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received. For more information on The Ipswich Hospital NHS Trust's e-mail disclaimer policy, visit http://www.ipswichhospital.org.uk. This footnote also confirms that this email message has been swept by MIMEsweeper and SOPHOS Anti-virus for the presence of computer viruses. ********************************************************************** __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
