Page 1 of 1

How to format a Button

Posted: Thu Jun 14, 2007 10:24 am
by Bernd
Hello,

could someone please help me.

How can I format a Button?

I add a Button like this :
with XLSRW.Sheet[intNSh].ControlsObjects.Buttons.Add do
begin
Text := 'Start';
Col1 := 12;
Row1 := 0;
Col2 := 13;
Row2 := 1;
MacroName := 'Schaltfl1_BeiKlick';
end;

Posted: Thu Jun 14, 2007 1:31 pm
by larsa
Hello

What is the problem?


Lars Arvidsson

Posted: Thu Jun 14, 2007 1:55 pm
by Bernd
Hello,

I want the

Text := 'Start'; to be in the center of the Button,

in Excel it is quite easy, but how do I do it in my programm?

Posted: Tue Jun 19, 2007 7:58 am
by larsa
Hello

Sorry, but you can't format the button text.


Lars Arvidsson