It is (but only on the desktop), otherwise RunMethod3 would error, but it returns a ListViewHitTestInfo Class (System.Windows.Forms) object which does not have a Column property which is the reason for the exception. You need to explore ListViewHitTestInfo Members (System.Windows.Forms) for the information you want.Perhaps "HiTest" is not implemented in the listview object ?
... always displays a "freeware-version". How to remove this message?
you can use "lv.SelectRow (lv.RowCount-1)" scroll after each new entry to the last entry.Specially for me, listview must auto-scroll to the last added row or scroll to the row i pass as argument, or i really can't use it in almost any application i develop which has to do with database queries.
with the functions "ViewAs ..." you can change the representation.2) Show/Hide headers.
Does Listview have something similar where I can either set and use the password from the B4P library or set a password natively in Listview with SQLite?
Sub Globals
Dim lvArray(20)
End Sub
Sub App_Start
con.New1
raeder.New1
cmd.New1("",con.Value)
con.open("Data Source = " & Database, Password)
lv.New1("Form2",0,0,Form2.Width , Form2.Height)
lv.FullRowSelect=True
lv.SetRowColor(cBeige,cSilver)
lv.Clear
cmd.CommandText = "SELECT * from [" & Tabelle & "]"
Raeder.Value = cmd.ExecuteReader
Do While raeder.ReadNextRow = True
For c=0 To cmbFeld.Count-1
lvArray(c)=raeder.GetValue(c)
Next
lv.AddRow(lvArray())
Loop
Raeder.Close
Form1.Show
End Sub
The function SelectedRow is not as good, better, it's like this:First, when no row is selected, the function SelectedRow() returns 0. However, when you select the first row, SelectedRow() returns 0 again. I think that when no row is selected, SelectedRow() should return -1 or something like that.
Sub lv_SelectionChanged
If lv.SelectedIndicesCount>0 Then
row=lv.SelectedIndicesItem(0)
End If
End Sub
If you need the source code then use this library: http://www.b4x.com/forum/additional-libraries/1995-controlsexdevice-library.html#post10811Finally, is there any source code for the last version Listview.dll just to see if i could try anything by myself and not disturbing you every time?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?