English
Forum

Completed: SetItemText

 
normal read I csv-Files one. Klappt too lovely. now try I the first time with SetItemText.... and already works not ! - What do I do wrong ?
CompileMarkSeparation
Def GetSysColor(1) !USER32,GetSysColor
 $I LISTVIEW_FUNKTIONEN.INC
DECLARE pfad$,programm$,version$,text$[52]
pfad$=GETDIR$(@):programm$=GG-Änderungen:version$=1.0
DECLARE listview&,lv_dll&
lv_dll&=USEDLL(pfad$+\listview.dll)
DECLARE EE%
EE%=0
DECLARE ende%
--------------------------------------------------------------------------------

PROC GG_LISTVIEW_ANZEIGE

    listview&=CreateListview(%hwnd,%hinstance,0,Rgb(255,255,255),-1,$31)
    InsertColumn listview&,Nr.,(30),2
    InsertColumn listview&,Änderndes Gesetz,(420),0
    InsertColumn listview&,Datum,(80),2
    InsertColumn listview&,BGBl,(65),2
    InsertColumn listview&,Geänderter Artikel,(220),0
    InsertColumn listview&,Änderung,(110),0
    ShowListview(listview&,5,40,948,610)
    InitMessages(%hwnd)

ENDPROC

#########################################################

PROC GG_TEXT_ANZEIGE

    text$[1]=FRANK ABBING
    text$[2]=Listview.dll-Entwickler
    SetItemText(listview&,addr(text$[1]),0,0,len(text$[1]))
    SetItemText(listview&,addr(text$[2]),0,1,len(text$[2]))

ENDPROC

#################################################### START
REGISTER(4711 :o) )
Set(FastMode,1)
Set(MessageMode, 2)
WindowStyle 512 + 10
CLS GetSysColor(15)
WINDOW (%MaxX/2-482),(%MaxY/2-354)-964,708
USEICON A
WindowTitle programm$+ - +version$
ende%=CREATE(BUTTON,%HWnd,&Programmende,5,1,150,30)
GG_LISTVIEW_ANZEIGE
GG_TEXT_ANZEIGE

WHILENOT EE%

    WAITINPUT
    Case CLICKED(ende%) | Iskey(80):END
    Case %Key=2:END

ENDWHILE

='./../../Function-References/XProfan/end/'>END
 
12/02/07  
 




Jörg
Sellmeyer
Hello Horst,
SetItemText manipulating available Lines. you mußt means first a row insert. In this case can You means rather with SetItem/SItem works. there Profan Yes in the meantime too with LVs bypass can, can You too AddStrings/SetText use.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/02/07  
 




Frank
Abbing
very. and since Version 2.0 there BuildListview() circa quick Split and Lines To Generate.
 
12/02/07  
 



thanks all Friends
sees now so from and works fine:
CompileMarkSeparation
 
12/02/07  
 




Jörg
Sellmeyer
You can also
CompileMarkSeparation
Addstring(ListView&,  1|Strafrechtsänderungsgesetz|30.08.1951|I S. 739|143|aufgehoben)
>

use, then save You whom detour over Move...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/02/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

466 Views

Untitledvor 0 min.

Themeninformationen



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