| |
|
|
Hubert Binnewies | Hello together...
I Have as a integrally merkwürdigen effect with the @RTF. The following code runs in the Interpreter correct but in the Compilat created tappt im dunkeln me system Error Message and my proggi ends. CompileMarkSeparation
Proc Hilfe
DECLARE DLG&, DIALOGENDE%
DECLARE RICHEDIT1&, text$
DECLARE BUTTON1&
DLG&=@CREATE("DIALOG",%HWND,"Hilfe",300,200,546,500)
BUTTON1& = @CREATE("BUTTON",DLG&,"OK",0238,0440,0070,0030)
RICHEDIT1& =@CREATE("RICHEDIT",DLG&,"",0013,0013,0520,0420)
SETFOCUS(DLG&)
text$ = "Hilfe.rtf"
@RTF("LoadRTF",RICHEDIT1&,text$)
sendmessage (RICHEDIT1&,207,1,0)
LET DIALOGENDE%=0
WHILENOT DIALOGENDE%
WAITINPUT
If @EQU(%KEY,2)
LET DIALOGENDE%= 1
ELSEIF GETFOCUS(RICHEDIT1&) RICHEDIT
ELSEIF GETFOCUS(BUTTON1&) BUTTON
LET DIALOGENDE%= 1
ENDIF
WEND
@DESTROYWINDOW(DLG&)
endproc
make I but the row CompileMarkSeparation@RTF("LoadRTF",RICHEDIT1&,Text$)
To CompileMarkSeparation@RTF("LoadRTF",RICHEDIT1&,Text$)
then runs...but naturally no Text (the in the same ordner as EXE is...
what make I wrong???? |
|
|
| 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!" | 05/18/06 ▲ |
|
|
|
|
Clemens Meier | was there not something with call(&loadrtf ... or. call(&savertf ... ? find but whom Posting not any more. The Search fail here. |
|
|
| |
|
|
|
Hubert Binnewies | the bräuchte I then still detail.....because with the Call rumzuspielen isn't safe...especially since the proggi currency find should.... |
|
|
| 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!" | 05/18/06 ▲ |
|
|
|
|
Hubert Binnewies | I faith I habs..... if I The row: CompileMarkSeparationRichedit1& =@Create("RICHEDIT",Dlg&,"",0013,0013,0520,0420) > To CompileMarkSeparationRichedit1& =@Create("RICHEDIT",Dlg&,"
",0013,0013,0520,0420)e> then works it.... the control must simply not empty his... |
|
|
| 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!" | 05/18/06 ▲ |
|
|
|