torfnase
09-17-2008, 07:17 AM
Hello alltogether,
I created a button with as with the line:
CreateKPushButton("button1",1,0);
Is it possible to influence the edges of the button ?
I would like to make the top edges round and would like to leave the bottom edges as they are...
In addition I would like to change the font-size and face of the lable auf the button...
I tried (for font-size):
var textformat = new TextFormat();
textformat.size = 14;
button1.setLabel("Step 1",textformat);
but it doesn't work :-(
Is that possilble with AS ?
kind regards....
torfnase :-)
I created a button with as with the line:
CreateKPushButton("button1",1,0);
Is it possible to influence the edges of the button ?
I would like to make the top edges round and would like to leave the bottom edges as they are...
In addition I would like to change the font-size and face of the lable auf the button...
I tried (for font-size):
var textformat = new TextFormat();
textformat.size = 14;
button1.setLabel("Step 1",textformat);
but it doesn't work :-(
Is that possilble with AS ?
kind regards....
torfnase :-)