Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do you center?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rbb




PostPosted: Fri Apr 25, 2003 10:19 am   Post subject: How do you center?

same as subject
Sponsor
Sponsor
Sponsor
sponsor
tomako




PostPosted: Fri Apr 25, 2003 10:23 am   Post subject: (No subject)

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




PostPosted: Fri Apr 25, 2003 10:29 am   Post subject: (No 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)
Blade




PostPosted: Fri Apr 25, 2003 10:51 am   Post subject: (No 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)
rbb




PostPosted: Fri Apr 25, 2003 11:56 am   Post subject: I meant how to center text!

same as subject
Asok




PostPosted: Fri Apr 25, 2003 12:08 pm   Post subject: (No subject)

Every possible answer is in here...

Locked.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: