English
Source / code snippets

DrawText Rechtsbündig Settextalign Textausgabe Centered

 
Rechtsbündig DrawText by setTextAlign [...]  ta_right - vorgemacht of Andreas Miethe .
CompileMarkSeparation
cls
setTextAlign(hDC,ta_right)
drawText 120,10,"1020.80"
drawText 120,30,"120.80"
line 120,10,120,46
waitInput
e

CompileMarkSeparation
cls
setTextAlign(hDC,ta_center)
drawText 120,10,"1020.80"
drawText 120,30,"120.80"
line 120,10,120,46
waitInput
end

CompileMarkSeparation
TA_BASELINE = { $18 | 24 }
TA_BOTTOM = { $8 | 8 }
TA_CENTER = { $6 | 6 }
TA_LEFT = { $0 | 0 }
TA_MASK = (TA_BASELINE + TA_CENTER + TA_UPDATECP + TA_RTLREADING)
TA_NOUPDATECP = { $0 | 0 }
TA_RIGHT = { $2 | 2 }
TA_RTLREADING = { $100 | 256 }
TA_TOP = { $0 | 0 }
TA_UPDATECP = { $1 | 1 }

ex XProfan 12 can too write:
CompileMarkSeparation
 $H windows.ph
cls
DrawText 120,10,"1020.80",~TA_RIGHT
DrawText 120,30,"120.80"
DrawText 120,50,"12.80"
DrawText 120,70,"120.80"
DrawText 120,90,"1.80"
DrawText 120,110,"0.80"
waitinput
end
or. with XPSE:
CompileMarkSeparation
cls
DrawText 120,10,"1020.80",ta_right
DrawText 120,30,"120.80"
DrawText 120,50,"12.80"
DrawText 120,70,"120.80"
DrawText 120,90,"1.80"
DrawText 120,110,"0.80"
waitinput
end
 
02/26/10  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.734 Views

Untitledvor 0 min.
Rainer Hoefs06/11/23
Michael Hettner05/06/22
Matzbub12/29/18
Wilfried06/02/16
More...

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie