Type | Description | |||
ID as Long | A Long expression that indicates the index of the skin being added or replaced. The value must be between 1 and 126, so Appearance collection should holds no more than 126 elements. | |||
Skin as Variant |
A string expression that indicates:
A byte[] or safe arrays of VT_I1 or VT_UI1 expression that indicates the content of the EBN file. You can use this option when using the EBN file directly in the resources of the project. For instance, the VB6 provides the LoadResData to get the safe array o bytes for specified resource, while in VB/NET or C# the internal class Resources provides definitions for all files being inserted. ( ResourceManager.GetObject("ebn", resourceCulture) ). |
Return | Description | |||
Boolean | A Boolean expression that indicates whether the new skin was added or replaced. |
The identifier you choose for the skin is very important to be used in the background properties like explained bellow. Shortly, the color properties uses 4 bytes ( DWORD, double WORD, and so on ) to hold a RGB value. More than that, the first byte ( most significant byte in the color ) is used only to specify system color. if the first bit in the byte is 1, the rest of bits indicates the index of the system color being used. So, we use the last 7 bits in the high significant byte of the color to indicates the identifier of the skin being used. So, since the 7 bits can cover 127 values, excluding 0, we have 126 possibilities to store an identifier in that byte. This way, a DWORD expression indicates the background color stored in RRGGBB format and the index of the skin ( ID parameter ) in the last 7 bits in the high significant byte of the color. For instance, the BackColor = BackColor Or &H2000000 indicates that we apply the skin with the index 2 using the old color, to the object that BackColor is applied.
The skin method may change the visual appearance for the following parts in the control:
The following VB sample changes the visual appearance for the selected node. The SelBackColor property indicates the selection background color. Shortly, we need to add a skin to the Appearance object using the Add method, and we need to set the last 7 bits in the SelBackColor property to indicates the index of the skin that we want to use. The sample applies the "" to the selected node:
With XMLGrid1 With .VisualAppearance .Add &H22, App.Path + "\selected.ebn" End With .SelForeColor = RGB(0, 0, 0) .SelBackColor = RGB(0,0,255) Or &H22000000 End With
The following C++ sample changes the visual appearance for the selected node:
#include "Appearance.h" m_xmlgrid.GetVisualAppearance().Add( 0x22, COleVariant(_T("D:\\Temp\\EXMLGrid.Help\\selected.ebn")) ); m_xmlgrid.SetSelBackColor( RGB(0,0,255) | 0x22000000 ); m_xmlgrid.SetSelForeColor( 0 );
The following VB.NET sample changes the visual appearance for the selected node:
With AxXMLGrid1 With .VisualAppearance .Add(&H22, "D:\Temp\EXMLGrid.Help\selected.ebn") End With .SelForeColor = Color.Black .Template = "SelBackColor = 587137024" End With
where the 587137024 value is the hexa representation of 0x22FF0000
The following C# sample changes the visual appearance for the selected node:
axXMLGrid1.VisualAppearance.Add(0x22, "d:\\temp\\EXMLGrid.Help\\selected.ebn"); axXMLGrid1.Template = "SelBackColor = 587137024";
where the 587137024 value is the hexa representation of 0x22FF0000.
The following VFP sample changes the visual appearance for the selected node:
With thisform.XMLGrid1 With .VisualAppearance .Add(34, "D:\Temp\EXMLGrid.Help\selected.ebn") EndWith .SelForeColor = RGB(0, 0, 0) .SelBackColor = RGB(0,0,255) + 570425344 EndWith
The screen shot was generated using the following template:
BeginUpdate ExpandBarVisible = True Font { Name = "Trebuchet MS" } Editors { Add("Edit", 1) Add("Slider",19) { Option(41) = 100 } Add("Progress",13) Add("Calendar",7) } Images("gBJJgBAIFAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLojApwApzAplTqlVq1Mh9Qp6ArlXr1fsFhlVRrVSiYAriAib/tdtiFurNvt9iul1u0ZslnslpuFsvl/ruAtVzu+Fw1KvNZxN+rtyrNqjOQtEayWSwmHzGZoOKp96reNuOhtmO0eitua1Gpmtkuecs2PwOxwem0mU22q3G5lmttms02CtGy4Nq4G643Hl+13emxdljOu5HR6U/5VZs/T7HZzem7Xd73f8Hh8Xj8nl83n9HGrvB6N8vNI9ca5WZy9232lxmYt/up9k96fuE3i+rC2r5pW6yhvXAroL2ySqtq/ipQa4iuv+mq+QE5sBPqw8EKM+7nP8/rPtm/KiwWxkKRU5z9wrEazJY4SzwE4EUNO6kPOe3rOo3HLqvxC7IRtEUJRJAcWp1G0IrbEEJxDHiVL5GboSk38ZNo7ibvrDkcxrLC2JpJsXyeqUMS/JkxphJUXKkt8xTbKkZJXM0wO42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IGcRoURNA2CMJgbYGhxDjF2BoIYAAwhHBwOsDoIxaB5EeBFAIxxsD1A+KMcgfxIBSAMEIJACQGggHIDwQojhnDsDROMQIIwyB8EcJICQTgkhJCyCMEo5BSCYEkNIM1ahcg9BMKUAgnRKAyD8EieonAXgFHoKcSoMhRBVCUNkLIKxyhcFiJUaQygsBLByG0FoZRiC0EuFIbwXRliZCpRkMAugLiTAMGEZgKREgxHMDQZImBZguDIEwZIlQZhmEIM8TQUwdBqCaBkVYNBzAjF2BkMQ4AujNFyLsG4Jh6DhE4BMRwbxnBZGKDkU4JBzidCmKYOwThEjdB0OcPg7RN1fDIIsMIcwehnF4PYT4Ex3B9CeNkeYPxzjlAAJ8agBhBBQB0A0IAqAigFFCDQDwfJ6iOBaAUXoDxRA0CEIkKIWgUhFHQJ0DIohqBqEYFEXQPQjhpAKBwUgVA/CRGkBoElGQUCyAsLQU1khVBZCWOkOoMRSi0GcJgKYSgyhNDSMUG4pwqDaE8FMTQewnDpDGLsDAYhgBZGoDoRYUQVA1CSKkCoLhRjUG0JUKYqgyhPFUFUI2aQFCtCoOoXoVRUVfDAIocIYwrhqH6F4VgFRHCxCsFoYYWR1glDQKwaophbBWF0N0LQqxChtFcDUXwsAbCVAEJgAo+M+j1HML0a4qh8hfHWPVGAtgHDAsqAUMIbAiiH0ABoYwWBNgbDAJMAQoQtiJESDIK4dBghlHYMUTIswrBuuuNu947cEBIAUAUIIqAqDAEuKETQXBahJDcNYLQmwthqHaHUWISRkh5BgAAAQAiAg") } SelBackColor = 67108863 SelForeColor = RGB(0,0,0) BackGround(0) = 16777216 BackGround(1) = 33554432 BackGround(2) = 16777216 BackGround(3) = 33554432 BackGround(4) = 67108864 BackGround(5) = 83886080 BackGround(8) = 67108863 BackGround(9) = 67108863 BackGround(10) = 67108863 BackGround(11) = 67108863 BackGround(12) = 67108863 BackGround(13) = 67108863 BackGround(14) = 67108863 BackGround(15) = RGB(208,207,224) BackGround(16) = 67108864 ShowFocusRect = False SelBackColorChild = RGB(255,255,255) SelForeColorChild = RGB(0,0,0) BackColor = RGB(255,255,255) OLEDropMode = -1 LevelWidth(0) = 96 LevelWidth(1) = 54 LevelWidth(2) = 72 ExpandButtons = 2 Nodes { Add("Collapsed 1 ( hover the cursor here...)") { Image = 1 Picture= "gBHJJGHA5MJAAEIe4AAAFh0OCERiQbigwEobAsXCAljkcHYwDYQkAli0iGAwHYlCA7HZQIpFKExLcxMpbLc1LZ7MplQpwIpbOBwPdBnpwSFDPdJo57TZ7XbwQskQpQEqFLdVOCFrSbrSlQqQr1PQrFfaQiKQq9oGCQMolSFgSCbWFxXdgYqQWDQSC7bd7eCQYrlwFlaD7TcRTcxxJbTdtxowTZwEqbuKbuVyaCbvibYrwTeFTbbfalyWkGClyylUqw1S71euXbFUq7cqlaG1aDwUuiUrlfawiiwyXCOHCPdzMqwWC75TF5fOwKwbbwWG+XccXcsXZ7Eq7XbQ2Pg2/feFPfbFhzFk7Fl7FmLFnbF7jFQucSAwYqbUrF7zFYpoP+cpim3ARywEeB9mghxoIiaCTmgmxoD2QpoEKDcKwo+69EgzIYGgUooPAz5oG3Ehym2jhtpObaWG2l5tpibabm2nZtqCbatL6Eq+hgbZNx6WAtm2XZCm2/JtwI0R9nKHYinKmxyp2cqgnKrTBEgcpNg3LJNnLE0DQMeB4IieCOHgk54JeeCYqgQrqB26hYPKLbyqe+B4G2UsxT2fZ9ocfaKH2jh9pOfaWH2l59pifabH2nZ9qCfakn2rSykgwxNtGUp9u886yGgMsEsKvp9yRJbfPKfcxT6Xc+rJPoA1jWVZ1pWtbVvXFc11XdeV7X1f2BYNdoYAAQnyAgAoYf4ABZYiE2eIAEWWf4Eg4JBYFAYJBgQCYVC4LAIGYDZDlOGRmm0IpYjEUogW2JJtCwVBpFIJQKhWYQdAKUwSAwCYGAqSw+DmBRrFYS4YH+AhNiSGYMBaTAcDOJJVByeYrGcLJXG8aBQECGRyl+SpTisFIumUWg0mmHwyDULwxFIYgjkSCQZDMZAUFCYhlk8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QhARAUAIAgGAwBBAkB4PIlwbAYACAMCYgBgAOBcBAAQNQ2BBAeIcFAjgLC+EoAAO4mRzA+DGIsVIAgMBwBABNAJAwAAB1BGBBAOgkAIgOhxAMADg3BCAFhVAdAMhRBCgVgyhUhThKBQBBhLgRAbgPBchogGhUgygkAAgpg7g6ABgdgcBTg3A7hNh1A8BMA5hqhPBpAggEAtAOhnhvBOBRgEAOAIAggCgwhuhIgDnYBAgGgiQCA0g+gpiEAAAdiAg==" Nodes { Add("Child1 ", "Value 1") { Image = 2 } Add("Child2 ", "Value 2") { Image = 3 } Add("Child3 ", "Value 3") { Image = 4 } Add("Child4 ", "Value 4") { Image = 5 } } } Add("Expanded 2") { ForeColor = RGB(0,0,80) Image = 2 Picture = "gBHJJGHA5MJFABAAD3AENhozhpmhqZhrMhr/h0QGcQM0QTMQZkQf8QAESGcSM0STMSZkSf8SAEUGcUM0UTMUZkUf8UAEWGcWM0WTMWZkWf8WAEYGcYM0YTMYZkYf8Yh8ak0yn1KAEbrkdmcbkNLjcljcdlMzjstpcdmMbj81mcfnNLj89sEnkNDn8ho8ijcjpszkdRpcjiMclE0oFMrdes9woMnwEls0plMroMpl8qjuYlc3oMrncstMpltDoMto8ujubl9PoMvqcwusrmM2oVOrcftFxmd5kc0t+ez+n1+3uM1m83nNPm89uUr5s5otPnNJj+jnfOqNPncVkEsnFEqFbsNqudFn+DkshzOh1OxoMxvOn6fUndEkNF1NDoqiqOoy+NUnMAqOqakMMl7sKSoypK2ka1ropa+JGpjANc0TVNkmLgte7aju8p6esGl7uqjAEDqTCzZJ3BCpxgh0ZRnGkaxtG8cRzHUdx5HqHBCfICAChprgAFkZIQhQAAQjBXgSDgkFgUBgkGBAGmcFRcCgMAQAyGQJCUTgkFicRiBcGYsBgWhkFicYgisRAFFkXQhCMAwVkCaACFkCRyFiEoijWa4sDqdI5HkDRaCyVgzDwIJgFUcxaiyLoBHyOgkjocBhDQQKgjIaoFCiS4Vi6ZByFwCQECiJ4gkCTwLG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UGIkwmgwEoL0QohhFCDHAPIawvhDAkAQGEYIkxGhEEYOMcYuhQCHFCMwU4o+iig6kGYW4YA+jyBeC8HQmAKi6EoJILIHB5hfEOIMcgwQnAHByOYKgSAxhFH6NICQewJBQC+AkEQlxnhpDSOwMg5wJiMAkAVWA9QKArFYHYJgXwejSCuBETgagmhkDCIoDgBhkAggeMMbghA5AoEgP0dQqQqBZCSBUYweQrCBHQGECoOgxDQAUKoCA1wUjKCcIQXIVKCAlEEDcQI6QqB2BoNEVYFQecqF8AAOYsADXsGiPwUgpwVgkAqgtgBhYhtgagQhNhRhUhNB6gNAuguAEhJBcArBiAehoB6hWBYglgvAmBQBwBkhngfBnBFBTgOgWBGA2BrhnBgAIA4gLAQhTA2BkBqh/BNAeA+gzB5gYgAkhgdiAg" Nodes { Add("Child 1, (this one has tooltip...)") { ToolTip = "Exontrol's new eXMLGrid component displays your hierarchical data using an enhanced grid view, that allows you to provide a new UI to your user.Exontrol eXMLGrid ." Image = 2 Nodes { Add("Sub Child 1", "just data") { Editor = "Edit" BackColor = RGB(0,0,255) ForeColor = RGB(255,255,255) } Add("Sub Child 2", "just data") { Editor = "Edit" } } } Add("Child 2", 2) { ' BackColor = RGB(235,235,245) ' BackColorChild = RGB(220,220,220) ForeColor = RGB(0,0,90) Image = 3 Nodes { Add(" Date picker", "6/13/2005") { Editor = "Calendar" Selected = True } Add(" Sub Child 2", 12) { Editor = "Slider" } } Expanded = True } Add("Child 3", 2) { ' BackColor = RGB(240,240,240) ' ForeColor = RGB(0,0,100) Image = 4 Nodes { Add("Sub Child 1", "just data") Add("Sub Child 2", "just data") } } } Expanded = True } Add("You can change thenode's positionby clicking the node and dragging it to a new position.") { HasChilds = True ToolTip = "Exontrol eXMLGrid" } } EndUpdate