English
Source / code snippets

Defs functions Listbox Procedures

 

CompileMarkSeparation
!Source wurde am 23.05.2006 in die Babyklappe auf XProfan.Com abgelegt:

proc Selectchoice

    Parameters handl%,num%
    Sendmessage(handl%,$014E, num% ,1)

Endproc

proc LB_ClearFast

    Parameters handl%
    sendmessage(handl%,$0184,0,0)

05/23/06  
 




CompileMarkSeparation
!Source wurde am 23.05.2006 in die Babyklappe auf XProfan.Com abgelegt:

proc LB_SETPOS

    Parameters Handl%,Num%

    if lt(num%,getcount(Handl%))

        Selectstring(Handl%,Num%-1,Getstring$(Handl%,Num%))

    else

        sub num%,1
        Selectstring(Handl%,Num%,Getstring$(Handl%,Num%))

    endif

EndProc

proc LB_SETSTRING

    Parameters Handl%,String$
    Selectstring(Handl%,-1,String$)

EndProc

proc LB_DELPOS

    Parameters Handl%,Num%
    DeleteString(Handl%,Num%)

EndProc

proc LB_MOVEPOS

    Parameters Handl%,Num%,Numto%
    Declare s$
    s$=Getstring$(Handl%,Num%)
    DeleteString(Handl%,Num%)
    Insertstring(Handl%,Numto%,S$)

EndProc

proc LB_COPYPOS

    Parameters Handl%,Num%,Numto%
    Insertstring(Handl%,Numto%,Getstring$(Handl%,Num%))

EndProc

proc LB_DELLAST

    Parameters Handl%
    LB_DELPOS HANDL%,sub(GETCOUNT(HANDL%),1)

EndProc

proc LB_DELFIRST

    Parameters Handl%
    LB_DELPOS HANDL%,0

EndProc

proc LB_DELSTRING

    Parameters Handl%,String$
    Declare Num%
    NUM%=Selectstring(Handl%,-1,String$)
    DeleteString(Handl%,Num%)
    LB_SETPOS HANDL%,NUM%

EndProc

proc LB_UP

    PARAMETERS HANDL%
    LB_SETPOS HANDL%,Add(GETCURSEL(HANDL%),-1)

EndProc

proc LB_DOWN

    PARAMETERS HANDL%
    LB_SETPOS HANDL%,Add(GETCURSEL(HANDL%),01)

EndProc

proc LB_INSERT

    Parameters Handl%,String$,Num%
    Insertstring(Handl%,Num%,String$2>)

endproc

 
05/23/06  
 



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.649 Views

Untitledvor 0 min.
Gast.081509/06/24
RudiB.03/14/21
Manfred Barei06/06/14
AndreasS07/17/12
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