| |
|
|
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 |
|
|
| |
|
|
|
| Jo,
4. Param DrawText have Semikolon instead of comma,
More set I on attempt not from. ^^ |
|
|
| |
|
|
|
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 X3Intel 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 | |
|
| |
|
|
|
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 X3Intel 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 | |
|
| |
|
|