English
Regulars table & Café

is soetwas meaningfully ?

 

Georg
Teles
good late evening,

me interested eure opinion, there on the fongenden code something auszusetzen ?
Proc Test

    Declare h1&, h2&
    h1& = presentment("Text",32,32,RGB(0,0,255),RGB(255,0,0))
    h2& = presentment("Txt2",48,48,RGB(0,255,0),RGB(0,0,255))
    Return Str $(h1&)+"_"+Str $(h2&)

ENDPROC

Proc presentment

    Parameters Text$, x&, y&, color&, bg&
    MCLS x&, y&
    StartPaint -1
    CLS bg&
    Text Color color&,-1
    DrawText 1,1,Text$;-1
    EndPaint
    Return Create("HPIC",0,"&MEMBMP")

ENDPROC

CLS
Declare Test$, pic1&, pic2&
test$ = Test()
pic1& = Val(SubStr$(test $,1,"_"))
pic2& = Val(SubStr$(test $,2,"_"))
DrawPic pic1&,0,0;0
DrawPic pic2&,0,32;0
WaitInput
DeleteObject pic1&
DeleteObject pic2&

Hello
 
XProfan X3
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

03/24/16  
 



Jo,

4. Param DrawText have Semikolon instead of comma,

More set I on attempt not from. ^^
 
03/24/16  
 




RGH
... and then must the fourth Parameter naturally not -1 his, separate here 0, so the Text complete displayed becomes. (so as there standing, becomes the Parameter behind the Semikolon simply ignoring.)

otherwise: I know not, what it yet auszusetzen were. the Program functions. (too under the coming Version X3.1.)

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/24/16  
 




Georg
Teles
very well, many Thanks !

with the Semikolon & -1 my Error, have DrawText since XProfan 10.0 not any more using

RGH (24.03.2016)
(too under the coming Version X3.1.)


hereon Waiting many longing
 
XProfan X3
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

03/24/16  
 




RGH
won't More long last with the X3.1. The new functions and Bugfixes are already final in XProfan X3.1 and FreeProfan 0.95 installed.
The FreeProfan-versions I will well today or tommorrow Upload, To I will XProfan new Installationspakete as well as a Patch create. It can though his, I it here to Easter not any more create and it first in the week to Easter ready becomes.

here find You already time a Documentation the Neuerungen: [...] 

Greeting
Roland
 
XProfan X3
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/24/16  
 




Georg
Teles
Very schöön

RGH (24.03.2016)
It can though his, I it here to Easter not any more create and it first in the week to Easter ready becomes.


only no haste, important is that nothing except eight let watts
Hello
 
XProfan X3
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

03/24/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.356 Views

Untitledvor 0 min.
E.T.12/10/19
Georg Teles09/16/17
Chregu Mueller05/22/17
Torsten Rümker05/10/16
More...

Themeninformationen

this Topic has 3 subscriber:

Georg Teles (3x)
RGH (2x)
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