English
Source / code snippets

editor program Richedit Rtf Text

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Richedit-Editor programmieren (RTF-Text)
declare zeile$,datei$

PROC SAVEEDIT

    RTF(SaveRTF,hedit&,datei$)

ENDPROC

Proc RichEditboxEx

    -------------
    parameters titel$
    declare hDialog&, hEdit&, hOk&, hEsc&, Ende%
    hDialog& = create(Dialog, %hWnd, titel$, %MaxX/2 - 320, %MaxY/2 - 240, 640, 480)
    hEdit& = create(RichEdit, hDialog&, , 0, 0, 636, 420)
    SendMessage(hedit&,$0443,0,rgb(0,0,0))
    hOk&  = create(Button, hDialog&, &Ok, 5, Height(hDialog&) - 26, 68, 24)
    Create(ToolTip,%HWnd,hOK&,Der Text wird gespeichert.)
    hEsc&  = create(Button, hDialog&, &Abbruch, 564, Height(hDialog&) - 26, 68, 24)
    Create(ToolTip,%HWnd,hEsc&,Der Editor wird beendet.)
    Ende% = 0
    datei$ = RICHEDIT.RTF
    RTF(LoadRTF,hEDit&,datei$)

    WhileNot Ende%

        WaitInput

        If (%Key = 2) or GetFocus(hEsc&)

            Ende% = 1

        ElseIf GetFocus(hOk&)

            SAVEEDIT
            Ende% = 2

        EndIf

    EndWhile

    destroyWindow(hDialog&)
    return Ende% - 1

endproc

###################################################################
cls
Richeditboxex EditBox
 
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

2.466 Views

Untitledvor 0 min.
Rockford08/01/24
Sven Bader11/18/23
RudiB.09/17/22
Tommy02/15/22
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