Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15556

Few questions on Listview VS2019

$
0
0
Hello
for VS2019 Vb.net 19 why are syntaxes different from old VS-versions.

No wonder i have few questions to really bother you for some petty issues
Code:

Private Sub Form_Load(sender As Object, e As EventArgs) Handles MyBase.Load
With ListView1
            .View = View.Details
            .FullRowSelect = True
            .GridLines = True
            .CheckBoxes = True
            .Columns(0).Width = 120
            .Columns(0).Text = "Product"
  End With
End sub

1st question
How to make the header of all the columns Bold
to get some idea I tried the same from thread 681685 of this forum
It seems no proper syntax to incorporate in VB.Net19


2nd Question:
How to refresh full listview that means whenever ListView is triggered full items to show from 1st row uptill the range
because .Update just adds the new item to the List and .Clears Just makes things disappear and does not upload the listview with items complete refreshness.


3rd question
How to add from txtQty.text to column 6 ie .Columns(5) so that the value from txtQty.text is displayed through out the column

4th Question
Do we have listview_Change Event ?
As .Column(4) displays the rate with change event i would like to get the Amount .Columns(6) displayed as .Columns(4) * .Columns(5) as per the txtQty.Value
Any possibility

Your guidance will be appreciated

SamD
Thread 8 :892333
40

Viewing all articles
Browse latest Browse all 15556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>