English
Forum

Sorting in Listbox - GridBOX

 
[quote:482550d8c6]list_box&=CREATE(GRIDBOX,R_win&,File-Namen;0;200,1,10,140,200,170)

list_box&=CREATE(SORTEDLISTBOX,R_win&,,10,140,200,170)
[/quote:482550d8c6]
i'm noticed, that The Sorting in the sortierten Listbox and the GridBOX with the indicated 1 (sortiert) voneinander deviation. make I the Error or there as a Difference ? In both Images watts the same Unterverzeichnis loaded.

20 kB
Kurzbeschreibung: GridBOX-display
Hochgeladen:10/16/06
Downloadcounter280
Download
18 kB
Kurzbeschreibung: Listbox-display
Hochgeladen:10/16/06
Downloadcounter286
Download
 
10/16/06  
 



there apparently none a response knows, can only yet Roland help -

@Roland
Why sortiert The GridBOX not in the equal manner as SortedListbox ???
 
10/16/06  
 




RGH
can it his, that You To impatience incline? ;)

otherwise could I The question only on Bill Gates weiterleiten. In both Make set I simply the Sortier-Flag (LVS_SORTASCENDING or. LBS_SORT). On The Sorting have I and accordingly XProfan not whom geringsten influence.

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
10/16/06  
 



have me pseudo-GridBOX written. can certainly improved go. circa Mithilfe becomes gebeten
CompileMarkSeparation
DECLARE EE%,P_win&,P_grid&,P_stil%,P_txt%,P_font%
DECLARE stil$
EE%=0

PROC PSEUDO_GRIDBOX

    DesTroyWindow(P_win&)
    P_font%=CREATE("FONT","ARIAL",16,6,0,0,0)
    PARAMETERS X0%,Y0%,X1%,Y1%,art%,titel$
    WindowStyle 84
    P_win&=CREATE("WINDOW",%HWND,"",X0%,Y0%,X1%,Y1%)
    P_grid&=CONTROL("LISTBOX","",art%,1,25,(X1%-7),(Y1%-22),P_win&,101,%HINSTANCE)
    P_stil%=CREATE("BUTTON",P_win&,titel$,1,1,(X1%-7),24)
    SetFont P_txt%,P_font%
    CLEARLIST
    TEXTE
    MoveListToHandle(P_grid&)

ENDPROC

PROC TEXTE

    Addstring "Gerhard Schröder"
    Addstring "Helmut Kohl"
    Addstring "12345"
    Addstring "Konrad Adenauer"
    Addstring "Ludwig Erhard"
    Addstring "Angela Merkel"
    Addstring "67890"
    Addstring "Helmut Schmidt"
    Addstring Date$(2)
    Addstring Date$(1)
    Addstring "Sinnloser Text"
    Addstring "Bla-Bla"

ENDPROC

----------------------------------
CLS
DrawText 10,10,"Kilck auf den Titelbutton sortiert oder unsortiert"
DrawText 10,30,"Listbox hat Mehrfachauswahl. Kann noch erweitert werden"
PSEUDO_GRIDBOX 200,200,250,200,$50B008C3,"Sortiert"
stil$="1"
SetActiveWindow(%HWND)

WHILENOT EE%

    waitinput

    If GetFocus(P_stil%)

        IF stil$="1"

            PSEUDO_GRIDBOX 200,200,250,200,$50B008C1,"Nicht sortiert"
            stil$="0"

        ELSEIF stil$="0"

            PSEUDO_GRIDBOX 200,200,250,200,$50B008C3,"Sortiert"
            stil$="1"

        ENDIF

    EndIf

    Case ScanKey(27):END

='./../../references-fonction/XProfan/endwhile/'>ENDWHILE


go now works - make the, I perfect can: stalls uneasily !
 
10/17/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

822 Views

Untitledvor 0 min.
RudiB.09/29/21
rquindt05/16/18
Peter Max Müller11/25/17
H.Brill10/14/17
More...

Themeninformationen

this Topic has 2 subscriber:

unbekannt (3x)
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