| |
|
|
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.
has someone a Statement? want the coercive on each PC center report.
Greeting Erasmus |
|
|
| |
|
|
|
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 X3Grüß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 X3Grüß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...
...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 |
|
|
| |
|
|
|
Erasmus.Herold | |
|
| |
|
|
|
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 |
|
|
| |
|
|
|
E.T. | would have time betray can, with welchem system it working and with welchem not |
|
|
| XProfan X3Grüß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 11Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 11/13/19 ▲ |
|
|
|