English
Source / code snippets

Files demonstration loading Rtf Save

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
RTF: Demo zum Laden und Speichern von RTF-Dateien
Declare RE&, Font&, Ende%, Button1%, Button2%, File$
SetTrueColor 1
WindowStyle $03F
WindowTitle RTF-Demo
Window 207,114 - 498,408
Cls RGB(192,192,192)
Font& = Create(Font,MS Sans Serif,13,0,0,0,0)
SetDialogFont Font&
Let RE&=Create(RichEdit,%hwnd,,30,51,432,202)
Let Button1%=CreateButton(%hwnd,Laden,58,295,75,25)
Let Button2%=CreateButton(%hwnd,Speichern,224,295,75,25)
ende% = 0

WhileNot ende%

    WaitInput

    If %key = 2

        ende%=1

    ElseIf GetFocus (button1%)

        file$ = LoadFile$(Als RTF öffnen,*.RTF)

        If file$ <>

            RTF(LoadRTF,re&,file$)

        EndIf

    ElseIf GetFocus(button2%)

        file$ = SaveFile$(Als RTF speichern,*.RTF)

        If file$ <>

            RTF(SaveRTF,re&,file$)

        EndIf

    EndIf

EndWhile

DeleteObject Font&
End
 
07/16/07  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.103 Views

Untitledvor 0 min.
H.Brill05/03/20
Uwe Lang07/17/18
Peter Max Müller10/14/17
Andre Rohland11/13/11
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (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