Unhandled exception error

skipper

Member
Licensed User
I'm trying to modify the ListViewDemoSample included in ControlExDesktop library (library version 1.8, basic4ppc v. 6.8) adding the following line

B4X:
lv1.SetColumnWidth(0,30)
just after the original lines

B4X:
lv1.AddColumnHeader("Alpha")
lv1.AddColumnHeader("Numeric")
lv1.AddColumnHeader("Order")
Just typing the open parenthesys, I got an "unandled exception" error with the following details:

The same error (Unandled exception) was raised also adding

B4X:
For k=0 To lv1.ItemCount -1
  If k Mod 2 = 1 Then
    lv1.SetItemBackColor(k , cSilver)
  End If
Next
Typing the open parenthesys after lv1.SetItemBackColor, I got the error. In this case, pressing the "Continue" button I was able to complete the line.

Is there something wrong with my configuration?

Many thanks in advance for your help/suggestions

skipper
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…