English
Forum

create edit - not each windows system Centered

 

Erasmus.Herold
Hallöchen ...

have the following trouble: create edit isn't on each windows system Centered. my example shows the word "HALLO" in a very wide Window.

On my "Test-System" is the Text very center, as it his should.
but on other PCs standing the Text hard linksbündig.
info$ = create("Edit", fenster_darueber_2%, "HALLO", 4, 450, 1855, 100)
SetStyle info$, GetStyle(info$) | ~SS_CENTER

has someone a Statement? want the coercive on each PC center report.

Greeting
Erasmus
 
10/03/19  
 




E.T.
Probier time ~ES_Center ($1) , which for a Edit virtual is.
SS_CENTER is for a Static certainly.

Note: the lever for the Edit ought to not of/ one String-variables stored go, rather info% or info&.

by me works the so on various. Systemen....
 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
10/03/19  
 




Matthias
Arlt

Probier time ~ES_Center ($1) , which for a Edit virtual is.
SS_CENTER is for a Static certainly.

the is correct of course, remaining itself in this drop but immediately, there both the worth $1 corresponds to. falls as possible cause accordingly unfortunately from...
 
WinXP SP2, Win7 - XProfan 10/11/FreeProfan32 - Xpia
10/05/19  
 




E.T.
Perhaps. becomes too with SetStyle  das lever info$  not tidy found on some Systemen.
at that testing I had info&  uses...
 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
10/05/19  
 




Georg
Teles
Erasmus.Herold (03.10.2019)
info$ = create("Edit", fenster_darueber_2%, "HALLO", 4, 450, 1855, 100)
SetStyle info$, GetStyle(info$) | ~SS_CENTER


The function Create gives a LongInt as worth back, info$ save a String ergo presumably a 0. accordingly becomes through Style now a Message on The address 0 gesendet. naturally becomes not functions.

theoretical would that here functions...
var info$ = Str $(create("Edit", %hwnd, "HALLO", 4, 40, 185, 100))
SetStyle Val(info$), GetStyle(Val(info$)) | ~ES_CENTER

...power but only sense / can also eleganter resolved go, if you The Handles from irgendeinem reason in a String Save want.

How E.T. wrote, should You whom variables suitable Suffixe allocate (% = Int, & = LongInt, $ = String, ... ) for the Umwandlungen between whom Types recommend the functions VAL (String > Long) and STR$ (Long > String)

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

10/08/19  
 




Erasmus.Herold
calm - teste I - thanks
 
10/29/19  
 




Erasmus.Herold
Hallöchen.

The Align mithilfe the Variable (& = LongInt) umzusetzen brought no Solution and none Difference To before. see presently none Ansatz, because possibly comes The Align according to windows Version How desired Centered or How not desired linksbündig.

finally once more to Info. I have PCs on them fit The Align Centered. On others PCs with same Program not.

thanks and of of my Page from - closed
 
11/12/19  
 




E.T.
would have time betray can, with welchem system it working and with welchem not
 
XProfan X3
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/12/19  
 




p.specht

sometimes helps "Selber zentrieren". is hold More work ...
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
11/13/19  
 



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.686 Views

Untitledvor 0 min.
Frank Reibold11/25/22
Georg Teles10/01/22
N.Art11/18/20
iF09/24/20
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