Questions and answers on how to use XLSReadWriteII 3/4/5.
Bernd
Posts: 2 Joined: Thu Jun 14, 2007 10:19 am
Post
by Bernd » Thu Jun 14, 2007 10:24 am
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;
larsa
Site Admin
Posts: 926 Joined: Mon Jun 27, 2005 9:30 pm
Post
by larsa » Thu Jun 14, 2007 1:31 pm
Hello
What is the problem?
Lars Arvidsson
Bernd
Posts: 2 Joined: Thu Jun 14, 2007 10:19 am
Post
by Bernd » Thu Jun 14, 2007 1:55 pm
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?
larsa
Site Admin
Posts: 926 Joined: Mon Jun 27, 2005 9:30 pm
Post
by larsa » Tue Jun 19, 2007 7:58 am
Hello
Sorry, but you can't format the button text.
Lars Arvidsson