English
Bugs and vermeintliche

actually Version: XProfan X4

Print GetText incorrect spending

 

Jörg
Sellmeyer
this Error is unfortunately still drin

The expenses with print GetText$ erfolgen one after another, instead of among themselves:
Proc GetStatusText

    parameters hndl&,part&
    Declare buf#,Text$
    Dim buf#,512
    sendmessage(hndl&,1026,part&,buf#)
    Text$ = string $(buf#,0)
    Dispose buf#
    return Text$

endproc

cls
Declare s#
Dim s#,12
Long s#,0 = 50, 280, -1
var st& = Create("StatusWindow",%Hwnd,"",3,s#)
dispose s#
settext st&,0,"Feld 1"
settext st&,1,"Feld 2"
settext st&,2,"Feld 3"
print gettext$(st&,0) + ""
'if to the following GetText$() simply in clinging setting, functions it correctly..
print gettext$(st&,1)
print gettext$(st&,2)
print
print "Nun with Sendmessage"
print GetStatusText(st&,0)
print GetStatusText(st&,1)
print GetStatusText(st&,2)
waitinput
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
05/30/18  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.936 Views

Untitledvor 0 min.
Stringray01/05/22
RGH07/05/20
Rolf Koch01/15/20
lange-jens10/12/19
More...

Themeninformationen

this Topic has 1 subscriber:

Jörg Sellmeyer (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