English
Forum

Listbox evaluate

 
@Ferenc
here a short Änderung
The Lines, which geREMT are, are for PROFAN-Version < 10
CompileMarkSeparation
Declare DLG&, Dialogende%
Declare Sortedlistbox1&
Declare Text1&
Declare Button1&
Declare Button2&
Declare Button3&
Declare Button4&
Declare eintragen$
Declare eintrag$
Declare name$
------------------------------------------
DECLARE text$,anzahl&,nr& neu
------------------------------------------

Proc auswerten

    PARAMETERS text$
    Print text$

EndProc

Proc Listbox

    Let DLG&=CreateDIALOG(%HWND,,504,124,347,286)
    ChDir C:\
    AddFiles *.* jetzt werden alle Dateien gezeigt
    AddFiles *.txt hier nur TXT-Dateien
    Let Sortedlistbox1& =@CreateSortedlistbox(DLG&,Sortedlistbox,0015,0045,0218,0192)
    MoveListToHandle(sortedlistbox1&)
    MoveListToList(sortedlistbox1&)
    Let Text1& =@CreateText(DLG&,Dateien:,0015,0025,0070,0020)
    Let Button1& =@CreateButton(DLG&,Anzeigen,0245,0045,0070,0030)
    Let Button2& =@CreateButton(DLG&,Löschen,0245,0085,0070,0030)
    Let Button3& =@CreateButton(DLG&,Hilfe,0245,0165,0070,0030)
    Let Button4& =@CreateButton(DLG&,Schließen,0245,0205,0070,0030)
    SETFOCUS(DLG&)
    Let Dialogende%=0
    anzahl&=GETCOUNT(Sortedlistbox1&)
    print anzahl&

    WhileNot Dialogende%

        Waitinput

        If  %KEY=2

            IF EQU(%Key,2)

                Let Dialogende%= 1

            ElseIf @GETFOCUS(Button1&)Button

            ElseIf @CLICKED(Button1&)Button

                nr&=GETCURSEL(Sortedlistbox1&)
                text$=GETSTRING$(Sortedlistbox1&,nr&)
                AUSWERTEN text$

            ElseIf @GETFOCUS(Button2&)Button

            ElseIf @GETFOCUS(Button3&)Button

            ElseIf @GETFOCUS(Button4&)Button

                Dialogende% = 1

            EndIF

        wend

    ENDWHILE

    DESTROYWINDOW(DLG&)

EndProc

----------------------------------------------
CLSclass=s4 href='./../../function-references/XProfan/listbox/'>Listbox
 
07/02/08  
 



@Ferenc
Freut me, that You weiterkommst. here's a ZIP-File - written from the PROFAN-Profi Gerhard Putschalka - with the Texten Have I to langer Time too the creature the List- Grid- boxing recognized ;)

25 kB
Hochgeladen:07/03/08
Downloadcounter157
Download
 
07/03/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

3.207 Views

Untitledvor 0 min.
Thomas Zielinski10/22/20
RudiB.04/05/20
Member 007717910/19/18
rquindt05/16/18
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (2x)


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