English
Forum

Text edition Static errors

 

Hubert
Binnewies
Hello together..

I have time of IF ne routine get circa Textausgaben To Center.
I have now fleissig these routine uses and be on one Prob bumped.

Looks you time fogendes example on:
CompileMarkSeparation
Declare TEXT1&,hFontdlg%,Text$
Def @CreateTextM(6)@control("STATIC",@$(2),$50000001,@%(3),@%(4),@%(5),@%(6),@%(1),100, %hInstance)
WINDOW 0,0-400,200
USEFONT "MS Sans Serif",15,0,0,0,0
SETDIALOGFONT 1
Text$="test &&"
TEXT1& = @CreateTextM(%HWND,Text$,0000,0008,0400,0030)
hFontdlg% = @Create("Font","Comic Sans MS",30,0,0,0,0)
setfont TEXT1&,hFontdlg%
wait
/a>

Text$ contains in this drop 2 & characters, but only one becomes displayed.
take I one lane is there only another Unterstrich.
In my Proggie even not yet time the Unterstrich, separate garnichts.
i want not hingehen and all possible Textvariablen to & characters to search, the would my Proggie around the double grow let.

has there of/ one ne idea??

thanks Schonmal beforehand.

Hubert
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
12/04/06  
 




Jörg
Sellmeyer
Hello Hubert,
should because two & To see his? it'll you well nothing other spare stay, as the always abzuchecken. windows uses the characters as Mark fürden Unterstrich. Setz time Text$=test Te&st one and You can it see.
dive The Texts as Literal in the code on? then you can easily everything in &&&& transfiguring and sustain two characters.
If you the somewhere ausliest or as input erhälts, become You The additional Lines install must.

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/04/06  
 




Hubert
Binnewies
it should only one To see his, and the string is ne Kundeneingabe.
can I windows not somehow get across the it on the place whom Unterstrich let should???...because on the place is with on safety grenzender probability NIE one Unterstrich come along, but with safety sometime one & characters.
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
12/04/06  
 




Matthias
Arlt
...and the reicht not ?

Text$=translate$(Text$,&,&&)
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
12/04/06  
 



well with DoppelUnd &&
 
12/04/06  
 




Hubert
Binnewies
ifs not differently goes I will the well install must.....
thanks you...

Hubert...
 
WinXP Prof, XProfan 9.1 Newbie

Ein kluger Kopf sagte mal:
"Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!"
12/04/06  
 



for the settle the Textes become You Perhaps settext  benefit?

supplant still eifnach any Settext in mySettext - and mySettext sees hold so from:
CompileMarkSeparation
12/04/06  
 




Frank
Abbing
rather is it, in static whom Windowstyle SS_NOPREFIX To dial. then behave itself the and-characters too like a integrally normales characters. means:

Def @CreateTextM(6)@control(STATIC,@$(2),$50000081,@%(3),@%(4),@%(5),@%(6),@%(1),100, %hInstance)



P.s.: fetch you of of my Page whom ControlBuilder. so can your in silence all kinds of Controls and Styles try and Profan- or Assemblercode from it Generate...
 
12/04/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.047 Views

Untitledvor 0 min.
Sven Bader07/09/21
Ernst07/12/16
GDL07/25/14
Peter Max Müller10/24/13
More...

Themeninformationen



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