| |
|
|
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
|
|
|
| |
|
|
|
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 |
|
|
| |
|
|
|
Stefan81 | best Thanks for speedy Help it has functions.
super |
|
|
| |
|
|
|
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 | |
|
| |
|
|