Computer Science Canada

How do you center?

Author:  rbb [ Fri Apr 25, 2003 10:19 am ]
Post subject:  How do you center?

same as subject

Author:  tomako [ Fri Apr 25, 2003 10:23 am ]
Post subject: 

i dont get what ur trying to say.... Embarassed

Author:  Prince [ Fri Apr 25, 2003 10:29 am ]
Post subject: 

do u mean like to centre text or a gui button or wat?

to centre a gui i think its GUI.CENTER
code:

ex:
fieldLabel := GUI.CreateLabelFull (50, 130, "The Label For The Field", 100,
    0, GUI.CENTER, 0)

Author:  Blade [ Fri Apr 25, 2003 10:51 am ]
Post subject: 

center the text?
code:
locate(1,maxcol div 2)
put "hello"

or... with font.draw
code:
var font:int:=Font.New("Ariel:20")
Font.Draw("hello",maxx div 2, maxy div 2,font,black)

Author:  rbb [ Fri Apr 25, 2003 11:56 am ]
Post subject:  I meant how to center text!

same as subject

Author:  Asok [ Fri Apr 25, 2003 12:08 pm ]
Post subject: 

Every possible answer is in here...

Locked.


: