English
Forum

Memo in MultiEdit

 
has there someone a idea, How one a data base Memofelder into MultiEdit loading, Edit and Save can ?
The vorgefertigte @EditBox() gefällt me not at all.
 
06/10/08  
 




RGH
with MoveListToHandle() copy You whom Content the ListBoxListe (there standing Yes the Text from the Memo drin) in your bevorzugtes MultiEdit and subsequently with MoveHandleToList() again back, before You, the Memo in the data base save.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
06/10/08  
 




Thomas
Freier
such a thing:
CompileMarkSeparation
PROC Notiz_Aendern

    Clear Infobox_Text$
    DECLARE BE_DLG&, BE_BUTTON1&,BE_BUTTON2&
    Declare N_Notiz&,memo$,BE_tgb&
    Declare CR$
    CR$=@add$(@Chr$(13),@Chr$(10))                   Definition des Zeilenumbruchzeichens
    @dbUse(#8)
    @dbGo(text$)
    Let Infobox_Text$ =   Notiz :  + @Trim$(@dbGet$(WASSER)) +  vom
    Let Infobox_Text$ = Infobox_Text$ + @Right$(@dbGet$(DATUM),2) + . + @Mid$(@dbGet$(DATUM),5,2) + . + @Left$(@dbGet$(DATUM),4)
    LET BE_DLG&=CREATEDIALOG(BL_Dlg%,Infobox_Text$,276,70,334,420)
    string skstring#,0 =    Notiz
    BE_tgb& = SKCtrl_CreateColorGroupBox(BE_DLG&,skstring#,RGB(0,255,0),RGB(058,110,165),20,20,288,320,%hInstance)
    N_Notiz& = @Create(MultiEdit,BE_tgb&,memo$,8,30,270,280)
    @dbGetMemo(NOTIZ)
    @MoveListToEdit(N_Notiz&)
    string normalBmp#,0 = @add$(GetDir$(@),\bvr\speich1.bvr)
    string hoverBmp#,0 = @add$(GetDir$(@),\bvr\speich2.bvr)
    string clickedBmp#,0 = @add$(GetDir$(@),\bvr\speich2.bvr)
    BE_BUTTON2& = SKCtrl_CreateUserButton(BE_DLG&,0,normalBmp#,hoverBmp#,clickedBmp#,0116,0360,0082,0025,%hInstance)
    string normalBmp#,0 = @add$(GetDir$(@),\bvr\end1.bvr)
    string hoverBmp#,0 = @add$(GetDir$(@),\bvr\end2.bvr)
    string clickedBmp#,0 = @add$(GetDir$(@),\bvr\end2.bvr)
    BE_BUTTON1& = SKCtrl_CreateUserButton(BE_DLG&,0,normalBmp#,hoverBmp#,clickedBmp#,0230,0360,0070,0025,%hInstance)

    WHILE 1

        WaitKey
        Case %key=2:BREAK
        Case @GETFOCUS(BE_BUTTON1&) : BREAK

        IF @GETFOCUS(BE_BUTTON2&) BUTTON Daten speichern

            ClearList
            Declare head$,string$
            string$=@getText$(N_Notiz&)
            MEMO füllen

            while @len(string$)

                head$=@SubStr$(string$,1,CR$)
                addstring head$
                string$=@Del$(string$,1,@len(head$)) Textzeile entfernen
                string$=@del$(string$, 1, 2) Zeilenumbruch entfernen

            wend

            Jetzt hat man alle Textzeilen in der Listbox.
            @dbPutMemo(NOTIZ)
            @dbPutRec(0)
            BREAK

        ENDIF

    WEND

    @destroywindow(BE_DLG&)

./../Function-References/XProfan/endproc/'>ENDPROC


76 kB
Hochgeladen:06/10/08
Downloadcounter127
Download
 
Gruß Thomas
Windows XP SP2, XProfan X2
06/10/08  
 



@thanks on both

Have again to lauter Bäumen whom woods not seen !
...well, Yes one becomes old -
 
06/11/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

764 Views

Untitledvor 0 min.
Walter03/15/20
Wilfried06/02/16
KFU08/15/13
Deli Beatz06/17/12
More...

Themeninformationen

this Topic has 3 subscriber:

unbekannt (2x)
Thomas Freier (1x)
RGH (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