52:
Is there a way to define a default Editor which is assigned to each node when the string is loaded (method 2)

' SelectionChanged event - Fires when the user changes the selection.
Private Sub XMLGrid1_SelectionChanged()
	' SelectedNode(0).Editor = "edit"
End Sub

With XMLGrid1
	.Editors.Add "edit",EditType
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		.Picture = "pic1"
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
			.Add("Child <b>3").Value = 103
		End With
		.Expanded = True
	End With
End With
51:
How can I specify a default editor

' AddNode event - Occurs when a node is added to the nodes collection.
Private Sub XMLGrid1_AddNode(ByVal NewNode As EXMLGRIDLibCtl.INode)
	' NewNode.Editor = "calc"
End Sub

With XMLGrid1
	.Editors.Add "calc",CalculatorType
	.LoadXML "<numbers><first_number>100</first_number><second_number>200</second_number></numbers>"
	.ExpandAll 
End With
50:
Is there a way to define a default Editor which is assigned to each node when the string is loaded (method 1)

' AddNode event - Occurs when a node is added to the nodes collection.
Private Sub XMLGrid1_AddNode(ByVal NewNode As EXMLGRIDLibCtl.INode)
	' NewNode.Editor = "edit"
End Sub

With XMLGrid1
	.SelForeColorChild = RGB(128,128,128)
	.Editors.Add "edit",EditType
	.LoadXML "http://www.exontrol.net/testing.xml"
	.ExpandAll 
End With
49:
How can I assign editors to nodes

With XMLGrid1
	.BeginUpdate 
	.AllowDuplicateEntries = True
	With .Editors
		With .Add("name",EditType)
			.Appearance = EtchedApp
		End With
		With .Add("phone",MaskType)
			.Mask = "(###)-######"
			.Appearance = EtchedApp
		End With
		With .Add("date",DateType)
			.Appearance = EtchedApp
		End With
	End With
	With .Nodes.Add("Customer")
		.Picture = "mihai"
		With .Nodes
			.Add("Name","Mihai Filimon").Editor = "name"
			.Add("Phone","(0744)-845287").Editor = "phone"
			.Add("BirthDay",#12/31/1971#).Editor = "date"
		End With
		.Expanded = True
	End With
	.LevelWidth(0) = 82
	.EndUpdate 
End With
48:
I use LoadXml, then inside onNodeAdd event, I add the picture. But the picture doesnt show up. Does the picture have to be a bitmap

' AddNode event - Occurs when a node is added to the nodes collection.
Private Sub XMLGrid1_AddNode(ByVal NewNode As EXMLGRIDLibCtl.INode)
	' NewNode.Picture = LoadPicture("c:\exontrol\images\colorize.gif")
End Sub

With XMLGrid1
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
			.Add("Child <b>3").Value = 103
		End With
		.Expanded = True
	End With
End With
47:
How can I assign a picture to a node ( method 3 )

With XMLGrid1
	.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		.Picture = "pic1"
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
			.Add("Child <b>3").Value = 103
		End With
		.Expanded = True
	End With
End With
46:
How can I save the control's content using a different version of XML DOM
With XMLGrid1
	Set d = CreateObject("Msxml2.DOMDocument.3.0")
	.LoadXML "<customer><first_name>Joe</first_name><last_name>Smith</last_name></customer>"
	.SaveXML d
	Debug.Print( d.xml )
	.ExpandAll 
End With
45:
How can I load the control's content using a different version of XML DOM
With XMLGrid1
	Set d = CreateObject("Msxml2.DOMDocument.3.0")
	With d
		.async = False
		.loadXML "<customer><first_name>Joe</first_name><last_name>Smith</last_name></customer>"
	End With
	.LoadXML d
	.ExpandAll 
End With
44:
How can I get the XML string from the control's content
With XMLGrid1
	Set d = CreateObject("MSXML.DOMDocument")
	With .Nodes.Add("Root")
		.Image = 1
		With .Nodes.Add("Child1")
			.Image = 2
			.Value = "Value <b>1"
		End With
		With .Nodes.Add("Child2")
			.Image = 2
			.Value = "Value <b>2"
		End With
	End With
	.ExpandAll 
	.ResizeToFit 0
	.SaveXML d
	Debug.Print( d.xml )
End With
43:
How can I load the control from a XML DOM object

With XMLGrid1
	Set d = CreateObject("Msxml2.DOMDocument.3.0")
	With d
		.appendChild .createElement("Root")
		With .childNodes.item(0).attributes
			.setNamedItem d.createAttribute("Item-1")
			.item(0).value = "value <b>1"
			.setNamedItem d.createAttribute("Item-2")
			.item(1).value = "value <b>2"
		End With
	End With
	.LoadXML d
	.ExpandAll 
	.ResizeToFit 0
	Debug.Print( d.xml )
End With
42:
How can I load XML from http or URL

With XMLGrid1
	.LoadXML "http://www.exontrol.net/testing.xml"
	.ExpandAll 
End With
41:
How can I load XML from a supplied string

With XMLGrid1
	.LoadXML "<customer><first_name>Joe</first_name><last_name>Smith</last_name></customer>"
	.ExpandAll 
End With
40:
How do I programatically search for a node
With XMLGrid1
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
		End With
	End With
	.Nodes.Add "Parent 3"
	.Search("Child 1",-1).Selected = True
End With
39:
How can I show the control's selection using your EBN technology

With XMLGrid1
	.BeginUpdate 
	With .VisualAppearance
		.Add 1,"gBFLBCJwBAEHhEJAAChABUgIg6AADACAxRDQNABQKAAzQFAYaBiG6GAAGIYxWgmFgAQhFcZQSKUOQTDKNYykCIRSDUJYkSZEIyjAIoBQSGYZAIkGY4ah2A42RhNETyH" & _
"DkUx7E6EZToCA6ChGOozThOEgUOAsExRIaJJ6oSTJAjGR46UjHdTwHCNHyfEAZZSqSaqLhuEYuQLZNZ1dL9KzFFqyIRQaK0IgmaI5VrFVqTPSQASLIKWKKjObIarOA53" & _
"XjFd51DSFBTuGIYaZxGZYeqmeZdT7Xcr2fZUdw2EinIRFeqsHglbQcaBpegXVjNWw5N7EMDuKCdLACdYDaLlWiwHpQAZ7Vi+KgkXDcBwCUIhYQAGy4MAGcwvO7ed70Hg" & _
"OGoBxhmMZxilmW48Eca4TmmYw6jELYFkYB5MjubZ5F2fBWjeKZGjeYIkF4C4/DOPZrm0QhBBCEoBiSRh0B0RwhhQMRIAGYQtAMEIElgFQaEUUAwiECR6FyZAgBgRZOgE" & _
"KZfAkAZDjYGIGiGGBuB6BxiAgcgigeYg4g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MoKDya" & _
"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tE" & _
"sHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQg" & _
"pDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMhZKEwA5jC6SIyEqfh0kuD4MjAAAwcwBw0iKDwjlKVozmyChPDSThyiMDxGk6awbB6XY1iwfQInkPg0GMEAADE" & _
"dRDmcVovm8ex3FkPJrH0WJ5w4UAAkcMYMHOaxmjGTxNGcao1jWbYMkcAAMk2RJ7lycxMgMdpEHMTZMnuXBM7uMAOAG1jAED8HAQ47wGjDHgPwEI+RggcGOAmAAqxDj8D" & _
"oHMTY3BUi7GWPOCAKg3jIBOEIXggBAEBA"
	End With
	.ShowFocusRect = False
	.SelBackColor = &H1000000
	.SelForeColor = -1
	.SelBackColorCollapse = &H2000000
	.SelBackColorChild = -1
	.SelForeColorChild = -1
	.AllowDuplicateEntries = True
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
		End With
		.Expanded = True
		.Selected = True
	End With
	With .Nodes.Add("Parent 3")
		With .Nodes
			.Add("Child <b>1").Value = 103
			.Add("Child <b>2").Value = 104
		End With
	End With
	.Nodes.Add "Parent 4"
	.EndUpdate 
	.LevelWidth(0) = 96
End With
38:
Is it possible to assing a picture to a node (method 2)

With XMLGrid1
	.BeginUpdate 
	.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
	.AlignChildContent = True
	.AllowDuplicateEntries = True
	.SelBackMode = exTransparent
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
		End With
		.BackgroundExt(exExpandBackgroundExtState) = "left[18],client[text=`<img>pic1</img>`,align=0x20]"
		.Expanded = True
	End With
	With .Nodes.Add("Parent 3")
		With .Nodes
			.Add("Child <b>1").Value = 103
			.Add("Child <b>2").Value = 104
		End With
		.BackgroundExt(exExpandBackgroundExtState) = "left[18],client[text=`<img>pic1</img>`,align=0x20]"
		.BackgroundExt(exCollapseBackgroundExtState) = "right[4],client[text=`<img>pic1:19</img>`,align=0x12]"
	End With
	.Nodes.Add "Parent 4"
	.EndUpdate 
	.LevelWidth(0) = 96
End With
37:
Is it possible to assing a picture to a node (method 1)

With XMLGrid1
	.BeginUpdate 
	.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
	.AlignChildContent = True
	.AllowDuplicateEntries = True
	.SelBackMode = exTransparent
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		.Picture = XMLGrid1.HTMLPicture("pic1")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
			.Add("Child <b>3").Value = 103
		End With
		.Expanded = True
	End With
	.Nodes.Add "Parent 3"
	.EndUpdate 
End With
36:
I get "The key already exists" when adding a new node. What can I do ( method 2 )
With XMLGrid1
	.BeginUpdate 
	With .Nodes
		.Add "Item",,"Key1"
		.Add "Item",,"Key2"
		.Add "Item",,"Key3"
	End With
	.EndUpdate 
End With
35:
I get "The key already exists" when adding a new node. What can I do ( method 1 )
With XMLGrid1
	.BeginUpdate 
	.AllowDuplicateEntries = True
	With .Nodes
		.Add "Item"
		.Add "Item"
		.Add "Item"
	End With
	.EndUpdate 
End With
34:
How can I mark the node only, without its child

With XMLGrid1
	.BeginUpdate 
	.AlignChildContent = True
	.AllowDuplicateEntries = True
	.SelBackMode = exTransparent
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
		End With
		.BackgroundExt(exExpandBackgroundExtState) = "top[20,frame=RGB(0,0,0),framethick]"
		.BackgroundExt(exCollapseBackgroundExtState) = .BackgroundExt(exExpandBackgroundExtState)
		.Expanded = True
	End With
	.Nodes.Add "Parent 3"
	.EndUpdate 
End With
33:
How can I mark the entire node

With XMLGrid1
	.BeginUpdate 
	.AlignChildContent = True
	.AllowDuplicateEntries = True
	.SelBackMode = exTransparent
	.Nodes.Add "Parent 1"
	With .Nodes.Add("Parent 2")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
		End With
		.BackgroundExt(exExpandBackgroundExtState) = "[frame=RGB(0,0,0),framethick]"
		.BackgroundExt(exCollapseBackgroundExtState) = .BackgroundExt(exExpandBackgroundExtState)
		.Expanded = True
	End With
	.Nodes.Add "Parent 3"
	.EndUpdate 
End With
32:
How can I specify aditional information for a node, when it is expanded

With XMLGrid1
	.BeginUpdate 
	.AlignChildContent = True
	.SelBackMode = exTransparent
	With .Nodes.Add("Parent")
		With .Nodes
			With .Add("Child <b>1")
				.Value = 100
				.BackgroundExt(exCollapseBackgroundExtState) = "top[2],bottom[2],left[2],right[2],client[pattern=6,frame]"
			End With
			.Add("Child <b>2").Value = 102
		End With
		.BackgroundExt(exExpandBackgroundExtState) = "top[4],bottom[4],left[17],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x20]"
		.BackgroundExt(exCollapseBackgroundExtState) = "top[4],bottom[4],left[4],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x02]"
		.Expanded = True
	End With
	.ResizeToFit 0
	.EndUpdate 
End With
31:
Is it possible to show aditional information for a node

With XMLGrid1
	.BeginUpdate 
	.AlignChildContent = True
	.SelBackMode = exTransparent
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 102
		End With
		.BackgroundExt(exExpandBackgroundExtState) = "top[4],bottom[4],left[4],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x02]"
		.BackgroundExt(exCollapseBackgroundExtState) = .BackgroundExt(exExpandBackgroundExtState)
		.Expanded = True
	End With
	.ResizeToFit 0
	.EndUpdate 
End With
30:
How can I hide the expanding bars under each parent node (method 2)

With XMLGrid1
	.BeginUpdate 
	.Background(exExpandButtonUp) = -1
	.Background(exExpandButtonDown) = -1
	.AlignChildContent = True
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			With .Add("Child <b>2")
				With .Nodes
					.Add("Sub Child <b>2.1").Value = 101
					With .Add("Sub Child <b>2.2")
						With .Nodes
							.Add("Sub Child <b>2.1.1").Value = 101
							.Add("Sub Child <b>2.2.2").Value = 102
						End With
						.Expanded = False
					End With
				End With
				.Expanded = True
			End With
		End With
		.Selected = True
		.Expanded = True
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.EndUpdate 
End With
29:
How can I align the child nodes

With XMLGrid1
	.AlignChildContent = True
	With .Nodes
		.Add("Parent A").Value = 100
		With .Add("Parent B")
			With .Nodes
				.Add("Child<font ;6><off -4><b>1").Value = 101
				.Add("Child<font ;6><off -4><b>2").Value = 102
				With .Add("Child<font ;6><off -4><b>3")
					With .Nodes
						.Add("Node<font ;6><off -4><b>1").Value = 103
						.Add("Node<font ;6><off -4><b>2").Value = 104
					End With
				End With
			End With
			.Expanded = True
			.Selected = True
		End With
	End With
End With
28:
How do I change the control's visual appearance using the UI Visual Designer
With XMLGrid1
	.BeginUpdate 
	.AllowDuplicateEntries = True
	.ShowFocusRect = False
	.GridLinesColor = RGB(128,128,128)
	With .Nodes
		With .Add("Parent A")
			With .Nodes
				.Add("Child<font ;6><off -4><b>1").Value = 100
				.Add("Child<font ;6><off -4><b>2").Value = 101
				With .Add("Child<font ;6><off -4><b>3")
					With .Nodes
						.Add("Node<font ;6><off -4><b>1").Value = 102
						.Add("Node<font ;6><off -4><b>2").Value = 103
					End With
				End With
			End With
			.Expanded = True
			.Selected = True
		End With
		.Add("Parent B").Nodes.Add 1
	End With
	.LevelWidth(0) = 96
	.VisualDesign = "gBFLBWIgBAEHhEJAEGg6oBUHSTNAgAA8IZ7/jEZf78jUZicKAYOhULB8jAQxhEaGUjAkfhcICIgg4vAUHgRCJ0MkcInQBC01ACAADACAxRDAMgBQKAAzQFAYahmG6GA" & _
"AGEZhYgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzXIUBxAAqXZZFUaKAg2Qg4TLBAzUTCQbR7HieQghGoqPpWF4gAhCJQGSYZ" & _
"aDqOQyRhkCC4DIITZkRbTUBiRSdWx8AAMIyiGpoJbudjyXg6V5OTblez9P7AMBvS6nKrhcp2PrhTSYWr+Gp5R7IMhyLI8Uw/DS/Yq1GDYIiuOoIQhCUD0LQ9EyXJqnaI" & _
"zmgXJqFcCR9lUMZYGwFgCnUdJAF4bY3BsfZOnMd4+l0bR2CwHRWAMRpEGEL5WmsRYPCkZZNmeLQ5l0HoHEuJIxmOL50HgBAWgmDpEGGLJWAqbwPg+RZkH+eg9D4Txfhu" & _
"RZeGGdwQH2PQTCmDpFFaKoVB+D5Xmed5pHoX44AWfR+F8UwVnEdpdkMMJKDIChygyIQpAoEh4iIJ5JlgTIcH+XoIFoEwnGEAh6A0KBgiMIICHdRgIlAM4MlKAIcCaIYI" & _
"jYLoLGKIhqCcMxiTgJQ1A0IxEhsJgJFiPg+guI4yFYOA0GMWIUloNhNGIaIXCUI5CE4SwkEkchMhGCxlBkQIUCQZJZCiFIRk0aQVH8IBmAOBJeDcZJYmyFgnAmAhaGaC" & _
"xmGmIhqhoZJZgiXYYAgFgCHQOYOFOEITCQCJpCyEoTW6NoACUZJiFCEoekiaZgmSHQXlYEh0DuDpTjCDQiEgchAg0IpJBoXoZiYKYqHaHAimkYguhMIZpAOMh0GEGBmg" & _
"6JYqmkGowmyK4rAqNoyDsGg2BmCApCuAgNh8agrkqdY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AGhCgwhsAKhoh5iBBqAihKuuhLA2hOgzhshDhqhSgyGdBChWg1ht" & _
"gJhmhSA+glAYBCBtA9BrAaAihfg2BuTuhhgeBMhrgmADA5BNgrg2A5A8AsBrhGhyg8hvBLhWh2g7hhB7hkhbBSBOgrh0hZg/tkAHAChAhvhzBmBhBSBQAQCAg"
	.EndUpdate 
End With
27:
How do I specify to search for name of the nodes only, when the user filters the control

With XMLGrid1
	.BeginUpdate 
	.FilterBarPromptVisible = exFilterBarVisible
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child<font ;6><off -4><b>1").Value = 100
			.Add("Child<font ;6><off -4><b>2").Value = 101
			With .Add("Child<font ;6><off -4><b>3").Nodes
				.Add("Node<font ;6><off -4><b>1").Value = 102
				.Add("Node<font ;6><off -4><b>2").Value = 103
			End With
		End With
		.Expanded = True
	End With
	.AutoSearch = exContains
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptApplyOnName Or FilterPromptEnum.exFilterPromptStartWith
	.FilterBarPromptPattern = "No"
	.EndUpdate 
End With
26:
Is it possible to include child-nodes, when do filtering

With XMLGrid1
	.BeginUpdate 
	.FilterBarPromptVisible = exFilterBarVisible
	.HideSelection = exHideAlways
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child<font ;6><off -4><b>1").Value = 100
			.Add("Child<font ;6><off -4><b>2").Value = 101
			With .Add("Child<font ;6><off -4><b>3").Nodes
				.Add("Node<font ;6><off -4><b>1").Value = 102
				.Add("Node<font ;6><off -4><b>2").Value = 103
			End With
		End With
		.Expanded = True
	End With
	.AutoSearch = exAnyContains
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptIncludeChild Or FilterPromptEnum.exFilterPromptApplyOnValue Or FilterPromptEnum.exFilterPromptApplyOnName Or FilterPromptEnum.exFilterPromptContainsAny
	.FilterBarPromptPattern = "Child3"
	.EndUpdate 
End With
25:
How can I change the control's filtering so it searches for Contains rather than Start

With XMLGrid1
	.BeginUpdate 
	.FilterBarPromptVisible = exFilterBarVisible
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child<font ;6><off -4><b>1").Value = 100
			.Add("Child<font ;6><off -4><b>2").Value = 101
			With .Add("Child<font ;6><off -4><b>3").Nodes
				.Add("Node<font ;6><off -4><b>1").Value = 102
				.Add("Node<font ;6><off -4><b>2").Value = 103
			End With
		End With
		.Expanded = True
	End With
	.AutoSearch = exAnyContains
	.FilterBarPromptType = FilterPromptEnum.exFilterPromptApplyOnValue Or FilterPromptEnum.exFilterPromptApplyOnName Or FilterPromptEnum.exFilterPromptContainsAny
	.FilterBarPromptPattern = "Child3"
	.EndUpdate 
End With
24:
How do I enable the control's filtering support

With XMLGrid1
	.BeginUpdate 
	.FilterBarPromptVisible = exFilterBarVisible
	.HideSelection = exHideAlways
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 101
			.Add("Child <b>3").Value = 102
		End With
		.Expanded = True
	End With
	.EndUpdate 
End With
23:
How can I hide the expanding bars under each parent node (method 1)

With XMLGrid1
	.BeginUpdate 
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAAChABDEMACAADACAxRDQNABQKAAzQFAYaBmGqGAAGEaRWgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzX" & _
"IUBxAAqXZZFUaKAgOMJDTLBAzUTCUKx7HynQACCCaTpGVo8hYhEoDJKMdB1HIZIwyBBcqBNWTFdLAAJFKTdKAMIyiGp4DbudjyXg6V5OTblez9P7AMBvS6nKrhcp2Prh" & _
"TSYWr+Gp5R7IMhyLI8Uw/DS/Yq1GDYIiuOoIQhCUD0LQ9EyXJqnaJnaC5aiuCT7VRjWDYFgFdTpQC8bZuGz7Trmd59XTadhYHSsAyNRDCL6tayLDxSZabZ5aOa6HoOS4" & _
"kjGY4vnQeAEBaCYOkQYYslYCpvA+D5FmSc55j0PhfF8eYHlwQZ2nQTImDsFRaioVB9j8Hx/k+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6SZyH6HpoAOMRxFUFRihKBgglaVZagqIpXCWNoGCkFRkAQg" & _
"I"
	.HideSelection = exHideAlways
	.ExpandButtons = exCustom
	.ExpandButtonsCustom(True) = 16777216
	.ExpandButtonsCustom(False) = 33554432
	.Background(exExpandButtonUp) = &H3000000
	.Background(exExpandButtonDown) = &H3000000
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			With .Add("Child <b>2")
				With .Nodes
					.Add("Sub Child <b>2.1").Value = 101
					With .Add("Sub Child <b>2.2")
						With .Nodes
							.Add("Sub Child <b>2.1.1").Value = 101
							.Add("Sub Child <b>2.2.2").Value = 102
						End With
						.Expanded = False
					End With
				End With
				.Expanded = True
			End With
		End With
		.Selected = True
		.Expanded = True
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.EndUpdate 
End With
22:
How can I change the visual appearance for expand/collapse buttons

With XMLGrid1
	.BeginUpdate 
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAAChABDEMACAADACAxRDQNABQKAAzQFAYaBmGqGAAGEaRWgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzX" & _
"IUBxAAqXZZFUaKAgOMJDTLBAzUTCUKx7HynQACCCaTpGVo8hYhEoDJKMdB1HIZIwyBBcqBNWTFdLAAJFKTdKAMIyiGp4DbudjyXg6V5OTblez9P7AMBvS6nKrhcp2Prh" & _
"TSYWr+Gp5R7IMhyLI8Uw/DS/Yq1GDYIiuOoIQhCUD0LQ9EyXJqnaJnaC5aiuCT7VRjWDYFgFdTpQC8bZuGz7Trmd59XTadhYHSsAyNRDCL6tayLDxSZabZ5aOa6HoOS4" & _
"kjGY4vnQeAEBaCYOkQYYslYCpvA+D5FmSc55j0PhfF8eYHlwQZ2nQTImDsFRaioVB9j8Hx/k+c53n4fogAeTJFHuXY3HCTAygyAociMKBKEKBIeCiCZyHYEAnCEOBUh+" & _
"B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ZCiFIRk0aQVH8IBmAOBJeDcZJYmyFgnAmAhaGaCxmGmIhqhoZJZgiXYYAgFgCHQOYOFOEITCQCJpCyEoTVUNoACUZJiFCEoekiaZgmSHQXlYEh0DuDpTjCDQiEgc" & _
"hAg0IpJBoXoZiYKYqHaHAimkYguhMIZpAOMh0GEGBmg6JYqmkGowmyK4rAqNoyDsGg2BmCApCuAgNh8agrkqdYkGea4ChGCBAEAgI"
	.HideSelection = exHideAlways
	.ExpandButtons = exCustom
	.ExpandButtonsCustom(True) = 16777216
	.ExpandButtonsCustom(False) = 33554432
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			With .Add("Child <b>2")
				With .Nodes
					.Add("Sub Child <b>2.1").Value = 101
					With .Add("Sub Child <b>2.2")
						With .Nodes
							.Add("Sub Child <b>2.1.1").Value = 101
							.Add("Sub Child <b>2.2.2").Value = 102
						End With
						.Expanded = False
					End With
				End With
				.Expanded = True
			End With
		End With
		.Selected = True
		.Expanded = True
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.EndUpdate 
End With
21:
Does your control support transparent selection

With XMLGrid1
	.BeginUpdate 
	.SelBackMode = exTransparent
	.SelBackColorChild = .SelBackColor
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			With .Add("Child <b>2")
				With .Nodes
					.Add("Sub Child <b>2.1").Value = 101
					With .Add("Sub Child <b>2.2")
						With .Nodes
							.Add("Sub Child <b>2.1.1").Value = 101
							.Add("Sub Child <b>2.2.2").Value = 102
						End With
						.Expanded = True
					End With
				End With
				.Expanded = True
			End With
		End With
		.Selected = True
		.Expanded = True
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.EndUpdate 
End With
20:
How can I show the selection with some transparent marker

With XMLGrid1
	.BeginUpdate 
	.AllowDuplicateEntries = True
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 101
		End With
		.Selected = True
		.Expanded = True
	End With
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 101
		End With
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.ShowFocusRect = False
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAAChABdcGACAADACAxRDQNABQKAAzQFAYaBmGqGAAGEaRWgmFgAQhFcZQSKUOQTDKMIziYBYJhGBQxAJCI4DBCIZBwGKQBjASQpUhqHYDTbIMByB" & _
"IUIxMGiYIRoGAxTiAMo8RrSEZTdD8ExTAZ/XzfMAKRpOFo/ULEUw0NR8aRABiNQbkWjYDp1f5nVRaFTxYKoSxbNqIRpGCzoJrKdI1SBEMTWBAddSdBKzX7tHArLgSQJd" & _
"SrLMrzDIka4cACcZxkCioXozBpZVjRMaZJC2KAbMaBQgsQALGqjAaVUJQEgZTTmHS/BLPYDsLQdDyXAqnYTkFwWZa4ATtOK5b6jK6dQgmfAAaJGWzYHpGL4QGCYZKGap" & _
"MgsKaVmwYp8j2RoCCWB4VHQIQjD6FIjF2RpumyewRj6XYrjoMpdk4Pgbm4DZXmmSpRnWeJ9hiN4zAkSRCECBAkFAGhGDGUB1ByBhVGUCxAkQIQ2AsRZRFQDAoEIXoXCU" & _
"IQGBSNg9BoYBNjMbJ/DGTBznyQAwCIKISCOCRigiHgqgmIhIgCfw3k2dgFn6DAihiMg1g2Yo4mINoNBCEwMkOCgPDOTgyhCZBJBYRIQTGmYOGQaQ2E6EQjhkLg2hOZRJ" & _
"DoURAmSSRWFqEJlHAAhZhaZgJHYX4YCWKYKFOGQljmGgohoJoYloUoambTxqgmZwZkoboWCYeZWFaHaOBDRIkCmahDhIIh5nmfoHGOKgmDmIpjGiHoIEIVQjnyXA3A+c" & _
"wgkiIooloZgoiWD5zgCYIMhCFAEIC"
	.SelBackColor = &H1000000
	.SelForeColor = -1
	.SelBackColorChild = -1
	.SelForeColorChild = -1
	.EndUpdate 
End With
19:
How can I highlight the focused/selected node only, instead highlighting its childrend collection (method 3)

With XMLGrid1
	.BeginUpdate 
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 101
		End With
		.Selected = True
		.Expanded = True
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.ShowFocusRect = False
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAAChABGYDg6AADACAxRDQNABQKAAzQFAYaBmGqGAAGEaRWgmFgAQhFcZQSKUOQTDKNYykCIRSDUJYkSZEIyjAIoBQ4GACJBmKKodgONYYTLFYCwT" & _
"JETw5FKEZTEWQBTjGOY5TbNcgUPCMex7IiVJYpOK6ThqTYfQjLUBvfTgAS4f6Laaneg4JDOUYtTjIADRWBMeSxAatK6rWr7BqOYoDUJZcQyDIcNzXAa9aLjO5wAiWPp4" & _
"VJZM54FKVEzfQSrZqoDIrEgOZpBYjMdSgADFXQGDbHbhuS5IWwTBpQZhaGZQTb+mZtZ7oMI6HTuSztW7EMLAC6bJx7LoDazoGKSDo0TZRXLNYqzPIdf4OVq4YTxVi2PZ" & _
"GnmLJfGwOY8m2NhTAmPJcmAZBbmiDo3DuW4ZEgAQQhKAYkkYdA6hyDIjBkAIqBgQgmn0YxRFgGIjF8CRwhOB4ZAkPQdFYMRfCsYICFYCgkEkEhCA0JDeEICglgqYo0i4" & _
"XQMEgZI9gaToYHSb4Hk6Y4+CGB5hlOJgbC8TBoiQAArgqco4muC5OkOMJtguYxIlYMg7GME4uC0K4AAKKg+DwJADiCZw5k6KQWEaEYOHkChADwI5izIKwKjKzQ8E8A4i" & _
"FaEYOjOMgvhEZRjiIVA8CUEouE9SRJEycoWCMCJmFvUAzkYZArAACAgi0PInEkGhauKCYsmqHQPCmSAAgsSp5lCc4dg6WgUm6DkQhicw8g8OiDiwKQDk6EoNCgU40m6J" & _
"ZpFiUoSDyaQCokLIqAobh3iWKRogaB4MmWKhsjMLJLCAAorCyagokYIoImsM46DEOwPEoSovABZR0nSL5pFgfgfhALAqFaPw9CuUrgC2CxSlidQ9E8SoSkSEpsZXj5LF" & _
"sNAAC2bZLDydYwiaW4GFOMIPGsPpcC2QACmSOQuA8a42EvYoZnKcVsAOPJwD0bpSmKagAAuO52m0PYsCmcoLkCLhLjSOwuguIAAjyQpvnkLobkOaQpC6f5CkuQAAj6Bp" & _
"PHwZwCkQKYzkqcQ9k8Y5cj2RejH8JpGE8eZykeSprnmcwoC+TADAAAJMEwA5jDaSoyksHh8rmDLgDBzoHDyJIPCOUpejWbQKG8PJQHMIwPE6UJrhsPpljeLJ9CieQ+DS" & _
"YwQAAMR1kOZxejGb57hcYQ8mufR4nmVwMFAAJHDGDBzmsbozk8TYHHKN42G2LJHAADJNmSe5enOTIjH6Rhzk2Nke4vBMt8GAHADY5wbgUD8HEQ47wOjHHiPwMI+RigcG" & _
"OAmAorgjj8EIHMTY3B0i7GePQDoBwdBvGSCcIQ6BACAIC"
	.SelBackColor = &H1000000
	.SelForeColor = -1
	.SelBackColorChild = -1
	.SelForeColorChild = -1
	.EndUpdate 
End With
18:
How can I highlight the focused/selected node only, instead highlighting its childrend collection (method 2)

With XMLGrid1
	.BeginUpdate 
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 101
		End With
		.Selected = True
		.Expanded = True
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAAChABJUIQAAYAQGKIaBoAKBQAGaAoDDQMw1QwAAwjSK0EwsACEIrjKCRShyCYZRhGcTSAAUEhiGKQBgiGDhViWAwyDABEbwS78agBFyRlqyfKcc" & _
"x9DaAQEBA"
	.ShowFocusRect = False
	.SelBackColor = &H1a0a0a0
	.SelForeColor = -1
	.SelBackColorChild = -1
	.SelForeColorChild = -1
	.EndUpdate 
End With
17:
How can I highlight the focused/selected node only, instead highlighting its childrend collection (method 1)

With XMLGrid1
	.BeginUpdate 
	With .Nodes.Add("Parent")
		With .Nodes
			.Add("Child <b>1").Value = 100
			.Add("Child <b>2").Value = 101
		End With
		.Selected = True
		.Expanded = True
	End With
	.LevelWidth(0) = 64
	.LevelWidth(1) = 96
	.LevelWidth(2) = 96
	.HideSelection = exHideAlways
	.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAAChABdcGACAADACAxRDQNABQKAAzQFAYaBmGqGAAGEaRWgmFgAQhFcZQSKUOQTDKMIziYBYJhGBQxAJCI4DBCIZBwGKQBjASQpUhqHYDTbIMByB" & _
"IUIxMGiYIRoGAxTiAMo8RrSEZTdD8ExTAZ/XzfMAKRpOFo/ULEUw0NR8aRABiNQbkWjYDp1f5nVRaFTxYKoSxbNqIRpGCzoJrKdI1SBEMTWBAddSdBKzX7tHArLgSQJd" & _
"SrLMrzDIka4cACcZxkCioXozBpZVjRMaZJC2KAbMaBQgsQALGqjAaVUJQEgZTTmHS/BLPYDsLQdDyXAqnYTkFwWZa4ATtOK5b6jK6dQgmfAAaJGWzYHpGL4QGCYZKGap" & _
"MgsKaVmwYp8j2RoCCWB4VHQIQjD6FIjF2RpumyewRj6XYrjoMpdk4Pgbm4DZXmmSpRnWeJ9hiN4zAkSRCECBAkFAGhGDGUB1ByBhVGUCxAkQIQ2AsRZRFQDAoEIXoXCU" & _
"IQGBSNg9BoYBNjMbJ/DGTBznyQAwCIKISCOCRigiHgqgmIhIgCfw3k2dgFn6DAihiMg1g2Yo4mINoNBCEwMkOCgPDOTgyhCZBJBYRIQTGmYOGQaQ2E6EQjhkLg2hOZRJ" & _
"DoURAmSSRWFqEJlHAAhZhaZgJHYX4YCWKYKFOGQljmGgohoJoYloUoambTxqgmZwZkoboWCYeZWFaHaOBDRIkCmahDhIIh5nmfoHGOKgmDmIpjGiHoIEIVQjnyXA3A+c" & _
"wgkiIooloZgoiWD5zgCYIMhCFAEIC"
	.Background(exShowFocusRect) = &H1000000
	.EndUpdate 
End With
16:
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

With XMLGrid1
	.BeginUpdate 
	With .Nodes.Add("Parent <font ;6><off 4>1")
		With .Nodes
			With .Add("Child 1")
				.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1"
			End With
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
	With .Nodes.Add("Parent <font ;6><off 4>2").Nodes
		.Add "Child 1"
		.Add "Child 2"
	End With
	.ScrollBars = exBoth
	.ScrollPartVisible(exVScroll,exExtentThumbPart) = True
	.ScrollPartVisible(exHScroll,exExtentThumbPart) = True
	.ScrollPartVisible(&H2,exExtentThumbPart) = True
	.ScrollWidth = 4
	.Background(exVSBack) = RGB(240,240,240)
	.Background(exVSThumb) = RGB(128,128,128)
	.ScrollHeight = 4
	.Background(exHSBack) = .Background(exVSBack)
	.Background(exHSThumb) = .Background(exVSThumb)
	.Background(exScrollSizeGrip) = .Background(exVSBack)
	.EndUpdate 
End With
15:
Does your control support Fit-To-Page, Print and Print-Preview

With XMLGrid1
	With .Nodes.Add("Parent <b>1")
		With .Nodes
			.Add("Child 1").Selected = True
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
	With .Nodes.Add("Parent <b>2")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
	End With
	With CreateObject("Exontrol.Print")
		.Options = "FitToPage = 1x1"
		.PrintExt = XMLGrid1.Object
		.Preview 
	End With
End With
14:
How do I print the control
With XMLGrid1
	With .Nodes.Add("Parent <b>1")
		With .Nodes
			.Add("Child 1").Selected = True
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
	With .Nodes.Add("Parent <b>2")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
	End With
	With CreateObject("Exontrol.Print")
		.PrintExt = XMLGrid1.Object
		.Preview 
	End With
End With
13:
How can we can customize a context menu based on the node type

' MouseUp event - Occurs when the user releases a mouse button.
Private Sub XMLGrid1_MouseUp(Button As Integer,Shift As Integer,X As Single,Y As Single)
	With XMLGrid1
		Debug.Print( "Node:" )
		Debug.Print( .NodeFromPoint(X,Y) )
		With CreateObject("Exontrol.ContextMenu")
			.Items.ToString = "Calendar[id=20][img=0],MSChart[id=30],Record[id=40],Slider[id=50],Radio 1[id=100][typ=2][edit=],Radio 2[id=101][typ=2][edit=],R" & _
	"adio 3[id=102][typ=2][edit=],ComboBox[id=90]"
			Debug.Print( .Select() )
		End With
	End With
End Sub

With XMLGrid1
	With .Nodes.Add("Parent")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
		.Expanded = True
	End With
End With
12:
How we can attach a customized editor, for example, a date-time picker dialog for a date-time attribute using eXMLGrid

' UserEditorClose event - Fired the user editor is about to be opened.
Private Sub XMLGrid1_UserEditorClose(ByVal Object As Object,ByVal Node As EXMLGRIDLibCtl.INode)
	' Node.Value = Object.Value
End Sub

' UserEditorOpen event - Occurs when an user editor is about to be opened.
Private Sub XMLGrid1_UserEditorOpen(ByVal Object As Object,ByVal Node As EXMLGRIDLibCtl.INode)
	' Object.Value = Node.Value
End Sub

With XMLGrid1
	.NodeHeight = 24
	With .Editors
		With .Add("ExCalendarUserEditor",UserEditorType)
			.UserEditor "ExCalendar.CalendarCombo",""
			With .UserEditorObject
			End With
		End With
	End With
	With .Nodes.Add("Date")
		.Editor = "ExCalendarUserEditor"
		.Value = #1/1/2001#
	End With
End With
11:
How can change the visual appearance of the expand/collapse buttons

With XMLGrid1
	.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
	.VisualAppearance.Add 2,"c:\exontrol\images\pushed.ebn"
	With .Nodes.Add("Parent <b>1")
		With .Nodes
			With .Add("Child 1")
				.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1"
				.Selected = True
			End With
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
	With .Nodes.Add("Parent <b>2")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
	End With
	.ExpandBarVisible = True
	.ExpandButtons = exCustom
	.ExpandButtonsCustom(False) = 1
	.ExpandButtonsCustom(True) = 2
	.Background(exExpandButtonDown) = &H1808080
	.Background(exExpandButtonUp) = &H1000000
	.Background(exExpandBarButtonDown) = &H2808080
	.Background(exExpandBarButtonUp) = &H2000000
	.ShowFocusRect = False
	.SelBackColor = RGB(0,0,0)
	.SelBackColorChild = .SelBackColor
	.SelForeColor = RGB(255,255,255)
	.SelForeColorChild = .SelForeColor
End With
10:
How can change the visual appearance of the selected node

With XMLGrid1
	With .Nodes.Add("Parent <b>1")
		With .Nodes
			With .Add("Child 1")
				.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1"
				.Selected = True
			End With
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
	With .Nodes.Add("Parent <b>2")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
	End With
	.ShowFocusRect = False
	.SelBackColor = RGB(0,0,0)
	.SelBackColorChild = .SelBackColor
	.SelForeColor = RGB(255,255,255)
	.SelForeColorChild = .SelForeColor
End With
9:
How can I select programatically a node

With XMLGrid1
	With .Nodes.Add("Parent <b>1")
		With .Nodes
			.Add("Child 1").Selected = True
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
	With .Nodes.Add("Parent <b>2")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
	End With
End With
8:
How can I expand all nodes

With XMLGrid1
	With .Nodes.Add("Parent")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
End With
7:
Does your control support subscript or superscript

With XMLGrid1
	With .Nodes.Add("Parent <font ;6><off 4>1")
		With .Nodes
			With .Add("Child 1")
				.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1"
			End With
			.Add "Child 2"
		End With
		.ExpandAll 
	End With
	With .Nodes.Add("Parent <font ;6><off 4>2").Nodes
		.Add "Child 1"
		.Add "Child 2"
	End With
End With
6:
How can I add a UserType editor ( ActiveX )

' UserEditorClose event - Fired the user editor is about to be opened.
Private Sub XMLGrid1_UserEditorClose(ByVal Object As Object,ByVal Node As EXMLGRIDLibCtl.INode)
	' Node.Value = Object.Value
End Sub

' UserEditorOpen event - Occurs when an user editor is about to be opened.
Private Sub XMLGrid1_UserEditorOpen(ByVal Object As Object,ByVal Node As EXMLGRIDLibCtl.INode)
	' Object.Value = Node.Value
End Sub

With XMLGrid1
	.NodeHeight = 24
	With .Editors
		With .Add("ExComboUserEditor",UserEditorType)
			.UserEditor "Exontrol.ComboBox",""
			With .UserEditorObject
				.MinHeightList = 164
				.MinWidthList = 264
				.AllowSizeGrip = True
				.IntegralHeight = True
				.Alignment = 0
				.ColumnAutoResize = True
				.BeginUpdate 
				.MarkSearchColumn = False
				With .Columns
					With .Add("Car")
						.Width = 32
						.DisplayFilterButton = True
					End With
					With .Add("Equipment")
						.DisplayFilterButton = True
						.DisplayFilterPattern = False
						.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*"
						.FilterType = 3
					End With
				End With
				With .Items
					.CellCaption(.AddItem("Mazda"),1) = "Air Bag"
					.CellCaption(.AddItem("Toyota"),1) = "Air Bag,Air condition"
					.CellCaption(.AddItem("Ford"),1) = "Air condition"
					.CellCaption(.AddItem("Nissan"),1) = "Air Bag,ABS,ESP"
				End With
				.EndUpdate 
			End With
		End With
	End With
	With .Nodes.Add("Car")
		.Editor = "ExComboUserEditor"
		.Value = "Mazda"
	End With
End With
5:
How can I load a XML file

With XMLGrid1
	.LoadXML "C:\Windows\Ultimate.xml"
End With
4:
How can I assign a tooltip to a node

With XMLGrid1
	With .Nodes.Add("Title")
		.Value = "value"
		.ToolTip = "This is a bit of <b>HTML</b> text to be shown when the cursor hovers the node."
	End With
End With
3:
How can I edit the node using a DateType editor

With XMLGrid1
	With .Editors
		With .Add("DateEditor",DateType)
			.Option(exDateMarkToday) = True
		End With
	End With
	With .Nodes.Add("Date")
		.Editor = "DateEditor"
		.Value = #1/1/2001#
	End With
End With
2:
How can I expand a node

With XMLGrid1
	With .Nodes.Add("Parent")
		With .Nodes
			.Add "Child 1"
			.Add "Child 2"
		End With
		.Expanded = True
	End With
End With
1:
How can I add a node

With XMLGrid1
	With .Nodes.Add("Parent").Nodes
		.Add "Child 1"
		.Add "Child 2"
	End With
End With