| |
|
|
Jörg Sellmeyer | The expenses with print GetText$ erfolgen one after another, instead of among themselves: CompileMarkSeparation
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) + ""
print gettext$(st&,1)
print gettext$(st&,2)
print
print "Nun mit 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 ... | 11/04/11 ▲ |
|
|
|
|
| |
|
| |
|
|
|
Jörg Sellmeyer | I faith, it depends so together, that a function whom conclusion the Print-Befehls forms. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/04/11 ▲ |
|
|
|
|
| Well,
AddStrings(... is too a function and thereby fractures Print correctly. circa.
there becomes Roland well ever one internes Flag (not) creep. ^^ |
|
|
| |
|
|
|
RGH | Hello Jörg, the lying in this drop on it, that with GetText$() always only the first area the Statuszeile read go can and there becomes then only one Parameter expects. (See Help GetText$()) the comma becomes of course of XProfan yet red, but not any more the second Parameter. and a comma to one Print means, with the next Printbefehl in the same row with a area stood off moreover To make. (See Help PRINT). one genaueren Beobachter would with the spending noticed, that with the spending with GetText$() always only the first entry the Statuszeile outputted becomes. ;)
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/08/11 ▲ |
|
|
|
|
Jörg Sellmeyer |
one genaueren Beobachter would with the spending noticed, that with the spending with GetText$() always only the first entry the Statuszeile outputted becomes. ;)
thanks - I can me too with what Anderem keep busy...
iFs Verweis shows but, that it even not only in this drop happens. too i'm it already in others Zusammenhängen noticed. in the momentum have I no example parat but if I what have, poste I it.
would be still In any drop a good opportunity GetText$() something aufzubohren. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/09/11 ▲ |
|
|
|
|
RGH | iFs Verweis must I me once more standing. The appendix of GetText$ on The Statuszeile would sure no code idea, though one Yes know ought to, what hineingeschrieben has and it therefore not inquire must. ;) but first of all goes it me circa pure Bugfixes and not circa new Features.
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/09/11 ▲ |
|
|
|
|
Dieter Zornow | I use the oftmals for a directory and the Filenames as well as actually Info by Program there to take off. means white I do not what drin standing. there's sure yet thousand denkbare Opportunities The Statuszeile by Program To benefit. would be means utterly meaningfully |
|
|
| XProfan X2Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 11/09/11 ▲ |
|
|
|
|
Jörg Sellmeyer | the see I How Dieter: if I a Statuszeile einsetze, stand because things drin, The currently occur. they say Yes status- and not Statikzeile. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/09/11 ▲ |
|
|
|
|
| hopefully deliberating your the others processes whom Content the groin as well as z.B. Window Title change can -
for Programmablauf relevante Information would I do not in such Controls lay. ^^ |
|
|
| |
|
|
|
Dieter Zornow | there befürchte I quite nothing, because which normal User can the already do. for Hacker or people which rather know and on a such stupid idea come, should it hold so his and the program crashes Perhaps ex. Yes and ? |
|
|
| XProfan X2Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 11/09/11 ▲ |
|
|
|
|
RGH | then remember one me dran, if it around the next Version goes!
Greeting Roland (becomes The coming 4 days brettspielend without PC in the Sauerland spend) |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 11/09/11 ▲ |
|
|
|