Preview toolbar button spacing?
I'm putting two extra toolbar buttons in the preview.
However the buttons appear very close together with the sides of each button almost touching (see attachment).
However the buttons appear very close together with the sides of each button almost touching (see attachment).
Button1 := TSpeedButton.Create(TfrxPreviewForm(frxReport1.PreviewForm).ToolBar);
Button1.Parent:=TfrxPreviewForm(frxReport1.PreviewForm).ToolBar;
Button1.Caption:='The button caption';
Button.Font.Style := [fsbold];
Button1.Width:=200;
Button1.Left:=4950; //this seems to be ignored - any value is accepted but nothing happens?
Button1.OnClick:=Button1Click; //set up the event handler