| |
|
|
| 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 ? CompileMarkSeparationDef 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
|
|
|
| |
|
|
|
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. |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Jörg Sellmeyer | |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 12/02/07 ▲ |
|
|
|