Salat
Well-known member
Ive made those structures
when I try to get dc.Obiekty(i).Left the System.NullReferenceException appears. Its probably beacous the number of elements in obiekty array is not specified. I realy dont know how to do this.
Ive searched the forum, msdn and help files... please help me...
Code:
Public Structure typeObiektStrony
Dim Left As Integer
Dim Top As Integer
Dim Width As Integer
Dim Height As Integer
Dim Value As String
Dim Text As String
Dim ToolTipText As String
End Structure
Public Structure typeStrony
Dim BackGround As Image
Dim BakcColor As Color
Dim Width As Integer
Dim Height As Integer
Dim Obiekty() As typeObiektStrony
End Structure
Dim dc As typeStrony
when I try to get dc.Obiekty(i).Left the System.NullReferenceException appears. Its probably beacous the number of elements in obiekty array is not specified. I realy dont know how to do this.
Ive searched the forum, msdn and help files... please help me...