| |
|
|
| Hello Frank
i'm thereby your List view in my Program To testing and it falls me the it Problems at minimize has or I make what wrong, means here couple Lines the codes
Window Style 64 dialog&=@CreateWindow(%Hwnd, cover ,4,117,(%maxx-5),500) listview&=CreateListView(dialog&,%hinstance,0,GetSysColor(24),-1,$31) Text$=estatistica.dbf Let quantitativo& = @dbOpen(#1,Text$) @dbclose (#1) if quantitativo& > 0 se a tabela estiver vazia não executa para poder apresentar bytes&=@FileSize(Text$) no listview a ocupação vazia, uma vez que a listview não suporta If bytes&>0 tabelas vazias Dim area#,bytes& ReadFileQuick(addr(Text$),area#,0,bytes&) Dbf-File loading bytes&=DbfToCsv(area#,bytes&,0,0,0) Dbf konvertieren to Csv x&=SetColumnsFromMem(listview&,area#,addr(y&)) automatically Split from Csv-File create SetItemsFromMem(listview&,(area#+y&),(bytes&-y&),x&) Csv File as Items in list view reading Dispose area# EndIf Endif
SetColumnWidth(listview&,0,-1) SetColumnWidth(listview&,1,-1) SetColumnWidth(listview&,2,-1) SetColumnWidth(listview&,3,-1) SetColumnWidth(listview&,4,-1) SetColumnWidth(listview&,6,-1) SetColumnWidth(listview&,7,-1) SetColumnWidth(listview&,8,-1)
AutoSortListview listview&,2,0,0,0,0,2,0,2 ShowListView(listview&,8,15,700,194)
The problem is if I my Program minimiere and it again maximiere then appear only the window with the List view but the Mainwindow of my Program not any more and then can I whom List view only with old+F4 close, is you the already noticed?
grateful for each hint
Fernando |
|
|
| |
|
|
|
| Hello Fernando,
Window Style 64 ?
How minimierst You it because ? has still no Titelleiste and Systembuttons... Profan-Styles:
1 - Window has Vergrößerungsbox (arrow to supra) and can vergrößert go 2 - Window has Verkleinerungsbox (arrow down) and can to that Icon go 4 - Dicker welt (Size the Fensters is veränderbar) 8 - Window has system-Menu 16- Window has first of all no Menu (means too no ©) 32- Window using Bildschirmhintergrund as background 64- the Window has no Headline ...
with normalen windows (Style 31 or 543) there by me no Problems at minimize/maximize. it recommend itself ohnehin, whom Dialogstyle To use, there otherwise a Dll not ordnungsgemäß from memory removes becomes.
If you me whom whole Source + Zusatzdateien zusendest, can I your Program time by me testing. this is with such Problemen anyhow advisable.
Greeting, Frank |
|
|
| |
|
|
|
| Hello Frank
OK,i'll you one part code with the compel Files Send.
gives it the Beispielcode with the editier possibility for Profan? whom with PureBasic come I do not clear
thanks
Fernando |
|
|
| |
|
|
|
| Hello Fernando,
Yes, some Source code (z.B. Lagerverwaltung_Edits.prf) benefit the feature. simply time Rechsklick with the mouse try. is indeed only a row code, the edit einzuschalten
Greeting, Frank |
|
|
| |
|
|