English
Forum

TXT Click to view

 

Detlef
Tussing
How can I a txt File optimal Show
here my attempt, the but nicht`s taugt.
everything further standing in the attempt.txt
CompileMarkSeparation
 
Gruß Detlef Tussing
Windows XP, XProfan 10
06/27/07  
 




Jac
de
Lad
look time to ReadText and load The whole File in one MultiEdit. the sees already rather from.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
06/27/07  
 



Eigendlichn Einzeiler.

var edit&=createedit(%hwnd,file_get_contents(myfile),0,0,width(%hwnd),-height(%hwnd))
 
06/28/07  
 




Detlef
Tussing
I komm with euren Vorschlägen not really moreover.
nevertheless Thanks for eure Help.
I have everything search, find but no en vergleichbaren Posting.
it's located well on me, I with MultiEdit and ähnlichem yet no experience have, and not knows How one this einsetzt.
 
Gruß Detlef Tussing
Windows XP, XProfan 10
06/28/07  
 



Hello Detlef
here one small Anfangscode....
CompileMarkSeparation
DECLARE edit&,bereich#
DECLARE EE%,print%,save%,aus%,font%
font%=CREATE(FONT,ARIAL,16,6,0,0,0)
EE%=0
-----------------------------------------

PROC BEENDEN

    DISPOSE bereich#
    EE%=1

ENDPROC

------------------------------------------

PROC EDITOR

    PARAMETERS datei$

    IF datei$ >

        edit&=CREATE(MULTIEDIT,%HWnd,,10,25,615,415)
        SetFont edit&,font%
        Dim Bereich#, @FileSize(datei$) + 5
        ReadText Bereich#, datei$
        SendMessage(edit&, $000C, 0, Bereich#)

    ENDIF

ENDPROC

-----------------------------------------
WindowStyle 26
WINDOW (%MaxX/2-320),(%MaxY/2-240)-640,480
USEICON TEXT
WindowTitle Beispielcode
save%=CREATE(BUTTON,%HWND,&Speichern,10,2,80,20)
SetFont save%,font%
print%=CREATE(BUTTON,%HWND,&Drucken,100,2,80,20)
SetFont print%,font%
aus%=CREATE(BUTTON,%HWND,ESC Ende,545,2,80,20)
SetFont aus%,font%
EDITOR dateiname Deine Datei als String angeben

WHILENOT EE%

    WAITINPUT
    CASE ISKEY(27) | CLICKED(aus%):BEENDEN

ENDWHILE

/../Function-References/XProfan/end/'>END
 
06/28/07  
 




Detlef
Tussing

Hello Horst
very this is it was me fehlte, try from your Prog To learn
thanks
 
Gruß Detlef Tussing
Windows XP, XProfan 10
06/28/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

829 Views

Untitledvor 0 min.
mein06/02/13
funkheld05/25/12
liveFamilie05/11/12
Mittermeier Daniel01/30/12

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