56 |
ImageSize property on 32 (specifies the size of the control' icons)
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes,var_Nodes1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.ImageSize = 32 oXMLGrid.Font.Size = 16 oXMLGrid.NodeHeight = 32 oXMLGrid.Template = [LevelWidth(-1) = ImageSize] // oXMLGrid.LevelWidth(-1) = oXMLGrid.ImageSize oXMLGrid.Images("gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqNUqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlwyV21cuxugwktzGIzmvwtl0+53U5y0a0Wazmmyu/3dCyOMyXHx/J5nIr9q3uyqnBxFN3G46ma4vb7mD2Ng4nZze00fDkHC7t7us2rOX5tguetpHRlmz4HVqnXk1PjHO+CMPo9MBMC+j2vC8j7wS8cFNI4kBo05UIvfCT/NsnsApU+0Fqg/T+oy/kPxC0sEQfErKQK96+w28UWRI8UGvO8sTLS9r2PWmsMJTDTask3CsIbIEQRA3shOXEEAO/GclJ9FEKrrA8FRbKMXRIlb0JxCkjS1LMswhCcvuel0cv26cSMa8Ufx+2sQwhEUoSXOCjSbLcnxjKc7sdKUVyq28NtVI71P9P7JxtQEapjQ6fzfM8zPfNE2PhIsLL63E40slk5y7N89LcyU9SvMb3SdUc6VJLj5VLVLfO/PS9KzNFHUa/0XyBD0dxlS9cxhMlTRSoNXypPErWDPyfNS+MwprRNO0FD8wVVZ1AI08URwVRjtJ1WCn21QkkUrXVLVPQS/XIk" ; +"FgTxT9iONZ9xVTdq+L1eKg3kkF6Upe68XtfV51/MtrVjBlwYF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ptIkWUfhGK1kZH8RgH5GqvgArqRmt4AAPrTroRofBGADkqr6Rmu4D7CEaHARiwpJrEEZsXXwlVjyMWRsaRqwdkLGNBABZmytmyMnaINZqyVpLR2ftKAAAdd6h2osbaskdiq4EZtgSmyNcbVWRJNXe3AA7REar3b0stlAAXBtoRmvJGLjEYAHUWsFcwCD/rnaop9aEICMAPdK5hT6xpeuzdOtAgKuJeGfdq6ggEbkTvAP+p9UCHXrvKkcgIA==") var_Node = oXMLGrid.Nodes.Add("Parent <b>1") var_Nodes = var_Node.Nodes var_Node1 = var_Nodes.Add("Child 1") var_Node1.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1" var_Node1.Selected = true var_Nodes.Add("Child 2") var_Node.ExpandAll() var_Node2 = oXMLGrid.Nodes.Add("Parent <b>2") var_Nodes1 = var_Node2.Nodes var_Nodes1.Add("Child 1") var_Nodes1.Add("Child 2") oXMLGrid.ExpandBarVisible = true oXMLGrid.ExpandButtons = 3 oXMLGrid.Template = [ExpandButtonsCustom(False) = 1] // oXMLGrid.ExpandButtonsCustom(false) = 1 oXMLGrid.Template = [ExpandButtonsCustom(True) = 2] // oXMLGrid.ExpandButtonsCustom(true) = 2 oXMLGrid.EndUpdate() |
55 |
ImageSize property on 16 (specifies the size of the control' icons)
|
54 |
How can I create a new node with attribute, something like <newnode attr1='at1'/>
local d,oXMLGrid,var_Node,var_Node1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.Images("gBJJgBAICAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf+Pt2RrmazF3zlez+duGhsGk0Vp01i1On0GV1dU1ev1lf2VWymX2e53W73m9327iw+lfCj0gkUkAEllHKnG13j/cHQjb/eHU6b4f74jbwOncjbAB3gjaAB/k8flB8oA4A9cb9ftjXv9Xs+fwAHk80a/HpjTAD7/O2P54D+jaAg=") var_Node = oXMLGrid.Nodes.Add("newnode") var_Node.Image = 1 // var_Node.Nodes.Add("attr1","at1").Image = 2 var_Node1 = var_Node.Nodes.Add("attr1","at1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Image = 2] endwith oXMLGrid.ExpandAll() d = new OleAutoClient("MSXML.DOMDocument") oXMLGrid.SaveXML(d) ? d.xml |
53 |
Is it possible to load the XML with a different version of XML DOM
|
52 |
Is there a way to define a default Editor which is assigned to each node when the string is loaded (method 2)
/* with (this.EXMLGRIDACTIVEXCONTROL1.nativeObject) SelectionChanged = class::nativeObject_SelectionChanged endwith */ // Fires when the user changes the selection. function nativeObject_SelectionChanged() /* SelectedNode(0).Editor = "edit" */ oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject return local oXMLGrid,var_Node,var_Node1,var_Node2,var_Node3,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.Editors.Add("edit",1) oXMLGrid.Nodes.Add("Parent 1") var_Node = oXMLGrid.Nodes.Add("Parent 2") var_Node.Picture = "pic1" var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Nodes.Add("Child <b>3").Value = 103 var_Node3 = var_Nodes.Add("Child <b>3") with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.Value = 103] endwith var_Node.Expanded = true |
51 |
How can I specify a default editor
|
50 |
Is there a way to define a default Editor which is assigned to each node when the string is loaded (method 1)
|
49 |
How can I assign editors to nodes
local oXMLGrid,var_Editor,var_Editor1,var_Editor2,var_Editors,var_Node,var_Node1,var_Node2,var_Node3,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.AllowDuplicateEntries = true var_Editors = oXMLGrid.Editors var_Editor = var_Editors.Add("name",1) var_Editor.Appearance = 4 var_Editor1 = var_Editors.Add("phone",8) var_Editor1.Mask = "(###)-######" var_Editor1.Appearance = 4 var_Editor2 = var_Editors.Add("date",7) var_Editor2.Appearance = 4 var_Node = oXMLGrid.Nodes.Add("Customer") var_Node.Picture = "mihai" var_Nodes = var_Node.Nodes // var_Nodes.Add("Name","Mihai Filimon").Editor = "name" var_Node1 = var_Nodes.Add("Name","Mihai Filimon") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Editor = "name"] endwith // var_Nodes.Add("Phone","(0744)-845287").Editor = "phone" var_Node2 = var_Nodes.Add("Phone","(0744)-845287") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Editor = "phone"] endwith // var_Nodes.Add("BirthDay","12/31/1971").Editor = "date" var_Node3 = var_Nodes.Add("BirthDay","12/31/1971") with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.Editor = "date"] endwith var_Node.Expanded = true oXMLGrid.Template = [LevelWidth(0) = 82] // oXMLGrid.LevelWidth(0) = 82 oXMLGrid.EndUpdate() |
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
|
47 |
How can I assign a picture to a node ( method 3 )
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Node3,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.Template = [HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"] // oXMLGrid.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif" oXMLGrid.Nodes.Add("Parent 1") var_Node = oXMLGrid.Nodes.Add("Parent 2") var_Node.Picture = "pic1" var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Nodes.Add("Child <b>3").Value = 103 var_Node3 = var_Nodes.Add("Child <b>3") with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.Value = 103] endwith var_Node.Expanded = true |
46 |
How can I save the control's content using a different version of XML DOM
|
45 |
How can I load the control's content using a different version of XML DOM
|
44 |
How can I get the XML string from the control's content
local d,oXMLGrid,var_Node,var_Node1,var_Node2 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject d = new OleAutoClient("MSXML.DOMDocument") var_Node = oXMLGrid.Nodes.Add("Root") var_Node.Image = 1 var_Node1 = var_Node.Nodes.Add("Child1") var_Node1.Image = 2 var_Node1.Value = "Value <b>1" var_Node2 = var_Node.Nodes.Add("Child2") var_Node2.Image = 2 var_Node2.Value = "Value <b>2" oXMLGrid.ExpandAll() oXMLGrid.ResizeToFit(0) oXMLGrid.SaveXML(d) ? d.xml |
43 |
How can I load the control from a XML DOM object
local d,oXMLGrid,var_IXMLDOMAttribute,var_IXMLDOMAttribute1,var_IXMLDOMNamedNodeMap oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject d = new OleAutoClient("Msxml2.DOMDocument.3.0") d.appendChild(d.createElement("Root")) var_IXMLDOMNamedNodeMap = d.childNodes.item(0).attributes var_IXMLDOMNamedNodeMap.setNamedItem(d.createAttribute("Item-1")) // var_IXMLDOMNamedNodeMap.item(0).value = "value <b>1" var_IXMLDOMAttribute = var_IXMLDOMNamedNodeMap.item(0) with (oXMLGrid) TemplateDef = [dim var_IXMLDOMAttribute] TemplateDef = var_IXMLDOMAttribute Template = [var_IXMLDOMAttribute.value = "value <b>1"] endwith var_IXMLDOMNamedNodeMap.setNamedItem(d.createAttribute("Item-2")) // var_IXMLDOMNamedNodeMap.item(1).value = "value <b>2" var_IXMLDOMAttribute1 = var_IXMLDOMNamedNodeMap.item(1) with (oXMLGrid) TemplateDef = [dim var_IXMLDOMAttribute1] TemplateDef = var_IXMLDOMAttribute1 Template = [var_IXMLDOMAttribute1.value = "value <b>2"] endwith oXMLGrid.LoadXML(d) oXMLGrid.ExpandAll() oXMLGrid.ResizeToFit(0) ? d.xml |
42 |
How can I load XML from http or URL
|
41 |
How can I load XML from a supplied string
|
40 |
How do I programatically search for a node
|
39 |
How can I show the control's selection using your EBN technology
local oXMLGrid,var_Appearance,var_Node,var_Node1,var_Node2,var_Node3,var_Node4,var_Node5,var_Nodes,var_Nodes1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() var_Appearance = oXMLGrid.VisualAppearance var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAChABUgIg6AADACAxRDQNABQKAAzQFAYaBiG6GAAGIYxWgmFgAQhFcZQSKUOQTDKNYykCIRSDUJYkSZEIyjAIoBQSGYZAIkGY4ah2A42RhNETyHDkUx7E6EZToCA6ChGOozThOEgUOAsExRIaJJ6oSTJAjGR46UjHdTwHCNHyfEAZZSqSaqLhuEYuQLZNZ1dL9KzFFqyIRQaK0IgmaI5VrFVqTPSQASLIKWKKjObIarOA53XjFd51DSFBTuGIYaZxGZYeqmeZdT7Xcr2fZUdw2EinIRFeqsHglbQcaBpegXVjNWw5N7EMDuKCdLACdYDaLlWiwHpQAZ7Vi+KgkXDcBwCUI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ZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ; +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMhZKEwA5jC6SIyEqfh0kuD4MjAAAwcwBw0iKDwjlKVozmyChPDSThyiMDxGk6awbB6XY1iwfQInkPg0GMEAADEdRDmcVovm8ex3FkPJrH0WJ5w4UAAkcMYMHOaxmjGTxNGcao1jWbYMkcAAMk2RJ7lycxMgMdpEHMTZMnuXBM7uMAOAG1jAED8HAQ47wGjDHgPwEI+RggcGOAmAAqxDj8DoHMTY3BUi7GWPOCAKg3jIBOEIXggBAEBA") oXMLGrid.ShowFocusRect = false oXMLGrid.SelBackColor = 0x1000000 oXMLGrid.SelForeColor = -1 oXMLGrid.SelBackColorCollapse = 0x2000000 oXMLGrid.SelBackColorChild = -1 oXMLGrid.SelForeColorChild = -1 oXMLGrid.AllowDuplicateEntries = true oXMLGrid.Nodes.Add("Parent 1") var_Node = oXMLGrid.Nodes.Add("Parent 2") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith var_Node.Expanded = true var_Node.Selected = true var_Node3 = oXMLGrid.Nodes.Add("Parent 3") var_Nodes1 = var_Node3.Nodes // var_Nodes1.Add("Child <b>1").Value = 103 var_Node4 = var_Nodes1.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node4] TemplateDef = var_Node4 Template = [var_Node4.Value = 103] endwith // var_Nodes1.Add("Child <b>2").Value = 104 var_Node5 = var_Nodes1.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node5] TemplateDef = var_Node5 Template = [var_Node5.Value = 104] endwith oXMLGrid.Nodes.Add("Parent 4") oXMLGrid.EndUpdate() oXMLGrid.Template = [LevelWidth(0) = 96] // oXMLGrid.LevelWidth(0) = 96 |
38 |
Is it possible to assing a picture to a node (method 2)
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Node3,var_Node4,var_Node5,var_Nodes,var_Nodes1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.Template = [HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"] // oXMLGrid.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif" oXMLGrid.AlignChildContent = true oXMLGrid.AllowDuplicateEntries = true oXMLGrid.SelBackMode = 1 oXMLGrid.Nodes.Add("Parent 1") var_Node = oXMLGrid.Nodes.Add("Parent 2") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Node.BackgroundExt(-1) = "left[18],client[text=`<img>pic1</img>`,align=0x20]" with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(-1) = "left[18],client[text=`<img>pic1</img>`,align=0x20]"] endwith var_Node.Expanded = true var_Node3 = oXMLGrid.Nodes.Add("Parent 3") var_Nodes1 = var_Node3.Nodes // var_Nodes1.Add("Child <b>1").Value = 103 var_Node4 = var_Nodes1.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node4] TemplateDef = var_Node4 Template = [var_Node4.Value = 103] endwith // var_Nodes1.Add("Child <b>2").Value = 104 var_Node5 = var_Nodes1.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node5] TemplateDef = var_Node5 Template = [var_Node5.Value = 104] endwith // var_Node3.BackgroundExt(-1) = "left[18],client[text=`<img>pic1</img>`,align=0x20]" with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.BackgroundExt(-1) = "left[18],client[text=`<img>pic1</img>`,align=0x20]"] endwith // var_Node3.BackgroundExt(0) = "right[4],client[text=`<img>pic1:19</img>`,align=0x12]" with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.BackgroundExt(0) = "right[4],client[text=`<img>pic1:19</img>`,align=0x12]"] endwith oXMLGrid.Nodes.Add("Parent 4") oXMLGrid.EndUpdate() oXMLGrid.Template = [LevelWidth(0) = 96] // oXMLGrid.LevelWidth(0) = 96 |
37 |
Is it possible to assing a picture to a node (method 1)
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Node3,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.Template = [HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"] // oXMLGrid.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif" oXMLGrid.AlignChildContent = true oXMLGrid.AllowDuplicateEntries = true oXMLGrid.SelBackMode = 1 oXMLGrid.Nodes.Add("Parent 1") var_Node = oXMLGrid.Nodes.Add("Parent 2") var_Node.Picture = oXMLGrid.HTMLPicture("pic1") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Nodes.Add("Child <b>3").Value = 103 var_Node3 = var_Nodes.Add("Child <b>3") with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.Value = 103] endwith var_Node.Expanded = true oXMLGrid.Nodes.Add("Parent 3") oXMLGrid.EndUpdate() |
36 |
I get "The key already exists" when adding a new node. What can I do ( method 2 )
local oXMLGrid,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() var_Nodes = oXMLGrid.Nodes var_Nodes.Add("Item",null,"Key1") var_Nodes.Add("Item",null,"Key2") var_Nodes.Add("Item",null,"Key3") oXMLGrid.EndUpdate() |
35 |
I get "The key already exists" when adding a new node. What can I do ( method 1 )
|
34 |
How can I mark the node only, without its child
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.AlignChildContent = true oXMLGrid.AllowDuplicateEntries = true oXMLGrid.SelBackMode = 1 oXMLGrid.Nodes.Add("Parent 1") var_Node = oXMLGrid.Nodes.Add("Parent 2") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Node.BackgroundExt(-1) = "top[20,frame=RGB(0,0,0),framethick]" with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(-1) = "top[20,frame=RGB(0,0,0),framethick]"] endwith // var_Node.BackgroundExt(0) = var_Node.BackgroundExt(-1) with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(0) = BackgroundExt(-1)] endwith var_Node.Expanded = true oXMLGrid.Nodes.Add("Parent 3") oXMLGrid.EndUpdate() |
33 |
How can I mark the entire node
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.AlignChildContent = true oXMLGrid.AllowDuplicateEntries = true oXMLGrid.SelBackMode = 1 oXMLGrid.Nodes.Add("Parent 1") var_Node = oXMLGrid.Nodes.Add("Parent 2") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Node.BackgroundExt(-1) = "[frame=RGB(0,0,0),framethick]" with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(-1) = "[frame=RGB(0,0,0),framethick]"] endwith // var_Node.BackgroundExt(0) = var_Node.BackgroundExt(-1) with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(0) = BackgroundExt(-1)] endwith var_Node.Expanded = true oXMLGrid.Nodes.Add("Parent 3") oXMLGrid.EndUpdate() |
32 |
How can I specify aditional information for a node, when it is expanded
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.AlignChildContent = true oXMLGrid.SelBackMode = 1 var_Node = oXMLGrid.Nodes.Add("Parent") var_Nodes = var_Node.Nodes var_Node1 = var_Nodes.Add("Child <b>1") var_Node1.Value = 100 // var_Node1.BackgroundExt(0) = "top[2],bottom[2],left[2],right[2],client[pattern=6,frame]" with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.BackgroundExt(0) = "top[2],bottom[2],left[2],right[2],client[pattern=6,frame]"] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Node.BackgroundExt(-1) = "top[4],bottom[4],left[17],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x20]" with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(-1) = "top[4],bottom[4],left[17],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x20]"] endwith // var_Node.BackgroundExt(0) = "top[4],bottom[4],left[4],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x02]" with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(0) = "top[4],bottom[4],left[4],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x02]"] endwith var_Node.Expanded = true oXMLGrid.ResizeToFit(0) oXMLGrid.EndUpdate() |
31 |
Is it possible to show aditional information for a node
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.AlignChildContent = true oXMLGrid.SelBackMode = 1 var_Node = oXMLGrid.Nodes.Add("Parent") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 102 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 102] endwith // var_Node.BackgroundExt(-1) = "top[4],bottom[4],left[4],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x02]" with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(-1) = "top[4],bottom[4],left[4],right[4],client[text=`<font ;6><fgcolor A0A0A0>Count: 2`,align=0x02]"] endwith // var_Node.BackgroundExt(0) = var_Node.BackgroundExt(-1) with (oXMLGrid) TemplateDef = [dim var_Node] TemplateDef = var_Node Template = [var_Node.BackgroundExt(0) = BackgroundExt(-1)] endwith var_Node.Expanded = true oXMLGrid.ResizeToFit(0) oXMLGrid.EndUpdate() |
30 |
How can I hide the expanding bars under each parent node (method 2)
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Node3,var_Node4,var_Node5,var_Node6,var_Nodes,var_Nodes1,var_Nodes2 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.Template = [Background(0) = -1] // oXMLGrid.Background(0) = -1 oXMLGrid.Template = [Background(1) = -1] // oXMLGrid.Background(1) = -1 oXMLGrid.AlignChildContent = true var_Node = oXMLGrid.Nodes.Add("Parent") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith var_Node2 = var_Nodes.Add("Child <b>2") var_Nodes1 = var_Node2.Nodes // var_Nodes1.Add("Sub Child <b>2.1").Value = 101 var_Node3 = var_Nodes1.Add("Sub Child <b>2.1") with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.Value = 101] endwith var_Node4 = var_Nodes1.Add("Sub Child <b>2.2") var_Nodes2 = var_Node4.Nodes // var_Nodes2.Add("Sub Child <b>2.1.1").Value = 101 var_Node5 = var_Nodes2.Add("Sub Child <b>2.1.1") with (oXMLGrid) TemplateDef = [dim var_Node5] TemplateDef = var_Node5 Template = [var_Node5.Value = 101] endwith // var_Nodes2.Add("Sub Child <b>2.2.2").Value = 102 var_Node6 = var_Nodes2.Add("Sub Child <b>2.2.2") with (oXMLGrid) TemplateDef = [dim var_Node6] TemplateDef = var_Node6 Template = [var_Node6.Value = 102] endwith var_Node4.Expanded = false var_Node2.Expanded = true var_Node.Selected = true var_Node.Expanded = true oXMLGrid.Template = [LevelWidth(0) = 64] // oXMLGrid.LevelWidth(0) = 64 oXMLGrid.Template = [LevelWidth(1) = 96] // oXMLGrid.LevelWidth(1) = 96 oXMLGrid.Template = [LevelWidth(2) = 96] // oXMLGrid.LevelWidth(2) = 96 oXMLGrid.EndUpdate() |
29 |
How can I align the child nodes
|
28 |
How do I change the control's visual appearance using the UI Visual Designer
|
27 |
How do I specify to search for name of the nodes only, when the user filters the control
|
26 |
Is it possible to include child-nodes, when do filtering
|
25 |
How can I change the control's filtering so it searches for Contains rather than Start
|
24 |
How do I enable the control's filtering support
|
23 |
How can I hide the expanding bars under each parent node (method 1)
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Node3,var_Node4,var_Node5,var_Node6,var_Nodes,var_Nodes1,var_Nodes2 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() oXMLGrid.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAChABDEMACAADACAxRDQNABQKAAzQFAYaBmGqGAAGEaRWgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzXIUBxAAqXZZFUaKA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neeAmh8Uw1nEIIfDMUJSDQSYyGCFR/GCR5yAkJRgGMRgDHyTYjGSVgmgkchSAoJJhhIRIXCSSQXm4H4HgkQhGBuBgJEgVJWgSVJSAYLg4E2Yx2BuAhJGIcIYCWIxHm4NINiOCJeBuDANliOIBFOJAjhiZQ5AkMhAg6BhJCgbgbH6ZJiFYHAlAkKQkg6EYOEkCRLFTQw4m0OwIlIJIHCRVAshGGRmHmGhohqZoiC4ZAimYEgeF4OwkCUSRUFwZw5mYX4eg6SZyH6HpoAOMRxFUFRihKBgglaVZagqIpXCWNoGCkFRkAQg" ; +"I") oXMLGrid.HideSelection = 1 oXMLGrid.ExpandButtons = 3 oXMLGrid.Template = [ExpandButtonsCustom(True) = 16777216] // oXMLGrid.ExpandButtonsCustom(true) = 16777216 oXMLGrid.Template = [ExpandButtonsCustom(False) = 33554432] // oXMLGrid.ExpandButtonsCustom(false) = 33554432 oXMLGrid.Template = [Background(0) = 50331648] // oXMLGrid.Background(0) = 0x3000000 oXMLGrid.Template = [Background(1) = 50331648] // oXMLGrid.Background(1) = 0x3000000 var_Node = oXMLGrid.Nodes.Add("Parent") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith var_Node2 = var_Nodes.Add("Child <b>2") var_Nodes1 = var_Node2.Nodes // var_Nodes1.Add("Sub Child <b>2.1").Value = 101 var_Node3 = var_Nodes1.Add("Sub Child <b>2.1") with (oXMLGrid) TemplateDef = [dim var_Node3] TemplateDef = var_Node3 Template = [var_Node3.Value = 101] endwith var_Node4 = var_Nodes1.Add("Sub Child <b>2.2") var_Nodes2 = var_Node4.Nodes // var_Nodes2.Add("Sub Child <b>2.1.1").Value = 101 var_Node5 = var_Nodes2.Add("Sub Child <b>2.1.1") with (oXMLGrid) TemplateDef = [dim var_Node5] TemplateDef = var_Node5 Template = [var_Node5.Value = 101] endwith // var_Nodes2.Add("Sub Child <b>2.2.2").Value = 102 var_Node6 = var_Nodes2.Add("Sub Child <b>2.2.2") with (oXMLGrid) TemplateDef = [dim var_Node6] TemplateDef = var_Node6 Template = [var_Node6.Value = 102] endwith var_Node4.Expanded = false var_Node2.Expanded = true var_Node.Selected = true var_Node.Expanded = true oXMLGrid.Template = [LevelWidth(0) = 64] // oXMLGrid.LevelWidth(0) = 64 oXMLGrid.Template = [LevelWidth(1) = 96] // oXMLGrid.LevelWidth(1) = 96 oXMLGrid.Template = [LevelWidth(2) = 96] // oXMLGrid.LevelWidth(2) = 96 oXMLGrid.EndUpdate() |
22 |
How can I change the visual appearance for expand/collapse buttons
|
21 |
Does your control support transparent selection
|
20 |
How can I show the selection with some transparent marker
|
19 |
How can I highlight the focused/selected node only, instead highlighting its childrend collection (method 3)
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() var_Node = oXMLGrid.Nodes.Add("Parent") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 101 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 101] endwith var_Node.Selected = true var_Node.Expanded = true oXMLGrid.Template = [LevelWidth(0) = 64] // oXMLGrid.LevelWidth(0) = 64 oXMLGrid.Template = [LevelWidth(1) = 96] // oXMLGrid.LevelWidth(1) = 96 oXMLGrid.Template = [LevelWidth(2) = 96] // oXMLGrid.LevelWidth(2) = 96 oXMLGrid.ShowFocusRect = false oXMLGrid.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAChABGYDg6AADACAxRDQNABQKAAzQFAYaBm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KG8PJQHMIwPE6UJrhsPpljeLJ9CieQ+DSYwQAAMR1kOZxejGb57hcYQ8mufR4nmVwMFAAJHDGDBzmsbozk8TYHHKN42G2LJHAADJNmSe5enOTIjH6Rhzk2Nke4vBMt8GAHADY5wbgUD8HEQ47wOjHHiPwMI+RigcGOAmAorgjj8EIHMTY3B0i7GePQDoBwdBvGSCcIQ6BACAIC") oXMLGrid.SelBackColor = 0x1000000 oXMLGrid.SelForeColor = -1 oXMLGrid.SelBackColorChild = -1 oXMLGrid.SelForeColorChild = -1 oXMLGrid.EndUpdate() |
18 |
How can I highlight the focused/selected node only, instead highlighting its childrend collection (method 2)
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() var_Node = oXMLGrid.Nodes.Add("Parent") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child <b>1").Value = 100 var_Node1 = var_Nodes.Add("Child <b>1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Value = 100] endwith // var_Nodes.Add("Child <b>2").Value = 101 var_Node2 = var_Nodes.Add("Child <b>2") with (oXMLGrid) TemplateDef = [dim var_Node2] TemplateDef = var_Node2 Template = [var_Node2.Value = 101] endwith var_Node.Selected = true var_Node.Expanded = true oXMLGrid.Template = [LevelWidth(0) = 64] // oXMLGrid.LevelWidth(0) = 64 oXMLGrid.Template = [LevelWidth(1) = 96] // oXMLGrid.LevelWidth(1) = 96 oXMLGrid.Template = [LevelWidth(2) = 96] // oXMLGrid.LevelWidth(2) = 96 oXMLGrid.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAChABJUIQAAYAQGKIaBoAKBQAGaAoDDQMw1QwAAwjSK0EwsACEIrjKCRShyCYZRhGcTSAAUEhiGKQBgiGDhViWAwyDABEbwS78agBFyRlqyfKccx9DaAQEBA") oXMLGrid.ShowFocusRect = false oXMLGrid.SelBackColor = 0x1a0a0a0 oXMLGrid.SelForeColor = -1 oXMLGrid.SelBackColorChild = -1 oXMLGrid.SelForeColorChild = -1 oXMLGrid.EndUpdate() |
17 |
How can I highlight the focused/selected node only, instead highlighting its childrend collection (method 1)
|
16 |
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area
local oXMLGrid,var_Node,var_Node1,var_Nodes,var_Nodes1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.BeginUpdate() var_Node = oXMLGrid.Nodes.Add("Parent <font ;6><off 4>1") var_Nodes = var_Node.Nodes var_Node1 = var_Nodes.Add("Child 1") var_Node1.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1" var_Nodes.Add("Child 2") var_Node.ExpandAll() var_Nodes1 = oXMLGrid.Nodes.Add("Parent <font ;6><off 4>2").Nodes var_Nodes1.Add("Child 1") var_Nodes1.Add("Child 2") oXMLGrid.ScrollBars = 3 oXMLGrid.Template = [ScrollPartVisible(0,65536) = True] // oXMLGrid.ScrollPartVisible(0,65536) = true oXMLGrid.Template = [ScrollPartVisible(1,65536) = True] // oXMLGrid.ScrollPartVisible(1,65536) = true oXMLGrid.Template = [ScrollPartVisible(2,65536) = True] // oXMLGrid.ScrollPartVisible(2 /*0x2 | */,65536) = true oXMLGrid.ScrollWidth = 4 oXMLGrid.Template = [Background(276) = 15790320] // oXMLGrid.Background(276) = 0xf0f0f0 oXMLGrid.Template = [Background(260) = 8421504] // oXMLGrid.Background(260) = 0x808080 oXMLGrid.ScrollHeight = 4 oXMLGrid.Template = [Background(404) = Background(276)] // oXMLGrid.Background(404) = oXMLGrid.Background(276) oXMLGrid.Template = [Background(388) = Background(260)] // oXMLGrid.Background(388) = oXMLGrid.Background(260) oXMLGrid.Template = [Background(511) = Background(276)] // oXMLGrid.Background(511) = oXMLGrid.Background(276) oXMLGrid.EndUpdate() |
15 |
Does your control support Fit-To-Page, Print and Print-Preview
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes,var_Nodes1,var_Print oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject var_Node = oXMLGrid.Nodes.Add("Parent <b>1") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child 1").Selected = true var_Node1 = var_Nodes.Add("Child 1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Selected = True] endwith var_Nodes.Add("Child 2") var_Node.ExpandAll() var_Node2 = oXMLGrid.Nodes.Add("Parent <b>2") var_Nodes1 = var_Node2.Nodes var_Nodes1.Add("Child 1") var_Nodes1.Add("Child 2") var_Print = new OleAutoClient("Exontrol.Print") var_Print.Options = "FitToPage = 1x1" var_Print.PrintExt = oXMLGrid var_Print.Preview() |
14 |
How do I print the control
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes,var_Nodes1,var_Print oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject var_Node = oXMLGrid.Nodes.Add("Parent <b>1") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child 1").Selected = true var_Node1 = var_Nodes.Add("Child 1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Selected = True] endwith var_Nodes.Add("Child 2") var_Node.ExpandAll() var_Node2 = oXMLGrid.Nodes.Add("Parent <b>2") var_Nodes1 = var_Node2.Nodes var_Nodes1.Add("Child 1") var_Nodes1.Add("Child 2") var_Print = new OleAutoClient("Exontrol.Print") var_Print.PrintExt = oXMLGrid var_Print.Preview() |
13 |
How can we can customize a context menu based on the node type
|
12 |
How we can attach a customized editor, for example, a date-time picker dialog for a date-time attribute using eXMLGrid
/* with (this.EXMLGRIDACTIVEXCONTROL1.nativeObject) UserEditorClose = class::nativeObject_UserEditorClose endwith */ // Fired the user editor is about to be opened. function nativeObject_UserEditorClose(Object,Node) /* Node.Value = Object.Value */ oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject return /* with (this.EXMLGRIDACTIVEXCONTROL1.nativeObject) UserEditorOpen = class::nativeObject_UserEditorOpen endwith */ // Occurs when an user editor is about to be opened. function nativeObject_UserEditorOpen(Object,Node) /* Object.Value = Node.Value */ oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject return local oXMLGrid,var_CalendarCombo,var_Editor,var_Editors,var_Node oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.NodeHeight = 24 var_Editors = oXMLGrid.Editors var_Editor = var_Editors.Add("ExCalendarUserEditor",16) var_Editor.UserEditor("ExCalendar.CalendarCombo","") var_CalendarCombo = var_Editor.UserEditorObject var_Node = oXMLGrid.Nodes.Add("Date") var_Node.Editor = "ExCalendarUserEditor" var_Node.Value = "01/01/2001" |
11 |
How can change the visual appearance of the expand/collapse buttons
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes,var_Nodes1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") oXMLGrid.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") oXMLGrid.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn") var_Node = oXMLGrid.Nodes.Add("Parent <b>1") var_Nodes = var_Node.Nodes var_Node1 = var_Nodes.Add("Child 1") var_Node1.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1" var_Node1.Selected = true var_Nodes.Add("Child 2") var_Node.ExpandAll() var_Node2 = oXMLGrid.Nodes.Add("Parent <b>2") var_Nodes1 = var_Node2.Nodes var_Nodes1.Add("Child 1") var_Nodes1.Add("Child 2") oXMLGrid.ExpandBarVisible = true oXMLGrid.ExpandButtons = 3 oXMLGrid.Template = [ExpandButtonsCustom(False) = 1] // oXMLGrid.ExpandButtonsCustom(false) = 1 oXMLGrid.Template = [ExpandButtonsCustom(True) = 2] // oXMLGrid.ExpandButtonsCustom(true) = 2 oXMLGrid.Template = [Background(1) = 25198720] // oXMLGrid.Background(1) = 0x1808080 oXMLGrid.Template = [Background(0) = 16777216] // oXMLGrid.Background(0) = 0x1000000 oXMLGrid.Template = [Background(3) = 41975936] // oXMLGrid.Background(3) = 0x2808080 oXMLGrid.Template = [Background(2) = 33554432] // oXMLGrid.Background(2) = 0x2000000 oXMLGrid.ShowFocusRect = false oXMLGrid.SelBackColor = 0x0 oXMLGrid.SelBackColorChild = oXMLGrid.SelBackColor oXMLGrid.SelForeColor = 0xffffff oXMLGrid.SelForeColorChild = oXMLGrid.SelForeColor |
10 |
How can change the visual appearance of the selected node
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes,var_Nodes1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject var_Node = oXMLGrid.Nodes.Add("Parent <b>1") var_Nodes = var_Node.Nodes var_Node1 = var_Nodes.Add("Child 1") var_Node1.Value = "<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1" var_Node1.Selected = true var_Nodes.Add("Child 2") var_Node.ExpandAll() var_Node2 = oXMLGrid.Nodes.Add("Parent <b>2") var_Nodes1 = var_Node2.Nodes var_Nodes1.Add("Child 1") var_Nodes1.Add("Child 2") oXMLGrid.ShowFocusRect = false oXMLGrid.SelBackColor = 0x0 oXMLGrid.SelBackColorChild = oXMLGrid.SelBackColor oXMLGrid.SelForeColor = 0xffffff oXMLGrid.SelForeColorChild = oXMLGrid.SelForeColor |
9 |
How can I select programatically a node
local oXMLGrid,var_Node,var_Node1,var_Node2,var_Nodes,var_Nodes1 oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject var_Node = oXMLGrid.Nodes.Add("Parent <b>1") var_Nodes = var_Node.Nodes // var_Nodes.Add("Child 1").Selected = true var_Node1 = var_Nodes.Add("Child 1") with (oXMLGrid) TemplateDef = [dim var_Node1] TemplateDef = var_Node1 Template = [var_Node1.Selected = True] endwith var_Nodes.Add("Child 2") var_Node.ExpandAll() var_Node2 = oXMLGrid.Nodes.Add("Parent <b>2") var_Nodes1 = var_Node2.Nodes var_Nodes1.Add("Child 1") var_Nodes1.Add("Child 2") |
8 |
How can I expand all nodes
|
7 |
Does your control support subscript or superscript
|
6 |
How can I add a UserType editor ( ActiveX )
/* with (this.EXMLGRIDACTIVEXCONTROL1.nativeObject) UserEditorClose = class::nativeObject_UserEditorClose endwith */ // Fired the user editor is about to be opened. function nativeObject_UserEditorClose(Object,Node) /* Node.Value = Object.Value */ oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject return /* with (this.EXMLGRIDACTIVEXCONTROL1.nativeObject) UserEditorOpen = class::nativeObject_UserEditorOpen endwith */ // Occurs when an user editor is about to be opened. function nativeObject_UserEditorOpen(Object,Node) /* Object.Value = Node.Value */ oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject return local oXMLGrid,var_Column,var_Column1,var_Columns,var_ComboBox,var_Editor,var_Editors,var_Items,var_Node oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject oXMLGrid.NodeHeight = 24 var_Editors = oXMLGrid.Editors var_Editor = var_Editors.Add("ExComboUserEditor",16) var_Editor.UserEditor("Exontrol.ComboBox","") var_ComboBox = var_Editor.UserEditorObject var_ComboBox.MinHeightList = 164 var_ComboBox.MinWidthList = 264 var_ComboBox.AllowSizeGrip = true var_ComboBox.IntegralHeight = true var_ComboBox.Alignment = 0 var_ComboBox.ColumnAutoResize = true var_ComboBox.BeginUpdate() var_ComboBox.MarkSearchColumn = false var_Columns = var_ComboBox.Columns var_Column = var_Columns.Add("Car") var_Column.Width = 32 var_Column.DisplayFilterButton = true var_Column1 = var_Columns.Add("Equipment") var_Column1.DisplayFilterButton = true var_Column1.DisplayFilterPattern = false var_Column1.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*" var_Column1.FilterType = 3 var_Items = var_ComboBox.Items // var_Items.CellCaption(var_Items.AddItem("Mazda"),1) = "Air Bag" with (oXMLGrid) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellCaption(AddItem("Mazda"),1) = "Air Bag"] endwith // var_Items.CellCaption(var_Items.AddItem("Toyota"),1) = "Air Bag,Air condition" with (oXMLGrid) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellCaption(AddItem("Toyota"),1) = "Air Bag,Air condition"] endwith // var_Items.CellCaption(var_Items.AddItem("Ford"),1) = "Air condition" with (oXMLGrid) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellCaption(AddItem("Ford"),1) = "Air condition"] endwith // var_Items.CellCaption(var_Items.AddItem("Nissan"),1) = "Air Bag,ABS,ESP" with (oXMLGrid) TemplateDef = [dim var_Items] TemplateDef = var_Items Template = [var_Items.CellCaption(AddItem("Nissan"),1) = "Air Bag,ABS,ESP"] endwith var_ComboBox.EndUpdate() var_Node = oXMLGrid.Nodes.Add("Car") var_Node.Editor = "ExComboUserEditor" var_Node.Value = "Mazda" |
5 |
How can I load a XML file
|
4 |
How can I assign a tooltip to a node
|
3 |
How can I edit the node using a DateType editor
|
2 |
How can I expand a node
|
1 |
How can I add a node
local oXMLGrid,var_Nodes oXMLGrid = form.EXMLGRIDACTIVEXCONTROL1.nativeObject var_Nodes = oXMLGrid.Nodes.Add("Parent").Nodes var_Nodes.Add("Child 1") var_Nodes.Add("Child 2") |