I'm trying to modify the ListViewDemoSample included in ControlExDesktop library (library version 1.8, basic4ppc v. 6.8) adding the following line
just after the original lines
Just typing the open parenthesys, I got an "unandled exception" error with the following details:
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
B4X:
lv1.SetColumnWidth(0,30)
B4X:
lv1.AddColumnHeader("Alpha")
lv1.AddColumnHeader("Numeric")
lv1.AddColumnHeader("Order")
The same error (Unandled exception) was raised also adding************** Testo dell'eccezione **************
System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in Dbasic.CCodePage.SmartHelp(Char c)
in Dbasic.CCodePage.textBox1_KeyTyping(Object sender, KeyTypingEventArgs e)
in ActiproSoftware.SyntaxEditor.SyntaxEditor.OnKeyTyping(KeyTypingEventArgs e)
in ActiproSoftware.SyntaxEditor.SyntaxEditor.a(EditorView A_0, Keys A_1, Char A_2, Boolean A_3)
in ActiproSoftware.SyntaxEditor.SyntaxEditor.OnKeyPress(KeyPressEventArgs e)
in System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
in System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
in System.Windows.Forms.Control.WmKeyChar(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in ActiproSoftware.SyntaxEditor.SyntaxEditor.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly caricati **************
mscorlib
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3615 (GDR.050727-3600)
Base di codice: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Dbasic
Versione assembly: 6.80.0.0
Versione Win32: 6.80.0.0
Base di codice: file:///C:/Programmi/Anywhere%20Software/Basic4ppc%20Desktop/Basic4ppc%20Desktop.exe
----------------------------------------
System.Windows.Forms
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3614 (GDR.050727-3600)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ActiproSoftware.SyntaxEditor.Net20
Versione assembly: 4.0.276.0
Versione Win32: 4.0.276.0
Base di codice: file:///C:/Programmi/Anywhere%20Software/Basic4ppc%20Desktop/ActiproSoftware.SyntaxEditor.Net20.DLL
----------------------------------------
ActiproSoftware.WinUICore.Net20
Versione assembly: 1.0.95.0
Versione Win32: 1.0.95.0
Base di codice: file:///C:/Programmi/Anywhere%20Software/Basic4ppc%20Desktop/ActiproSoftware.WinUICore.Net20.DLL
----------------------------------------
ActiproSoftware.Shared.Net20
Versione assembly: 1.0.95.0
Versione Win32: 1.0.95.0
Base di codice: file:///C:/Programmi/Anywhere%20Software/Basic4ppc%20Desktop/ActiproSoftware.Shared.Net20.DLL
----------------------------------------
System.Deployment
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Deployment.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment.resources/2.0.0.0_it_b03f5f7f11d50a3a/System.Deployment.resources.dll
----------------------------------------
System.Xml
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3082 (QFE.050727-3000)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
mscorlib.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3615 (GDR.050727-3600)
Base di codice: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
B4X:
For k=0 To lv1.ItemCount -1
If k Mod 2 = 1 Then
lv1.SetItemBackColor(k , cSilver)
End If
Next
Is there something wrong with my configuration?
Many thanks in advance for your help/suggestions
skipper