English
Forum

Beginner need Help

 

Stefan81
Hello,I have me straight first XProfan 4 bought,i'm Beginner.

i want gladly one Window create,I have it with the dialog editor zusammengebaut, If I whom dialog starte appear my dialog and a Weißes Interpreter Window, i want but only whom dialog Show without second Weißes Window. what mach I the wrong,
here's the code.
proc dialog

    declare hFont&
    declare _ende%
    declare _dlg%
    declare gridrechn&
    declare cmdende&
    hFont& = create("Font", "ARIAL",14,0,0,0,0)
    setdialogfont hFont&
    _dlg% = create("dialog", %hWnd, "Dialog", 180, 100, 370, 277 + %cyCaption)
    gridrechn& = create("gridbox", _dlg%, "Rechnung", 1, 16, 32, 320, 224)
    create("icon", _dlg%, "MUENZE", 24, 0)
    cmdende& = create("picbutton", _dlg%, 0, 232, 8, 104, 24)
    _ende% = 0

    whilenot _ende%

        waitinput

        if (%key = 2)

            _ende% = 1

        elseif clicked(gridrechn&)

            ' action not yet definiert!

        elseif clicked(cmdende&)

            ' action not yet definiert!

        endif

    endWhile

    destroywindow(_dlg%)
    setdialogfont 0
    deleteobject hfont&

endproc

windowtitle "Dialog-Test"
cls
dialog
waitinput
end
 
01/04/20  
 




Georg
Teles
good evening,

nunja, the CLS created Yes your Mainwindow = %hWnd what you mean

entferne Window Title and CLS first of all...

now müsstest You your Dialogue is not on %hWnd what You now not have separate on % Desktop produce, then might everything fit

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

01/04/20  
 




Stefan81
best Thanks for speedy Help
it has functions.

super
 
01/04/20  
 




H.Brill
Perhaps another Info :
gridrechn& = create("gridbox", _dlg%, "Rechnung", 1, 16, 32, 320, 224)

as second Parameter give You whom String "Rechnung" with.
this Parameter ought to but the Spaltendefinitionen imply.
means
"Spaltenname;Ausrichtung;Breite"

If you several Split have, then too each

Spaltenname;Ausrichtung;Breite .

everything together in a String.
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
01/05/20  
 




Stefan81
thanks for whom Info
 
01/05/20  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.206 Views

Untitledvor 0 min.
Konverter03/24/24
Tommy02/13/23
rafl01/12/21
Micha1233412/08/20
More...

Themeninformationen

this Topic has 3 subscriber:

Stefan81 (3x)
H.Brill (1x)
Georg Teles (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