Author |
Message |
rbb
![](http://www.)
|
Posted: Fri Apr 25, 2003 12:21 pm Post subject: The problem with my centering is... |
|
|
Alright I tried that code but when I used it it made the text go to the far right of the screen not the center. DO you know why this happens. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Blade
|
Posted: Fri Apr 25, 2003 12:32 pm Post subject: (No subject) |
|
|
no, because theres something you are not doing right... like asok said man... every possible answer
copy and paste some of the code, heh... all mine work |
|
|
|
|
![](images/spacer.gif) |
jamez
|
Posted: Fri Apr 25, 2003 12:59 pm Post subject: (No subject) |
|
|
code: | var text : string := "THIS IS WHAT HE WANTS"
locate (maxrow div 2, (maxcol div 2) - (length (text) div 2))
put text |
|
|
|
|
|
![](images/spacer.gif) |
Blade
|
Posted: Fri Apr 25, 2003 2:15 pm Post subject: (No subject) |
|
|
dude... look at the locked one, questions already answered.... |
|
|
|
|
![](images/spacer.gif) |
Prince
![](http://www.angelfire.com/hiphop3/m-unit_hustla/images/fxckpare.jpg)
|
Posted: Fri Apr 25, 2003 7:40 pm Post subject: (No subject) |
|
|
speakin of centring, is there any type of code u can use if u wanna centre a title (in the blue bar above the run window) or do u jus hafta put in a bunch of spaces |
|
|
|
|
![](images/spacer.gif) |
Homer_simpson
![](http://compsci.ca/v3/uploads/user_avatars/18138546704b4d2a3b2e50e.gif)
|
Posted: Fri Apr 25, 2003 7:45 pm Post subject: (No subject) |
|
|
if u know the size of window (standar(640,400)) u can caculate the number of spaces to put to center the text out |
|
|
|
|
![](images/spacer.gif) |
Asok
![](http://www.battle.net/war3/images/neutral/units/animations/pandarenbrewmaster.gif)
|
Posted: Fri Apr 25, 2003 11:53 pm Post subject: (No subject) |
|
|
locked. Question has been answered multiple times, plz just copy and paste. |
|
|
|
|
![](images/spacer.gif) |
|