110 |
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)
|
109 |
ImageSize property on 16 (default) (specifies the size of control' icons)
|
108 |
How can I add a hierarchy (multiple-columns), using the Item.ToString method
public void init() { COM com_Column,com_Columns,com_FaceTree,com_Items; anytype var_Column,var_Columns,var_FaceTree,var_Items; str var_s; ; super(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.LinesAtRoot(-1/*exLinesAtRoot*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add(1); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add(2); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add(3); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; var_s = "Root 1;Root 2;Root 3(Child1.1;Child2.1;Child3.1(SubChild 1.1;SubChild 2.1;SubChild 3.1,SubChild 2.1;SubChild 2.2;SubChild 2.3),C"; var_s = var_s + "hild 1.2;Child 2.2;Child 3.2)"; com_Items.ToString(var_s); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ExpandAll(); print( com_FaceTree.Items().Item(COMVariant::createFromInt(0)).ToString() ); } |
107 |
How can I add a hierarchy (single column), using the Item.ToString method
public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Items; ; super(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.LinesAtRoot(-1/*exLinesAtRoot*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add(""); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.Count(1); var_Item = COM::createFromObject(com_FaceTree.Items()).Item(COMVariant::createFromInt(0)); com_Item = var_Item; com_Item.ToString("Root(Child1(SubChild 1,SubChild 2),Child2)"); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ExpandAll(); print( com_FaceTree.Items().Item(COMVariant::createFromInt(0)).ToString() ); } |
106 |
How can add items to a list
|
105 |
How can I split a cell
public void init() { COM com_Column,com_Columns,com_Face,com_FaceTree,com_Item,com_Item1,com_Items,com_Items1; anytype var_Column,var_Columns,var_Face,var_FaceTree,var_Item,var_Item1,var_Items,var_Items1; str s; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.HTMLPicture("P1","c:\\exontrol\\images\\zipdisk.gif"); extreecube1.HTMLPicture("P2","c:\\exontrol\\images\\auction.gif"); extreecube1.HTMLPicture("P3","c:\\exontrol\\images\\colorize.gif"); extreecube1.HTMLPicture("P4","c:\\exontrol\\images\\auction.gif"); var_Face = extreecube1.FrontFace(); com_Face = var_Face; var_FaceTree = com_Face.CreateTree(); com_FaceTree = var_FaceTree; var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Choose your quick actions"); com_Item = var_Item; com_Item.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item.Items()); com_Items1 = var_Items1; var_Item1 = COM::createFromObject(com_Items1).Add(""); com_Item1 = var_Item1; com_Item1.Height(48); s = 0; com_Item1.Value(s,"<c><img>P1</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item1.Value(s,"<c><img>P2</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item1.Value(s,"<c><img>P3</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item1.Value(s,"<c><img>P4</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item.Expanded(true); extreecube1.EndUpdate(); } |
104 |
I've noticed that the Face has no background color. Still, can I change the face's background color
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); var_Face = extreecube1.FrontFace(); com_Face = var_Face; var_FaceCalendar = com_Face.CreateCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.AutoSize(1/*exFitClient*/); com_FaceCalendar.MaxMonthX(com_FaceCalendar.MinMonthX()); com_FaceCalendar.MaxMonthY(com_FaceCalendar.MinMonthY()); com_FaceCalendar.ShowTodayButton(false); com_Face.ExtraTitle("extra",1/*exTitleFaceBackColor*/,COMVariant::createFromInt(15790320)); com_Face.ExtraTitle("extra",8/*exTitleFaceHeight*/,"height"); com_Face.ExtraTitle("extra",9/*exTitleFaceVisible*/,COMVariant::createFromInt(1)); extreecube1.EndUpdate(); } |
103 |
How can I change the +/- expanding/collapsing buttons
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1; ; super(); extreecube1.TexturePicturePath(""); extreecube1.BeginUpdate(); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABDgCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzXI"; var_s = var_s + "UBxAAqXZZFUaKAgOMJDTLBAzUSAAYhtHqeJBjID4JA6UJXRpIAIQSSBUjGOg6TiMUYZAguAxCEzZUT0fAYUQSCC3ZzDCKoRpiCT7Xg8V5OVbjUz9P7AMBwLA7erxap6P"; var_s = var_s + "JeD54QymGp/R5eMhyLI8UxXFqRY6veKtJhGDIrT5CEIQVA9EyXJqnahqOiaCguPorQy/dYYdg2BYBPS6MAvG4bVrOd59XrgN42fY2ByzAqlMQwS7rOqiY6YWTnehWToH"; var_s = var_s + "E+JZUmoLB5CufQuAkBYkGO+ZrDWAo7keZZyHmH5+i8X4bluaJyHgGB9mQHx3JjBpViqJRHmueZ7H8Xo3i2fYAl+d5tncMRfDcdZeDMDIjCCJwokoEoQiEJ4KCIfIdgUS"; var_s = var_s + "ZIAWaoGCEUh2BIJ4gnKBgMDICAnHoCggg0Aw4k0KAJkIagaguYwIj4LAmiKEw2CUIIiHMUJSDQSYyGCFYMGQCJCD0JRjiMRg3gmTYjGSVgmgkchSD4JJklIRIXCSSQYj"; var_s = var_s + "4U4UgkQhGE+EwJEkJJWhGpgGGIOBNmMdhPg8SRiHCGAlibNhohqJpJi4T4ZA2WYIgEYInGOGJlDkCQyECDoTEkKQ+E+C5oCIVhQCUCQpnSDoeg4SZZH8YdhjibQ7AiUg"; var_s = var_s + "kgcJFyiyEYmGmOhqhyJ5pmILoYCKaRSB6Eg7CcZgZggaRqHqNoTiuDpKkKMormsQ4xiUYgYiKEo6CCWgWiqPovloZoGjoKQYiOLR1ECUAQIC"; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABDwCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzXI"; var_s1 = var_s1 + "UBxAAqXZZFUaKAgOMJDTLBAzUSAAYhtHqeJBjID4JA6UJXRpIAIQSSBUjGOg6TiMUYZAguAxCEzZUT0fAYUQSCC3ZzDCKoRpiCT7Xg8V5OVbjUz9P7AMBwLA7erxap6P"; var_s1 = var_s1 + "JeD54QymGp/R5eMhyLI8UxXFqRY6veKtJhGDIrT5CEIQVA9EyXJqnahqOiaCguPorQy/dYYdg2BYBPS6MAvG4bVrOd59XrgN42fY2ByzAqlMQwS7rOqiY6YWTnehWToH"; var_s1 = var_s1 + "E+JZUmoLB5CufQuAkBYkGO+ZrDWAo7keZZyHmPQ+g8X4fluYBhneEB9l0Iwpg6RRWiqFQfg+V5nnefh/GAB5yAIfRMFeRZdHeDJDCiSApkoMoEiQKBJmKCIfCcYQiHIF"; var_s1 = var_s1 + "YFkmeBaBOA5JmgsICEyAgJl6AZICMQJODMSgCHCGg/mKSI2C6C5jAiNgpCaIhjDYIggiIQxQlINBJjIYIVgwZAJAYPQlGOIxGDeCQNiMZJWCaCRyFIPgkmSUhEhcJJlC"; var_s1 = var_s1 + "kUhThUZQiFCEYTmSQhSEkNYkHYBIBhiTgTHiXYTmOUhYhwJgJGmJhuhsJoZi4bYbCSeYUl2GJIBYCh4DmDhThCEwkAiaQ0hKE5oEIVITiEaB6BqAofkiaZwmSHgXnYGh"; var_s1 = var_s1 + "4DuDpTjCDQiEgchAg0IpJBobodicKZqgaIAimmIguhcIZpEOMh4GGGIGhaKYrmkWpAmyLIrEqRo2DsGhWCGCgpCuQgNiEaosAsBYmGga5ChGCg6lcVANAEgI"; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(84/*exTreeGlyphCollapsed*/,0x1000000); extreecube1.Background(85/*exTreeGlyphExpanded*/,0x2000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ExpandOnDblClick(true); com_FaceTree.ItemPadding(16); com_FaceTree.HeaderVisible(false); com_FaceTree.HasLines(2/*exThinLine*/); com_FaceTree.LinesAtRoot(3/*exGroupLinesInside*/); com_FaceTree.DrawGridLines(-2/*exRowLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Def"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Root 1(Child 1,Child 2),Root 2(Child 3,Child 4)"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(3)); com_Item = var_Item; com_Item.Expanded(true); extreecube1.EndUpdate(); } |
102 |
How can I use the ToString property
public void init() { COM com_Columns,com_FaceTree,com_Items; anytype var_Columns,var_FaceTree,var_Items; ; super(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.DrawGridLines(-2/*exRowLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; com_Columns.ToString("Column 1,Column 2,Column 3,Column 4"); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("1;2;3;4,5;6;7;8,9;10;11;12,13;14;15;16,17;18;29;20,21;22;23;24,25;26;27;28,29;30;31;32"); } |
101 |
How can I use the Background property
public void init() { COM com_FaceCalendar; anytype var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); extreecube1.VisualAppearance().Add(1,"C:\\Program Files\\Exontrol\\ExButton\\Sample\\EBN\\Assorted\\calendar_single.ebn"); extreecube1.Background(8/*exDateHeader*/,0x1000000); extreecube1.Background(7/*exWeeksHeader*/,WinApi::RGB2int(250,250,250)); extreecube1.Background(6/*exDaysHeader*/,WinApi::RGB2int(250,250,250)); extreecube1.Background(9/*exDateTodayUp*/,0x2000000); extreecube1.Background(31/*exDateTodayForeColor*/,WinApi::RGB2int(255,255,255)); extreecube1.TexturePicturePath(""); var_FaceCalendar = extreecube1.FrontFace().CreateCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.Date(str2Date("1/1/2016",213)); com_FaceCalendar.AutoSize(1/*exFitClient*/); com_FaceCalendar.MaxMonthX(com_FaceCalendar.MinMonthX()); com_FaceCalendar.MaxMonthY(com_FaceCalendar.MinMonthY()); extreecube1.EndUpdate(); } |
100 |
How can I display two lists of radio-buttons
// FaceTreeStateChanged event - Notifies that a cell changes its state into a face of tree type. void onEvent_FaceTreeStateChanged(COM _Tree,int _Item,int _Column) { COM com_Item; anytype var_Item; ; var_Item = COM::createFromObject(extreecube1.FrontFace().FaceTree()).ItemByIndex(_Item); com_Item = var_Item; print( "State" ); print( com_Item.State(COMVariant::createFromInt(0)) ); } public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Item1,com_Item2,com_Item3,com_Item4,com_Item5,com_Item6,com_Item7,com_Items,com_Items1,com_Items2; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Item1,var_Item2,var_Item3,var_Item4,var_Item5,var_Item6,var_Item7,var_Items,var_Items1,var_Items2; ; super(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HeaderVisible(false); com_FaceTree.ItemPadding(16); com_FaceTree.DrawGridLines(0/*exNoLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Radio"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Group A"); com_Item = var_Item; var_Items1 = com_Item.Items(); com_Items1 = var_Items1; var_Item1 = com_Items1.Add("Radio <b>1"); com_Item1 = var_Item1; com_Item1.HasRadioButton(COMVariant::createFromInt(0),true); com_Item1.RadioGroup(COMVariant::createFromInt(0),1234); var_Item2 = com_Items1.Add("Radio <b>2"); com_Item2 = var_Item2; com_Item2.HasRadioButton(COMVariant::createFromInt(0),true); com_Item2.RadioGroup(COMVariant::createFromInt(0),1234); com_Item2.State(COMVariant::createFromInt(0),1); var_Item3 = com_Items1.Add("Radio <b>3"); com_Item3 = var_Item3; com_Item3.HasRadioButton(COMVariant::createFromInt(0),true); com_Item3.RadioGroup(COMVariant::createFromInt(0),1234); com_Item.Expanded(true); var_Item4 = com_Items.Add("Group B"); com_Item4 = var_Item4; var_Items2 = com_Item4.Items(); com_Items2 = var_Items2; var_Item5 = com_Items2.Add("Radio <b>1"); com_Item5 = var_Item5; com_Item5.HasRadioButton(COMVariant::createFromInt(0),true); com_Item5.RadioGroup(COMVariant::createFromInt(0),1235); var_Item6 = com_Items2.Add("Radio <b>2"); com_Item6 = var_Item6; com_Item6.HasRadioButton(COMVariant::createFromInt(0),true); com_Item6.RadioGroup(COMVariant::createFromInt(0),1235); var_Item7 = com_Items2.Add("Radio <b>3"); com_Item7 = var_Item7; com_Item7.HasRadioButton(COMVariant::createFromInt(0),true); com_Item7.RadioGroup(COMVariant::createFromInt(0),1235); com_Item7.State(COMVariant::createFromInt(0),1); com_Item4.Expanded(true); } |
99 |
How can I display a list of check-boxes
// FaceTreeStateChanged event - Notifies that a cell changes its state into a face of tree type. void onEvent_FaceTreeStateChanged(COM _Tree,int _Item,int _Column) { COM com_Item; anytype var_Item; ; var_Item = COM::createFromObject(extreecube1.FrontFace().FaceTree()).ItemByIndex(_Item); com_Item = var_Item; print( "State" ); print( com_Item.State(COMVariant::createFromInt(0)) ); } public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Item1,com_Items; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Item1,var_Items; ; super(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HeaderVisible(false); com_FaceTree.ItemPadding(16); com_FaceTree.DrawGridLines(0/*exNoLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = COM::createFromObject(com_Items.Add("Check <b>1")); com_Item = var_Item; com_Item.HasCheckBox(COMVariant::createFromInt(0),true); var_Item = COM::createFromObject(com_Items.Add("Check <b>2")); com_Item = var_Item; com_Item.HasCheckBox(COMVariant::createFromInt(0),true); var_Item = com_Items.Add("Check <b>3"); com_Item = var_Item; com_Item.HasCheckBox(COMVariant::createFromInt(0),true); com_Item.State(COMVariant::createFromInt(0),1); var_Item1 = COM::createFromObject(com_Items.Add("Check <b>4")); com_Item1 = var_Item1; com_Item1.HasCheckBox(COMVariant::createFromInt(0),true); } |
98 |
How do I get the selected caption
|
97 |
How do I get the selected value
|
96 |
How can I add buttons on the face
|
95 |
How do I programmatically selects a date (method 2)
|
94 |
How do I programmatically selects a date (method 1)
|
93 |
How can I display a hyperlink element
// AnchorClick event - Occurs when an anchor element is clicked. void onEvent_AnchorClick(int _Face,str _AnchorID,str _Options) { ; print( _Face ); print( _AnchorID ); print( _Options ); } public void init() { COM com_FaceTree,com_Items; anytype var_FaceTree,var_Items; ; super(); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.HeaderVisible(false); com_FaceTree.DrawGridLines(0/*exNoLines*/); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("<a A1\\;options1>Item 1</a>,<a A2\\;options2>Item 2</a>"); } |
92 |
Can I display image and multiple-lines items
public void init() { COM com_Column,com_Columns,com_Face,com_FaceTree,com_Item,com_Item1,com_Item10,com_Item11,com_Item12,com_Item13,com_Item14,com_Item15,com_Item16,com_Item17,com_Item2,com_Item3,com_Item4,com_Item5,com_Item6,com_Item7,com_Item8,com_Item9,com_Items,com_Items1; COMVariant s; anytype var_Column,var_Columns,var_Face,var_FaceTree,var_Item,var_Item1,var_Item10,var_Item11,var_Item12,var_Item13,var_Item14,var_Item15,var_Item16,var_Item17,var_Item2,var_Item3,var_Item4,var_Item5,var_Item6,var_Item7,var_Item8,var_Item9,var_Items,var_Items1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.HTMLPicture("DriveC","c:\\exontrol\\images\\zipdisk.gif"); extreecube1.HTMLPicture("DriveD","c:\\exontrol\\images\\auction.gif"); extreecube1.HTMLPicture("DriveE","c:\\exontrol\\images\\colorize.gif"); var_Face = extreecube1.TopFace(); com_Face = var_Face; com_Face.RelativeMargins("0,32,0,0"); var_FaceTree = com_Face.CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HasLines(0/*exNoLine*/); com_FaceTree.DrawGridLines(0/*exNoLines*/); com_FaceTree.ItemPadding(24); com_FaceTree.HeaderVisible(false); com_FaceTree.ShowSelection(true); com_FaceTree.SelBackColor(WinApi::RGB2int(240,240,240)); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Storage"); com_Item = var_Item; com_Item.Divider(0); com_Item.Bold(true); com_Item.Selectable(false); var_Item1 = com_Items.Add("Choose a drive to see what's taking up space."); com_Item1 = var_Item1; com_Item1.Selectable(false); com_Item1.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item1.Items()); com_Items1 = var_Items1; var_Item2 = COM::createFromObject(com_Items1).Add("<img>DriveC:64</img>"); com_Item2 = var_Item2; com_Item2.Height(68); com_Item2.BackgroundExt(COMVariant::createFromInt(0),"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); com_Item2.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,5/*exTextExtWordWrap*/,COMVariant::createFromBoolean(true)); com_Item2.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,4/*exTextExt*/,"<fgcolor=000000>LROG (C:)<br>58.7 GB used out of 150 GB"); com_Item2.BackgroundExtValue(COMVariant::createFromInt(0),4/*exIndexExt4*/,2/*exClientExt*/,"39%"); var_Items1 = COM::createFromObject(com_Item1.Items()); com_Items1 = var_Items1; var_Item3 = COM::createFromObject(com_Items1).Add("<img>DriveD:64</img>"); com_Item3 = var_Item3; com_Item3.Height(68); com_Item3.BackgroundExt(COMVariant::createFromInt(0),"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); com_Item3.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,5/*exTextExtWordWrap*/,COMVariant::createFromBoolean(true)); com_Item3.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,4/*exTextExt*/,"<fgcolor=000000>System (D:)<br>112 MB used out of 144 GB"); com_Item3.BackgroundExtValue(COMVariant::createFromInt(0),4/*exIndexExt4*/,2/*exClientExt*/,"1%"); var_Items1 = COM::createFromObject(com_Item1.Items()); com_Items1 = var_Items1; var_Item4 = COM::createFromObject(com_Items1).Add("<img>DriveD:64</img>"); com_Item4 = var_Item4; com_Item4.Height(68); com_Item4.BackgroundExt(COMVariant::createFromInt(0),"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); com_Item4.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,5/*exTextExtWordWrap*/,COMVariant::createFromBoolean(true)); com_Item4.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,4/*exTextExt*/,"<fgcolor=000000>Work (E:)<br>53.0 GB used out of 635 GB"); com_Item4.BackgroundExtValue(COMVariant::createFromInt(0),4/*exIndexExt4*/,2/*exClientExt*/,"8%"); var_Items1 = COM::createFromObject(com_Item1.Items()); com_Items1 = var_Items1; var_Item5 = COM::createFromObject(com_Items1).Add("<img>DriveE:64</img>"); com_Item5 = var_Item5; com_Item5.Height(68); com_Item5.BackgroundExt(COMVariant::createFromInt(0),"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); com_Item5.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,5/*exTextExtWordWrap*/,COMVariant::createFromBoolean(true)); com_Item5.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,4/*exTextExt*/,"<fgcolor=000000>DVD RW Drive (G:)<br>0.0 GB used out of 0.0 GB"); com_Item5.BackgroundExtValue(COMVariant::createFromInt(0),4/*exIndexExt4*/,2/*exClientExt*/,"0%"); com_Item1.Expanded(true); var_Item6 = com_Items.Add("Save Locations"); com_Item6 = var_Item6; com_Item6.Divider(0); com_Item6.Bold(true); com_Item6.Selectable(false); var_Item7 = com_Items.Add("Change where your apps, documents, music, pictures and videos are saved by default."); com_Item7 = var_Item7; com_Item7.Selectable(false); com_Item7.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item7.Items()); com_Items1 = var_Items1; var_Item8 = COM::createFromObject(com_Items1).Add("New apps will save to:"); com_Item8 = var_Item8; com_Item8.Selectable(false); var_Items1 = COM::createFromObject(com_Item8.Items()); com_Items1 = var_Items1; var_Item9 = COM::createFromObject(com_Items1).Add("Drive C"); com_Item9 = var_Item9; com_Item9.Selectable(false); com_Item9.Height(24); com_Item9.HasRadioButton(COMVariant::createFromInt(0),true); com_Item9.RadioGroup(COMVariant::createFromInt(0),1234); com_Item9.State(COMVariant::createFromInt(0),1); s = com_Item9.SplitCell(COMVariant::createFromInt(0)); com_Item9.Value(s,"Drive D"); com_Item9.HasRadioButton(s,true); com_Item9.RadioGroup(s,1234); s = com_Item9.SplitCell(s); com_Item9.Value(s,"Drive E"); com_Item9.HasRadioButton(s,true); com_Item9.RadioGroup(s,1234); com_Item8.Expanded(true); var_Items1 = COM::createFromObject(com_Item7.Items()); com_Items1 = var_Items1; var_Item10 = COM::createFromObject(com_Items1).Add("New documents will save to:"); com_Item10 = var_Item10; com_Item10.Selectable(false); var_Items1 = COM::createFromObject(com_Item10.Items()); com_Items1 = var_Items1; var_Item11 = COM::createFromObject(com_Items1).Add("Drive C"); com_Item11 = var_Item11; com_Item11.Selectable(false); com_Item11.Height(24); com_Item11.HasRadioButton(COMVariant::createFromInt(0),true); com_Item11.RadioGroup(COMVariant::createFromInt(0),1235); s = com_Item11.SplitCell(COMVariant::createFromInt(0)); com_Item11.Value(s,"Drive D"); com_Item11.HasRadioButton(s,true); com_Item11.RadioGroup(s,1235); com_Item11.State(s,1); s = com_Item11.SplitCell(s); com_Item11.Value(s,"Drive E"); com_Item11.HasRadioButton(s,true); com_Item11.RadioGroup(s,1235); com_Item10.Expanded(true); var_Items1 = COM::createFromObject(com_Item7.Items()); com_Items1 = var_Items1; var_Item12 = COM::createFromObject(com_Items1).Add("New music will save to:"); com_Item12 = var_Item12; com_Item12.Selectable(false); var_Items1 = COM::createFromObject(com_Item12.Items()); com_Items1 = var_Items1; var_Item13 = COM::createFromObject(com_Items1).Add("Drive C"); com_Item13 = var_Item13; com_Item13.Selectable(false); com_Item13.Height(24); com_Item13.HasRadioButton(COMVariant::createFromInt(0),true); com_Item13.RadioGroup(COMVariant::createFromInt(0),1236); s = com_Item13.SplitCell(COMVariant::createFromInt(0)); com_Item13.Value(s,"Drive D"); com_Item13.HasRadioButton(s,true); com_Item13.RadioGroup(s,1236); com_Item13.State(s,1); s = com_Item13.SplitCell(s); com_Item13.Value(s,"Drive E"); com_Item13.HasRadioButton(s,true); com_Item13.RadioGroup(s,1236); com_Item12.Expanded(true); var_Items1 = COM::createFromObject(com_Item7.Items()); com_Items1 = var_Items1; var_Item14 = COM::createFromObject(com_Items1).Add("New pictures will save to:"); com_Item14 = var_Item14; com_Item14.Selectable(false); var_Items1 = COM::createFromObject(com_Item14.Items()); com_Items1 = var_Items1; var_Item15 = COM::createFromObject(com_Items1).Add("Drive C"); com_Item15 = var_Item15; com_Item15.Selectable(false); com_Item15.Height(24); com_Item15.HasRadioButton(COMVariant::createFromInt(0),true); com_Item15.RadioGroup(COMVariant::createFromInt(0),1237); s = com_Item15.SplitCell(COMVariant::createFromInt(0)); com_Item15.Value(s,"Drive D"); com_Item15.HasRadioButton(s,true); com_Item15.RadioGroup(s,1237); com_Item15.State(s,1); s = com_Item15.SplitCell(s); com_Item15.Value(s,"Drive E"); com_Item15.HasRadioButton(s,true); com_Item15.RadioGroup(s,1237); com_Item14.Expanded(true); var_Items1 = COM::createFromObject(com_Item7.Items()); com_Items1 = var_Items1; var_Item16 = COM::createFromObject(com_Items1).Add("New videos will save to:"); com_Item16 = var_Item16; com_Item16.Selectable(false); var_Items1 = COM::createFromObject(com_Item16.Items()); com_Items1 = var_Items1; var_Item17 = COM::createFromObject(com_Items1).Add("Drive C"); com_Item17 = var_Item17; com_Item17.Selectable(false); com_Item17.Height(24); com_Item17.HasRadioButton(COMVariant::createFromInt(0),true); com_Item17.RadioGroup(COMVariant::createFromInt(0),1238); s = com_Item17.SplitCell(COMVariant::createFromInt(0)); com_Item17.Value(s,"Drive D"); com_Item17.HasRadioButton(s,true); com_Item17.RadioGroup(s,1238); com_Item17.State(s,1); s = com_Item17.SplitCell(s); com_Item17.Value(s,"Drive E"); com_Item17.HasRadioButton(s,true); com_Item17.RadioGroup(s,1238); com_Item16.Expanded(true); com_Item7.Expanded(true); com_FaceTree.EnsureVisibleItem(0); extreecube1.EnsureVisibleFaceMargin(0); extreecube1.EnsureVisibleFace(4/*exTopFace*/); extreecube1.AlwaysEnsureVisibleFace(1/*exFitToEnsureFace*/); extreecube1.EndUpdate(); } |
91 |
How can I use the BackgroundExt/BackgroundExtValue properties
public void init() { COM com_Column,com_Columns,com_Face,com_FaceTree,com_Item,com_Item1,com_Item2,com_Item3,com_Item4,com_Item5,com_Item6,com_Item7,com_Item8,com_Item9,com_Items,com_Items1; anytype var_Column,var_Columns,var_Face,var_FaceTree,var_Item,var_Item1,var_Item2,var_Item3,var_Item4,var_Item5,var_Item6,var_Item7,var_Item8,var_Item9,var_Items,var_Items1; str var_s; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); var_Face = extreecube1.BottomFace(); com_Face = var_Face; com_Face.RelativeMargins("0,32,0,0"); com_Face.Title(0/*exTitleFaceCaption*/,"<c><font ;18>Battery Saver"); com_Face.Title(11/*exTitleFaceBackgroundExt*/,"bottom[2],bottom[4,back=RGB(0,0,0)]"); var_FaceTree = com_Face.CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HasLines(0/*exNoLine*/); com_FaceTree.DrawGridLines(0/*exNoLines*/); com_FaceTree.ItemPadding(24); com_FaceTree.HeaderVisible(false); com_FaceTree.ShowSelection(false); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Overview"); com_Item = var_Item; com_Item.Divider(0); com_Item.Bold(true); var_Item1 = com_Items.Add("Batter level (charging):"); com_Item1 = var_Item1; com_Item1.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item1.Items()); com_Items1 = var_Items1; var_Item2 = COM::createFromObject(com_Items1).Add(""); com_Item2 = var_Item2; com_Item2.BackgroundExt(COMVariant::createFromInt(0),"none[(2,2,100%-4,100%-4)](top[24,text=`10%`],bottom[6,back=RGB(204,204,204)](left[10%,back=RGB(0,120,215)]))"); com_Item2.BackgroundExtValue(COMVariant::createFromInt(0),4/*exIndexExt4*/,2/*exClientExt*/,"65%"); com_Item2.BackgroundExtValue(COMVariant::createFromInt(0),2/*exIndexExt2*/,4/*exTextExt*/,com_Item2.BackgroundExtValue(COMVariant::createFromInt(0),4/*exIndexExt4*/,2/*exClientExt*/)); com_Item1.Expanded(true); var_Item3 = com_Items.Add("Estimated time to full charge:"); com_Item3 = var_Item3; var_Items1 = COM::createFromObject(com_Item3.Items()); com_Items1 = var_Items1; var_Item4 = COM::createFromObject(com_Items1).Add(COMVariant::createFromReal(0.15125)); com_Item4 = var_Item4; var_s = "((1:=int(0:= (value))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 ?"; var_s = var_s + " =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')"; com_Item4.FormatCell(COMVariant::createFromInt(0),var_s); com_Item4.Height(24); com_Item3.Expanded(true); var_Item5 = com_Items.Add("Battery Saver"); com_Item5 = var_Item5; com_Item5.Divider(0); com_Item5.Bold(true); var_Item6 = com_Items.Add("Extends battery life by limiting background activity and push notifications. "); com_Item6 = var_Item6; com_Item6.SingleLine(COMVariant::createFromInt(0),false); var_Item7 = com_Items.Add("Batter saver is currently:"); com_Item7 = var_Item7; com_Item7.Enabled(false); com_Item7.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item7.Items()); com_Items1 = var_Items1; var_Item8 = COM::createFromObject(com_Items1).Add(""); com_Item8 = var_Item8; com_Item8.Height(24); com_Item8.HasCheckBox(COMVariant::createFromInt(0),true); com_Item8.State(COMVariant::createFromInt(0),2); com_Item8.FormatCell(COMVariant::createFromInt(0),"state = 1 ? `On` : `Off`"); com_Item8.Enabled(false); com_Item7.Expanded(true); var_Item9 = COM::createFromObject(com_Items.Add("Battery Saver is off while charging. Choose, when battery saver turns on automatically and how it affects your system.")); com_Item9 = var_Item9; com_Item9.SingleLine(COMVariant::createFromInt(0),false); var_Item9 = com_Items.Add("<c>Battery Saver Settings"); com_Item9 = var_Item9; com_Item9.SingleLine(COMVariant::createFromInt(0),false); com_Item9.HasButton(COMVariant::createFromInt(0),true); extreecube1.EnsureVisibleFaceMargin(0); extreecube1.EnsureVisibleFace(1/*exBottomFace*/); extreecube1.AlwaysEnsureVisibleFace(1/*exFitToEnsureFace*/); extreecube1.EndUpdate(); } |
90 |
How can I change the visual appearance for check and radio buttons
public void init() { COM com_Appearance,com_Appearance1,com_Column,com_Columns,com_Face,com_FaceTree,com_Item,com_Item1,com_Item10,com_Item11,com_Item2,com_Item3,com_Item4,com_Item5,com_Item6,com_Item7,com_Item8,com_Item9,com_Items,com_Items1; anytype var_Appearance,var_Appearance1,var_Column,var_Columns,var_Face,var_FaceTree,var_Item,var_Item1,var_Item10,var_Item11,var_Item2,var_Item3,var_Item4,var_Item5,var_Item6,var_Item7,var_Item8,var_Item9,var_Items,var_Items1; str var_s,var_s1,var_s2,var_s3; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(44); extreecube1.CheckBoxHeight(20); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABJACg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIxDFIsBxPFKCQChEZBUjKAwyDBIUzSDI"; var_s = var_s + "UBhZBIKI7hGa3NBwJAAUTRch0j4iCRQGiYZyHKcxMYgIYCUBkERtMw0GyERQhGb4DoGA4IBhFZQVVLsRBIDh2bbuG4LSrWdJ3OyaN5EbbgZz9P7AMBwLA8EwXBqHYIUG"; var_s = var_s + "JGbhlbTnR7HMhvDIsPDnFqIZhmOZZXjlfh7T7KNByO6LcI3AiDagtWpNTpjf5dV7YNh2LY9UzXNq3bI1W5aUqyAZ9QQpeB0LILYDbRp/FzyO5NNrHG6dZ7oOh1doOUIt"; var_s = var_s + "laP5lgcPA7hEJ47H8SD0l4LwfhOSJ9nOIh9DefBREMKYMDaX59nsVhvlKdBpCGfgIl+L43lGG5lH+YAGlWZw/EYOAVH8ZQXncdBJDwIJGkiGYDlmUh2BKABhEgVJpgWX"; var_s = var_s + "4BA4BxcAeWB1H8KJiAaSJJgiWZWAmVA0CEWIln8JYikWfZpCIXARE0fw3GMRpJnaCRYBGWg6gqI5HgoJxfkYCQFlkX5PhkFYyBAJIImGABpGOWQ1k8OxlAWfZ6BGJA1n"; var_s = var_s + "oRQ+GQeQmEoX4kkkOheG2JQDjYUh+iMGJODUbBjHkbAzg6BxpH4bhsmOdZ6EEGAbmIAR/gSCZWkmfYShwYJYlOH5mnoBYvCSaBFnyDYhlcKAll2AwPAaSggCiWZaD6Ao"; var_s = var_s + "giEc4mBmBpYnePZxGMHw3lUeoGGUN5aH8NJpDoBgDgERg6GGFICh2d4GiWK5cngDgvHqWInG0cIfFyBwpjqLArkcTZVHWV5nGaNhxA6VoVicahajaNo9gUHI2nIdRwBw"; var_s = var_s + "JoOkSMJlFmKpWjWWY2HwPYwm2SxJHIe5sGsYpiGcXpHj6XYxA6NBFAkQBAIC"; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABB4Cg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIxDFIsBxPFKCQChEZBUjKAwyDBIUzSDI"; var_s1 = var_s1 + "UBhZBIKI7hGa3NBwJAAUTRch0j4iCRQGiYZyHKcxMYgIYCUBkERtMw0GyERQhGb4DoGA4IBhFZQVVLsRBIDh2bbuG4LSrWdJ3Oy3KKiQy5cABPq/b6wDA8CwXAaHYRiG"; var_s1 = var_s1 + "DYThmF4dRQAG6RcTLWrPFqVZheGYua4CLBxRrINA0LD9DyHJKnaZkDgpUQGN5dTS4GwPQCN3xRWzUyBaQzJfAZV7Lbw3PadX4XRLHcLwfAXFqWaaNZLneh5DouDz3P5Y"; var_s1 = var_s1 + "MuaRBicQ4nl6bpuBwKYRnuUY2jsfg9B0b43hOH5KjucQPnwOpMi+A4pnab5qB0a4znuf57n4f5gAeeJqC4R42mEcg5AoIRBnUfggkgLJiCaRA4AYEoEl+Y4AhcDpaFOG"; var_s1 = var_s1 + "IrBgDYyBwHICmIB5djge4hEilY8g0MotiUZICkMYB6AEIgYDYIh0g+Q5cm+CYjgOfJ6DuDZ2hSWggkESI6DCDJjCkFZDg0Yx4mYJYOmOVoiD8BQhlgfhEgwZRGBoJISy"; var_s1 = var_s1 + "0IgqGoIpDhCJAVCUWQaFMY5fAkYgBD+D5TmyYAlENPBnCsRhFkoYYcmYMAAmkLRHDmGZ9h2Rw4BkeBnFmeZWHSGIYHeQZuHoHonjGboamaVwYmIJwEEYbZNiCaRKAmdx"; var_s1 = var_s1 + "1hyNZChWIQpjcKZYHAKQ6FqHIoh0Vp6hkcBqgoAodikKgmi2LYnmsCohkAXoXkqMojgMIpKh2Gw6lEFAlAEgIA=="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); extreecube1.Background(72/*exCheckBoxState2*/,0x1f0f0f0); extreecube1.RadioButtonWidth(23); extreecube1.RadioButtonHeight(23); var_Appearance1 = extreecube1.VisualAppearance(); com_Appearance1 = var_Appearance1; var_s2 = "gBFLBCJwBAEHhEJAADhABNoCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s2 = var_s2 + "ADRfFoWmxTdAcYSCGSZZrGOiQADIM40R7UAABPBNKR1BKmHZDQRAApqXIjVDAYIQSSBUlkHScRijDICXSIIQmbajIZoJCiVZ3VaGETnRQlJQuEgOHZwDAsBwPBqBPziL"; var_s2 = var_s2 + "p4WzmGqhR5ichYHI8RYVTKXYy3DxZW7OO4PQjQM7hHL8fwlfTuagyGpZOxjP5cdrYHw2J7NUzJeDxbhrTb6Zh7ILVX7TNIwXAdD4PIKmNryORsC4XG5pZ7oOh6Lo3G4r"; var_s2 = var_s2 + "hWZI2nOL4eBON4LkeRJvHWDxvB6G5Lmac56D0OY3hMU5bm6bRoiAeA9DMX5riydJ+D8P4vEeO4xkEcQfCYBZrHKXgzlme4BmCB4eAUZRbAaAZeGsDg4EYCYEmERoaBEO"; var_s2 = var_s2 + "JaiMIY2EIXo2FYFYHmIBp1j8OoQhcYZNDiIgIiYE4Jl2BAlj0agOmiKgyH6Xo2jECYGE8WJmDODpehgFgZEIXI3DyfoQmQSQWEaEZkgkJhKhKZA2hmSxCEyGREnSFJkk"; var_s2 = var_s2 + "kVhWwCCAthFKRjiIXhpiXOhihGYwJESSRCFuIxqGoPomkmDhuhWT45kSXYcl8UxdAkbgPBaMhTD0JApj4foRBoaJ5iqAxdmadhzDcWxpgIf4bhsY4Gg6GYYDcegNGUYg"; var_s2 = var_s2 + "6VMIsBBmNg8CmRwuCOJBgBaAgXh6JQzl6JocE+OQQn+KpqkqNouivgQiiaLJPHaMZYHwQAHHIdRrA6ep2jMbYqx2RxzmqBpajOLxOnacYPHcHZnHGOlynmbo0jSbRLFa"; var_s2 = var_s2 + "JoJlyNpplyKArhcGZcgMWpGjCXo4liM4ukiHpngkeJojiTZphmLIDG2Nwak2N4vEaAJsj2bpLgWFxlGGExOn4dgvHOMpxGgbwkAyaxEFCFAEICA="; com_Appearance1.Add(3,COMVariant::createFromStr(var_s2)); var_s3 = "gBFLBCJwBAEHhEJAADhABCEMACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s3 = var_s3 + "ADRfFoWmxTdAcYSCGSZZrGOiQADINI0R7UAABPBIMSjAamHZDQRAApqXIjVaAhySQKksg6TiMUYZAbaRBCEzbUZDNBIopUQLVU5ABbUEqBIipIrEQLHNwPBaEYZiOIYW"; var_s3 = var_s3 + "5re4cfzIMhyLI8Ob3CqHZhleTwTjWGYvSp1dBbTQ2QyVRanMDqOjsKxmW5Gbh5NhfHY8dxnDKcZ5jGSudrjEZ9VpmG74JzeEbjRj8chxT4PDxnBK/YDSWgdLo8VzXBpc"; var_s3 = var_s3 + "G2MY4maXxzFKQRxHgOQeC8H4TkuZhzHoNR9kaXpNnONZsGGMo9B4A5bmuFZ7n4Pw/i+XpFmSVB/mAB41hsQJfBYOJXgGXAHm4CoCmCtYAHqXRWBGWB/F2Z5UnaAxZFOa"; var_s3 = var_s3 + "J2DuTpzHCOQ5gwcg8veDBjlCaA0mGBg6BYapcEONZiHYHADg4MoKE+U4QkEIINAISAig4Y44moPIPA4EpoHSBoOngNgyDiW5jCGShCF+VouA2EQNhKHBMg+Y5pFYPYVm"; var_s3 = var_s3 + "OQxYiAD4kEgNZRHSTokCWax4A4KA2DaDglGkUhYhoZRph4DYZB6NAllEbwOmgKhEhqJ4JjIa4ek8c48mGAoflcAQJhITxaBYCoHEuGZmHuIooioIgKgWJIUCWXh4hkNh"; var_s3 = var_s3 + "ImkM4JloMh6iaJRzhySAkCkVhFhUd4QhMJomD0KtvBCCJMGocouh6KIKiifoKlodAmAAOgrgYVoVD7Y5AlMJhDAqPoLh6D4DkCYosicSoYkkQhcmMapOD6LQKkqHgkCw"; var_s3 = var_s3 + "KhwmILpHFqSJ7jaTZbHYBw1lCFwwnEcAqgOUoUGSa5DxkLQGHsVhWhQRJKkmFYkBuaI1lgdBtlMdZKi6LoKnSZQwggOp+kGJpjiufIDiyGQXCiYZCmyJxeAQYQi0YYI+"; var_s3 = var_s3 + "lieoqmmKwpHIdoskIGQGFWSg8DIBx6GCQ4AAYXhHjlo5fCqNpPjYRJ/kucwMkcMpM9GMwqk2Tx3AGa4AnIVpkm2N5cAgcJvk2XIsjGeYlF53hKk2dAnEGJR7nCdxlgYc"; var_s3 = var_s3 + "4ajmEplk4NYNGcWpKiYRx5k4dYhC0RxggsTpXAGQA3jaBoEmuUIuFuCo4DoNoDHqShwCKXYPCSXYzmOMx6lwOwZoawrgkE0HwBY1xegdE2MMWQhBOhoEUBIQAgCAgA=="; com_Appearance1.Add(4,COMVariant::createFromStr(var_s3)); extreecube1.Background(73/*exRadioButtonState0*/,0x3000000); extreecube1.Background(74/*exRadioButtonState1*/,0x4000000); var_Face = extreecube1.RightFace(); com_Face = var_Face; com_Face.RelativeMargins("0,32,0,0"); com_Face.Title(0/*exTitleFaceCaption*/,"<c><font ;18>Table mode"); com_Face.Title(11/*exTitleFaceBackgroundExt*/,"bottom[2],bottom[4,back=RGB(0,0,0)]"); var_FaceTree = com_Face.CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HasLines(0/*exNoLine*/); com_FaceTree.DrawGridLines(0/*exNoLines*/); com_FaceTree.ItemPadding(24); com_FaceTree.HeaderVisible(false); com_FaceTree.ShowSelection(false); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Make windows more touch-friendly when using your device as a table"); com_Item = var_Item; com_Item.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item.Items()); com_Items1 = var_Items1; var_Item1 = COM::createFromObject(com_Items1).Add(""); com_Item1 = var_Item1; com_Item1.Height(24); com_Item1.HasCheckBox(COMVariant::createFromInt(0),true); com_Item1.State(COMVariant::createFromInt(0),0); com_Item1.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item.Expanded(true); var_Item2 = com_Items.Add("When I sign in"); com_Item2 = var_Item2; com_Item2.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item2.Items()); com_Items1 = var_Items1; var_Item3 = COM::createFromObject(com_Items1).Add("Automatically swicth to table mode"); com_Item3 = var_Item3; com_Item3.Height(24); com_Item3.HasRadioButton(COMVariant::createFromInt(0),true); com_Item3.RadioGroup(COMVariant::createFromInt(0),1234); var_Items1 = COM::createFromObject(com_Item2.Items()); com_Items1 = var_Items1; var_Item4 = COM::createFromObject(com_Items1).Add("Go to the desktop"); com_Item4 = var_Item4; com_Item4.Height(24); com_Item4.HasRadioButton(COMVariant::createFromInt(0),true); com_Item4.RadioGroup(COMVariant::createFromInt(0),1234); var_Items1 = COM::createFromObject(com_Item2.Items()); com_Items1 = var_Items1; var_Item5 = COM::createFromObject(com_Items1).Add("Remember what I used last"); com_Item5 = var_Item5; com_Item5.Height(24); com_Item5.HasRadioButton(COMVariant::createFromInt(0),true); com_Item5.RadioGroup(COMVariant::createFromInt(0),1234); com_Item5.State(COMVariant::createFromInt(0),1); com_Item2.Expanded(true); var_Item6 = com_Items.Add("When this device automatically switches table mode on or off"); com_Item6 = var_Item6; com_Item6.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item6.Items()); com_Items1 = var_Items1; var_Item7 = COM::createFromObject(com_Items1).Add("Don't ask me and dont' switch"); com_Item7 = var_Item7; com_Item7.Height(24); com_Item7.HasRadioButton(COMVariant::createFromInt(0),true); com_Item7.RadioGroup(COMVariant::createFromInt(0),1235); var_Items1 = COM::createFromObject(com_Item6.Items()); com_Items1 = var_Items1; var_Item8 = COM::createFromObject(com_Items1).Add("Always ask me before switching"); com_Item8 = var_Item8; com_Item8.Height(24); com_Item8.HasRadioButton(COMVariant::createFromInt(0),true); com_Item8.RadioGroup(COMVariant::createFromInt(0),1235); com_Item8.State(COMVariant::createFromInt(0),1); var_Items1 = COM::createFromObject(com_Item6.Items()); com_Items1 = var_Items1; var_Item9 = COM::createFromObject(com_Items1).Add("Don't ask me and always' switch"); com_Item9 = var_Item9; com_Item9.Height(24); com_Item9.HasRadioButton(COMVariant::createFromInt(0),true); com_Item9.RadioGroup(COMVariant::createFromInt(0),1235); com_Item6.Expanded(true); var_Item10 = com_Items.Add("Hide app icons on the taskbar in table mode"); com_Item10 = var_Item10; com_Item10.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item10.Items()); com_Items1 = var_Items1; var_Item11 = COM::createFromObject(com_Items1).Add(""); com_Item11 = var_Item11; com_Item11.Height(24); com_Item11.HasCheckBox(COMVariant::createFromInt(0),true); com_Item11.State(COMVariant::createFromInt(0),0); com_Item11.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item10.Expanded(true); extreecube1.EnsureVisibleFaceMargin(0); extreecube1.EnsureVisibleFace(2/*exRightFace*/); extreecube1.AlwaysEnsureVisibleFace(1/*exFitToEnsureFace*/); extreecube1.EndUpdate(); } |
89 |
How can I display more group of radio-buttons
public void init() { COM com_Column,com_Columns,com_Face,com_FaceTree,com_Item,com_Item1,com_Item10,com_Item11,com_Item12,com_Item13,com_Item2,com_Item3,com_Item4,com_Item5,com_Item6,com_Item7,com_Item8,com_Item9,com_Items,com_Items1; anytype var_Column,var_Columns,var_Face,var_FaceTree,var_Item,var_Item1,var_Item10,var_Item11,var_Item12,var_Item13,var_Item2,var_Item3,var_Item4,var_Item5,var_Item6,var_Item7,var_Item8,var_Item9,var_Items,var_Items1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); var_Face = extreecube1.LeftFace(); com_Face = var_Face; com_Face.RelativeMargins("0,32,0,0"); com_Face.Title(0/*exTitleFaceCaption*/,"<c><font ;18>Multitasking"); com_Face.Title(11/*exTitleFaceBackgroundExt*/,"bottom[2],bottom[4,back=RGB(0,0,0)]"); var_FaceTree = com_Face.CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HasLines(0/*exNoLine*/); com_FaceTree.DrawGridLines(0/*exNoLines*/); com_FaceTree.ItemPadding(24); com_FaceTree.HeaderVisible(false); com_FaceTree.ShowSelection(false); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Snap"); com_Item = var_Item; com_Item.Divider(0); com_Item.Bold(true); var_Item1 = com_Items.Add("Arrange windows automatically by dragging them to the sides of corners of the scree"); com_Item1 = var_Item1; com_Item1.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item1.Items()); com_Items1 = var_Items1; var_Item2 = COM::createFromObject(com_Items1).Add(""); com_Item2 = var_Item2; com_Item2.Height(24); com_Item2.HasCheckBox(COMVariant::createFromInt(0),true); com_Item2.State(COMVariant::createFromInt(0),1); com_Item2.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item1.Expanded(true); var_Item3 = com_Items.Add("When I snap more than one window, automatically adjust the size of the windows"); com_Item3 = var_Item3; com_Item3.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item3.Items()); com_Items1 = var_Items1; var_Item4 = COM::createFromObject(com_Items1).Add(""); com_Item4 = var_Item4; com_Item4.Height(24); com_Item4.HasCheckBox(COMVariant::createFromInt(0),true); com_Item4.State(COMVariant::createFromInt(0),1); com_Item4.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item3.Expanded(true); var_Item5 = com_Items.Add("When I snap a window, show what I can snap next to it"); com_Item5 = var_Item5; com_Item5.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item5.Items()); com_Items1 = var_Items1; var_Item6 = COM::createFromObject(com_Items1).Add(""); com_Item6 = var_Item6; com_Item6.Height(24); com_Item6.HasCheckBox(COMVariant::createFromInt(0),true); com_Item6.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item5.Expanded(true); var_Item7 = com_Items.Add("Virtual desktops"); com_Item7 = var_Item7; com_Item7.Divider(0); com_Item7.Bold(true); var_Item8 = com_Items.Add("On the taskbar, show windows that are open on:"); com_Item8 = var_Item8; com_Item8.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item8.Items()); com_Items1 = var_Items1; var_Item9 = COM::createFromObject(com_Items1).Add("Only the desktop I'm using"); com_Item9 = var_Item9; com_Item9.Height(24); com_Item9.HasRadioButton(COMVariant::createFromInt(0),true); com_Item9.RadioGroup(COMVariant::createFromInt(0),1234); com_Item9.State(COMVariant::createFromInt(0),1); var_Items1 = COM::createFromObject(com_Item8.Items()); com_Items1 = var_Items1; var_Item10 = COM::createFromObject(com_Items1).Add("All desktops"); com_Item10 = var_Item10; com_Item10.Height(24); com_Item10.HasRadioButton(COMVariant::createFromInt(0),true); com_Item10.RadioGroup(COMVariant::createFromInt(0),1234); com_Item8.Expanded(true); var_Item11 = com_Items.Add("Pressing ALT+TAB, show windows that are open on:"); com_Item11 = var_Item11; com_Item11.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item11.Items()); com_Items1 = var_Items1; var_Item12 = COM::createFromObject(com_Items1).Add("Only the desktop I'm using"); com_Item12 = var_Item12; com_Item12.Height(24); com_Item12.HasRadioButton(COMVariant::createFromInt(0),true); com_Item12.RadioGroup(COMVariant::createFromInt(0),1235); com_Item12.State(COMVariant::createFromInt(0),1); var_Items1 = COM::createFromObject(com_Item11.Items()); com_Items1 = var_Items1; var_Item13 = COM::createFromObject(com_Items1).Add("All desktops"); com_Item13 = var_Item13; com_Item13.Height(24); com_Item13.HasRadioButton(COMVariant::createFromInt(0),true); com_Item13.RadioGroup(COMVariant::createFromInt(0),1235); com_Item11.Expanded(true); extreecube1.EnsureVisibleFaceMargin(0); extreecube1.EnsureVisibleFace(3/*exLeftFace*/); extreecube1.AlwaysEnsureVisibleFace(1/*exFitToEnsureFace*/); extreecube1.EndUpdate(); } |
88 |
How can I use images with the control
// FaceTreeButtonClick event - Notifies that a cell of button's type has been clicked. void onEvent_FaceTreeButtonClick(COM _Tree,int _Item,int _Column) { ; print( "FaceTreeButtonClick" ); } // FaceTreeStateChanged event - Notifies that a cell changes its state into a face of tree type. void onEvent_FaceTreeStateChanged(COM _Tree,int _Item,int _Column) { ; print( "FaceTreeStateChanged" ); } public void init() { COM com_Column,com_Columns,com_Face,com_FaceTree,com_Item,com_Item1,com_Item10,com_Item11,com_Item2,com_Item3,com_Item4,com_Item5,com_Item6,com_Item7,com_Item8,com_Item9,com_Items,com_Items1; anytype var_Column,var_Columns,var_Face,var_FaceTree,var_Item,var_Item1,var_Item10,var_Item11,var_Item2,var_Item3,var_Item4,var_Item5,var_Item6,var_Item7,var_Item8,var_Item9,var_Items,var_Items1; str s; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.HTMLPicture("P1","c:\\exontrol\\images\\zipdisk.gif"); extreecube1.HTMLPicture("P2","c:\\exontrol\\images\\auction.gif"); extreecube1.HTMLPicture("P3","c:\\exontrol\\images\\colorize.gif"); extreecube1.HTMLPicture("P4","c:\\exontrol\\images\\auction.gif"); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.RelativeMargins("0,32,0,0"); com_Face.Title(0/*exTitleFaceCaption*/,"<c><font ;18>Notifications"); com_Face.Title(11/*exTitleFaceBackgroundExt*/,"bottom[2],bottom[4,back=RGB(0,0,0)]"); var_FaceTree = com_Face.CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HasLines(0/*exNoLine*/); com_FaceTree.DrawGridLines(0/*exNoLines*/); com_FaceTree.ItemPadding(24); com_FaceTree.HeaderVisible(false); com_FaceTree.ShowSelection(false); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Choose your quick actions"); com_Item = var_Item; com_Item.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item.Items()); com_Items1 = var_Items1; var_Item1 = COM::createFromObject(com_Items1).Add(""); com_Item1 = var_Item1; com_Item1.Height(48); s = 0; com_Item1.Value(s,"<c><img>P1</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item1.Value(s,"<c><img>P2</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item1.Value(s,"<c><img>P3</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item1.Value(s,"<c><img>P4</img>"); com_Item1.CellWidth(s,48); com_Item1.HasButton(s,true); s = com_Item1.SplitCell(s); com_Item.Expanded(true); var_Item2 = com_Items.Add("Show me tips about Windows"); com_Item2 = var_Item2; com_Item2.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item2.Items()); com_Items1 = var_Items1; var_Item3 = COM::createFromObject(com_Items1).Add(""); com_Item3 = var_Item3; com_Item3.Height(24); com_Item3.HasCheckBox(COMVariant::createFromInt(0),true); com_Item3.State(COMVariant::createFromInt(0),1); com_Item3.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item2.Expanded(true); var_Item4 = com_Items.Add("Show app notifications "); com_Item4 = var_Item4; com_Item4.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item4.Items()); com_Items1 = var_Items1; var_Item5 = COM::createFromObject(com_Items1).Add(""); com_Item5 = var_Item5; com_Item5.Height(24); com_Item5.HasCheckBox(COMVariant::createFromInt(0),true); com_Item5.State(COMVariant::createFromInt(0),1); com_Item5.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item4.Expanded(true); var_Item6 = com_Items.Add("Show notifications on lock screen"); com_Item6 = var_Item6; com_Item6.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item6.Items()); com_Items1 = var_Items1; var_Item7 = COM::createFromObject(com_Items1).Add(""); com_Item7 = var_Item7; com_Item7.Height(24); com_Item7.HasCheckBox(COMVariant::createFromInt(0),true); com_Item7.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item6.Expanded(true); var_Item8 = com_Items.Add("Show alarms, reminders and incomming VOIP calls on the lock screen"); com_Item8 = var_Item8; com_Item8.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item8.Items()); com_Items1 = var_Items1; var_Item9 = COM::createFromObject(com_Items1).Add(""); com_Item9 = var_Item9; com_Item9.Height(24); com_Item9.HasCheckBox(COMVariant::createFromInt(0),true); com_Item9.State(COMVariant::createFromInt(0),1); com_Item9.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item8.Expanded(true); var_Item10 = com_Items.Add("Hide notications while presentation"); com_Item10 = var_Item10; com_Item10.SingleLine(COMVariant::createFromInt(0),false); var_Items1 = COM::createFromObject(com_Item10.Items()); com_Items1 = var_Items1; var_Item11 = COM::createFromObject(com_Items1).Add(""); com_Item11 = var_Item11; com_Item11.Height(24); com_Item11.HasCheckBox(COMVariant::createFromInt(0),true); com_Item11.State(COMVariant::createFromInt(0),0); com_Item11.FormatCell(COMVariant::createFromInt(0),"state = 0 ? `Off` : `On`"); com_Item10.Expanded(true); extreecube1.EnsureVisibleFaceMargin(0); extreecube1.EnsureVisibleFace(0/*exFrontFace*/); extreecube1.AlwaysEnsureVisibleFace(1/*exFitToEnsureFace*/); extreecube1.EndUpdate(); } |
87 |
How do I display a progress bar
public void init() { COM com_Column,com_Column1,com_Columns,com_FaceTree,com_Item,com_Item1,com_Item2,com_Item3,com_Item4,com_Items; anytype var_Column,var_Column1,var_Columns,var_FaceTree,var_Item,var_Item1,var_Item2,var_Item3,var_Item4,var_Items; ; super(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ItemPadding(16); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Pos"); com_Column = var_Column; com_Column.FormatColumn("1 pos ``"); com_Column.Width(8); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column1 = COM::createFromObject(com_Columns).Add("Progress"); com_Column1 = var_Column1; com_Column1.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add(""); com_Item = var_Item; com_Item.BackgroundExt(COMVariant::createFromInt(1),"none[(2,2,100%-4,100%-4)](top[24,text=`10%`],bottom[6,back=RGB(204,204,204)](left[10%,back=RGB(0,120,215)]))"); com_Item.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/,"25%"); com_Item.BackgroundExtValue(COMVariant::createFromInt(1),2/*exIndexExt2*/,4/*exTextExt*/,com_Item.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/)); var_Item1 = com_Items.Add(""); com_Item1 = var_Item1; com_Item1.BackgroundExt(COMVariant::createFromInt(1),"none[(2,2,100%-4,100%-4)](top[24,text=`10%`],bottom[6,back=RGB(204,204,204)](left[10%,back=RGB(0,120,215)]))"); com_Item1.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/,"15%"); com_Item1.BackgroundExtValue(COMVariant::createFromInt(1),2/*exIndexExt2*/,4/*exTextExt*/,com_Item1.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/)); com_Item1.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,1/*exBackColorExt*/,COMVariant::createFromInt(65280)); var_Item2 = com_Items.Add(""); com_Item2 = var_Item2; com_Item2.BackgroundExt(COMVariant::createFromInt(1),"none[(2,2,100%-4,100%-4)](top[24,text=`10%`],bottom[6,back=RGB(204,204,204)](left[10%,back=RGB(0,120,215)]))"); com_Item2.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/,"75%"); com_Item2.BackgroundExtValue(COMVariant::createFromInt(1),2/*exIndexExt2*/,4/*exTextExt*/,com_Item2.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/)); var_Item3 = com_Items.Add(""); com_Item3 = var_Item3; com_Item3.BackgroundExt(COMVariant::createFromInt(1),"none[(2,2,100%-4,100%-4)](top[24,text=`10%`],bottom[6,back=RGB(204,204,204)](left[10%,back=RGB(0,120,215)]))"); com_Item3.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/,"85%"); com_Item3.BackgroundExtValue(COMVariant::createFromInt(1),2/*exIndexExt2*/,4/*exTextExt*/,com_Item3.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/)); var_Item4 = com_Items.Add(""); com_Item4 = var_Item4; com_Item4.BackgroundExt(COMVariant::createFromInt(1),"none[(2,2,100%-4,100%-4)](top[24,text=`10%`],bottom[6,back=RGB(204,204,204)](left[10%,back=RGB(0,120,215)]))"); com_Item4.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/,"5%"); com_Item4.BackgroundExtValue(COMVariant::createFromInt(1),2/*exIndexExt2*/,4/*exTextExt*/,com_Item4.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,2/*exClientExt*/)); com_Item4.BackgroundExtValue(COMVariant::createFromInt(1),4/*exIndexExt4*/,1/*exBackColorExt*/,COMVariant::createFromInt(255)); } |
86 |
I have a column of check box type, the question if I can automatically display on/off when user changes the check's state
|
85 |
How do I print the control
public void init() { COM com_FaceCalendar,com_Print; anytype var_FaceCalendar,var_Print; ; super(); var_FaceCalendar = extreecube1.FrontFace().CreateCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.AutoSize(1/*exFitClient*/); com_FaceCalendar.MaxMonthX(1); com_FaceCalendar.MaxMonthY(1); // Add 'exprint.dll(ExPrint.dll)' reference to your project. // Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project. var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print; com_Print.PrintExt(extreecube1); com_Print.Preview(); } |
84 |
How can I get the caption from the point
|
83 |
How can I get the value from the point
|
82 |
How can I get the column from the point
|
81 |
How can I get the item from the point
|
80 |
How can I get the value from the point (calendar's date)
|
79 |
How can I get the date from the point (calendar's date)
|
78 |
How can I get the face from the point
|
77 |
Does your control support partial-check feature
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Item1,com_Item2,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Item1,var_Item2,var_Items; str var_s,var_s1,var_s2; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(32); extreecube1.CheckBoxHeight(29); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABQACg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFIYRoAmCYZRnAYZIpjOZ5Bi"; var_s = var_s + "KAwgQiHMbwTLjfyMACjH7nnJEEigNIxToOU4jFDGIAWArAZBEbTENBtBIUIRoCA6CgOCAYRa4AJTdL1Er2ex2G7WMpWURkHTUJgGN4BVbdeoxPi/b6wDA8CwXAaHXpfb"; var_s = var_s + "aKYQ7brYaikchyLI8Tq9bDNIgADLoYADJIoCRqEyudKQcrXJakaZqOoaXo+W5VVzWLpDVo0XBdTiLAAzKDgA6bRqBSjgMjuIpcbABazPJTwPJcXxnGyMehyWJ47KoKZO"; var_s = var_s + "koNRTiIRoCDgCZXm+eA6m0dQQj8MRInCUY7CIVoCEAFZonefApC2BQglWHIKAAPx/D4FoyHgTZsAIXwYAWYR8kMR5YAAP4PmOdZ7H8X54AoDhziASAaAiAoeAecZ+CQI"; var_s = var_s + "AID4GhwGEF5eBOAphHgZgbgiWQYHYB4CGICA2CSCpPnMYIjgEYZoiIFYDCGCIyCsNgKCCRgSgyHZ4FoKoNiGOJgDKDphEidg0giJEnDiDojBkFZXg+IxZCYGoLgMOQSC"; var_s = var_s + "mFBlCgOJZCmA4jDiCYJmSZw6FCEglheRhbA4ZZpgIV4ZCYV4+GeGhhniTghhsYAps+HBkGmTh0hmChpiId4PCSeQeHuHwnmmKhyg+aA3gYdohh2cxUhwCJNBIRZuiIXo"; var_s = var_s + "DGiJwOkyWR9nkPwoiKFA2G2YBznaHIlB0cxGBiAYfAONJUCgIBmlAFg6k0AhaioJ5OkMTIdi0axzEyHmEBIYJpDMCJanyDowiwQwyq0LBbB6Sowg6KwYmoMxI26GwIBw"; var_s = var_s + "U4Mj0GpgCOCI6BmG4mmYX4mG2a4GmCOAmhuFhfjmAALiKao5m6S4ml8bpNmKQBQgkFpzjSbg1koc44lYKQviKFp9j+TRrnsAZADALAXASQZwDwJp8xQc4uiSQ5xAwRwS"; var_s = var_s + "kSYhDi0ERCFAECAg"; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABZ8MACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFIYRoAmCYZRnAYZIpjOZ5Bi"; var_s1 = var_s1 + "KAwgQiHMbwTLjfyMACjH7nnJEEigNIxToOU4jFDGIAWArAZBEbTENBtBIUIRoCA6CgOCAYRa4AJTdL1Er2ex2G7WMpWURkHTUJgGN4BVbdeoxPi/b6wDA8CwXAaHXpfb"; var_s1 = var_s1 + "aKYQ7brYaikchyLI8Tq9bDNIgADLoYADJIoCRqEyudKQcrXJakaZqOoaXo+W5VVzWLpDVo0XBdTiLAAzKDgA6bRqBSjgMjuIpcbABazPJTwPJcXxnGyMehyWJ47KoKZO"; var_s1 = var_s1 + "koNRTiIRoCDgCZXm+eA6m0dQQj8MRInCUY7CIVoCEAFZonePwfA6fx7n2MIkBqM4REAB5vnOQpWCeAhnjACR9B4IoEC0OQMAGSZ0H2AxHmQAA/g+Y51n6AAgCgEZLDaC"; var_s1 = var_s1 + "hgmCUQkACAw8g4AJgjKEgNH6IQIEmYB/mAEhCAOBYZDMZIlA2TQSEQCheAGiwKDmTBiAWYYDCCaIWBOChijiMJ/DYXx4loNINBsQBdkWDpiCidgRg+YRYFoRANCMEAuE"; var_s1 = var_s1 + "cXhlHiVISAMTgSlwXh1mOSISE+CZhEiKgLCiQw5FYWYaleFpQBiA4PhOSJhHMJgYD4Yx3mKn5fDYCgwkiUQkiUaRigIYhoEkZZUASTRiHAIodCSWYKCaHgmFkBh0CiAw"; var_s1 = var_s1 + "Zn6AYhGaUhcBiEhmkoEJQCOQBTiiTQjlwGZwDOE4oncXh5hmHIzGCIgMCkah0lMJYBFeMAHiyQRqmKMomiCY5wnoPUzFyuIMmIJh2ioXJqi6Ehkg0coEC6H7zHSUgkkC"; var_s1 = var_s1 + "axA42ToDmydw7GCahygODQNCIVASgoGQ7GyWAyEeaA9n2GQkAsBgGjQKBqGmwxNiKHA7HATxjiSTgzGwaY6h2J5AGOiwfFkM4UkEHQPiWQhQisD5zFyHwKimcAWgZhpr"; var_s1 = var_s1 + "BQAA6AyAgVleHILlucAAj+KA5joDhjg0VhOBEPpwjkBgQD+H5wh2bACBmYBBlwAQPGOKJRH0DwTHiNpHjICgSjiLYkCUGrzk4ApUFoNRJjCBxBGQTwjgCOpPBsWRnDGK"; var_s1 = var_s1 + "4DAiMxDlKXp3ECRpFiuKgOh8AZODKcBqH0NR9GGdA+A6YxplMdRlHmPY4DsTRig2YXfECDg2lmJAjnCeQ8meOANwYwSBXEsDUeQZxdDxDgGwbY3QjjmHiKUcIwQnBfGA"; var_s1 = var_s1 + "DYZowR7B6E6E4MI2g1AUAsOkFwCwOhmECC0ZYkxzhhFME4egXQThHGkPUDoPwqtkE6E8LQaQJiHDiK4KYaBCiwFwOkaYVROhqXoIcdw9BzAcCKNAZg3Qbg2BsD0cY+Bv"; var_s1 = var_s1 + "BPEWOUfIHgziVHMOMYwWQEAACGAEZYgg7gaGKCUXQ6hoD7F2JwW5txIhPHYBQTwwQljzD6AYW4zx6h9B+F8bo9h/AfDONUZwkhziJF8FwHALBaCTAwIEG4CASDfC4FwA"; var_s1 = var_s1 + "IRRHuhBAOUUwAxoAQH6C0eACgDAeAMGoGgGREDPAiKAAIVwBgYA2AUZ4QgEAOEGMANwCwIjWCIEgJIASAg=="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); var_s2 = "gBFLBCJwBAEHhEJAADhABT0MACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFIYRoAmCYZRnAYZIpjOZ5Bi"; var_s2 = var_s2 + "KAwgQiHMbwTLjfyMACjH7nnJEEigNIxToOU4jFDGIAWArAZBEbTENBtBIUIRoCA6CgOCAYRa4AJTdL1Er2ex2G7WMpWURkHTUJgGN4BVbdeoxPi/b6wDA8CwXAaHXpfb"; var_s2 = var_s2 + "aKYQ7brYaikchyLI8Tq9bDNIgADLoYADJIoCRqEyudKQcrXJakaZqOoaXo+W5VVzWLpDVo0XBdTiLAAzKDgA6bRqBSjgMjuIpcbABazPJTwPJcXxnGyMehyWJ47KoKZO"; var_s2 = var_s2 + "koNRTiIRoCDgCZXm+eA6m0dQQj8MRInCUY7CIVoCEAFZonePR+D6d57GESA1GcIoAA+X5fgW2oJh6QAlnMdZHlgFIogGXw3lQNB+AAA54n4PxflefgBgCXIyBIFgZmGA"; var_s2 = var_s2 + "YOBqAhKEgLZ5gOIQHgGfoAAkCAKBQZJIDiJBogqRwYjYGAZksGJFmGAogkiAgRgkIhohyfwgiOSIsGiCxkAGRBwhCRgZBYM4HGMWA+DeBJhEIBhOg+JAZEYQAaGUQhyF"; var_s2 = var_s2 + "YdZjEgfhKgiIQohWc4TggGRCFKGJkCkDBehmTpJiWTIWGCWRtl+CJkkcfIAhyZgphIdoLEaWZkHeHpmjkIhaggZp5HYORzCcMgCHWFIkDGQBviKZx4jQZIjkuKhFkENg"; var_s2 = var_s2 + "KDCThJiAHR5kIXhykeeh2geFBGmqBBmiiaI6hQb4diiGYcF4PgqkYTJXCgApDDiCYbGmBw6hqIJZCGeo6hUBoZlgaovmOY5CkIPQsEqKoJh2J4RjQeYylkM5cm0NgMhG"; var_s2 = var_s2 + "egNH8JZImGE4BEeWpygiEJhiGDIGjeXATgaYgXG4SweGQGRugKOpqGSThTAQdA+hcCQuhsP5HjuVoPBkJQqhaZAXEsO52hkNYNGEcwCjmJAaCaew5HCBhOA8PpvJQDg/"; var_s2 = var_s2 + "iyMZmiMGYGv4dw4jGB5MlKRpwCEcwEhAKhcE4OhRisdwEhmSZHGyJwjGQTRMjcHZHmKXBUGuJxHniHwlkqXpzG8Oo+moWRKmgGRKC0BZzk2c/FmiUZkFGBohBuJQhH8T"; var_s2 = var_s2 + "gxjUB4ElUJwCDMRIRHuNBYhyd5WmuTJKECQYuEuCJhHWTYShQNhtm0M5zFmSpvFGbgvkgKI9DgXw8jcRwwm0GoCgEAxhoAWB0MwgQWi7EmOcMIpgnDwC4CcA4wh4gcB+"; var_s2 = var_s2 + "BUYYcROBPA0GkCYhw4iuCmDgEg1wWAwDmBQJwlw9ifD4OsTAcQLhDBmHQbg1gzBvCWNMegnQnhNGqHUDoXwujWHqAYLICAAAbCKDAOQ4BMD9GaFUUo2QYjzFcLcTovBI"; var_s2 = var_s2 + "hODuBoYoJxEBSHwP4JIrRyB5D8FcTI5x8jeEeJsco7xSC5HEG8S4DgEjnHaNQWIfRJheDaH8BgTgoB8EqFYMoFxPg/CeMUeovAMDBGKJkBgXxGgLHsH4R4QQpj7EyP8Z"; var_s2 = var_s2 + "I1hEChBQAggI"; com_Appearance.Add(3,COMVariant::createFromStr(var_s2)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); extreecube1.Background(72/*exCheckBoxState2*/,0x3000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HasLines(2/*exThinLine*/); com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(16); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Partial Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); com_Column.FormatColumn("`Check <b>` + 1 rpos ``"); com_Column.PartialCheck(true); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.Count(extreecube1.FrontFace().FaceTree().VisibleItemsCount()); var_Item = com_FaceTree.ItemByIndex(1); com_Item = var_Item; var_Items = COM::createFromObject(com_Item.Items()); com_Items = var_Items; com_Items.Count(3); com_Item.Expanded(true); com_Item.State(COMVariant::createFromInt(0),1); var_Item1 = com_FaceTree.ItemByIndex(2); com_Item1 = var_Item1; var_Items = COM::createFromObject(com_Item1.Items()); com_Items = var_Items; com_Items.Count(3); com_Item1.Expanded(true); var_Items = COM::createFromObject(com_Item1.Items()); com_Items = var_Items; var_Item2 = COM::createFromObject(com_Items).Item(COMVariant::createFromInt(1)); com_Item2 = var_Item2; com_Item2.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
76 |
I am using the Items.ToString, just wondering if I can use it for multiple columns
|
75 |
How can I show the item on multiple-lines
|
74 |
How can I change the visual appearance for the control's radio buttons
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.RadioButtonWidth(23); extreecube1.RadioButtonHeight(23); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABNoCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s = var_s + "ADRfFoWmxTdAcYSCGSZZrGOiQADIM40R7UAABPBNKR1BKmHZDQRAApqXIjVDAYIQSSBUlkHScRijDICXSIIQmbajIZoJCiVZ3VaGETnRQlJQuEgOHZwDAsBwPBqBPziL"; var_s = var_s + "p4WzmGqhR5ichYHI8RYVTKXYy3DxZW7OO4PQjQM7hHL8fwlfTuagyGpZOxjP5cdrYHw2J7NUzJeDxbhrTb6Zh7ILVX7TNIwXAdD4PIKmNryORsC4XG5pZ7oOh6Lo3G4r"; var_s = var_s + "hWZI2nOL4eBON4LkeRJvHWDxvB6G5Lmac56D0OY3hMU5bm6bRoiAeA9DMX5riydJ+D8P4vEeO4xkEcQfCYBZrHKXgzlme4BmCB4eAUZRbAaAZeGsDg4EYCYEmERoaBEO"; var_s = var_s + "JaiMIY2EIXo2FYFYHmIBp1j8OoQhcYZNDiIgIiYE4Jl2BAlj0agOmiKgyH6Xo2jECYGE8WJmDODpehgFgZEIXI3DyfoQmQSQWEaEZkgkJhKhKZA2hmSxCEyGREnSFJkk"; var_s = var_s + "kVhWwCCAthFKRjiIXhpiXOhihGYwJESSRCFuIxqGoPomkmDhuhWT45kSXYcl8UxdAkbgPBaMhTD0JApj4foRBoaJ5iqAxdmadhzDcWxpgIf4bhsY4Gg6GYYDcegNGUYg"; var_s = var_s + "6VMIsBBmNg8CmRwuCOJBgBaAgXh6JQzl6JocE+OQQn+KpqkqNouivgQiiaLJPHaMZYHwQAHHIdRrA6ep2jMbYqx2RxzmqBpajOLxOnacYPHcHZnHGOlynmbo0jSbRLFa"; var_s = var_s + "JoJlyNpplyKArhcGZcgMWpGjCXo4liM4ukiHpngkeJojiTZphmLIDG2Nwak2N4vEaAJsj2bpLgWFxlGGExOn4dgvHOMpxGgbwkAyaxEFCFAEICA="; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABCEMACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s1 = var_s1 + "ADRfFoWmxTdAcYSCGSZZrGOiQADINI0R7UAABPBIMSjAamHZDQRAApqXIjVaAhySQKksg6TiMUYZAbaRBCEzbUZDNBIopUQLVU5ABbUEqBIipIrEQLHNwPBaEYZiOIYW"; var_s1 = var_s1 + "5re4cfzIMhyLI8Ob3CqHZhleTwTjWGYvSp1dBbTQ2QyVRanMDqOjsKxmW5Gbh5NhfHY8dxnDKcZ5jGSudrjEZ9VpmG74JzeEbjRj8chxT4PDxnBK/YDSWgdLo8VzXBpc"; var_s1 = var_s1 + "G2MY4maXxzFKQRxHgOQeC8H4TkuZhzHoNR9kaXpNnONZsGGMo9B4A5bmuFZ7n4Pw/i+XpFmSVB/mAB41hsQJfBYOJXgGXAHm4CoCmCtYAHqXRWBGWB/F2Z5UnaAxZFOa"; var_s1 = var_s1 + "J2DuTpzHCOQ5gwcg8veDBjlCaA0mGBg6BYapcEONZiHYHADg4MoKE+U4QkEIINAISAig4Y44moPIPA4EpoHSBoOngNgyDiW5jCGShCF+VouA2EQNhKHBMg+Y5pFYPYVm"; var_s1 = var_s1 + "OQxYiAD4kEgNZRHSTokCWax4A4KA2DaDglGkUhYhoZRph4DYZB6NAllEbwOmgKhEhqJ4JjIa4ek8c48mGAoflcAQJhITxaBYCoHEuGZmHuIooioIgKgWJIUCWXh4hkNh"; var_s1 = var_s1 + "ImkM4JloMh6iaJRzhySAkCkVhFhUd4QhMJomD0KtvBCCJMGocouh6KIKiifoKlodAmAAOgrgYVoVD7Y5AlMJhDAqPoLh6D4DkCYosicSoYkkQhcmMapOD6LQKkqHgkCw"; var_s1 = var_s1 + "KhwmILpHFqSJ7jaTZbHYBw1lCFwwnEcAqgOUoUGSa5DxkLQGHsVhWhQRJKkmFYkBuaI1lgdBtlMdZKi6LoKnSZQwggOp+kGJpjiufIDiyGQXCiYZCmyJxeAQYQi0YYI+"; var_s1 = var_s1 + "lieoqmmKwpHIdoskIGQGFWSg8DIBx6GCQ4AAYXhHjlo5fCqNpPjYRJ/kucwMkcMpM9GMwqk2Tx3AGa4AnIVpkm2N5cAgcJvk2XIsjGeYlF53hKk2dAnEGJR7nCdxlgYc"; var_s1 = var_s1 + "4ajmEplk4NYNGcWpKiYRx5k4dYhC0RxggsTpXAGQA3jaBoEmuUIuFuCo4DoNoDHqShwCKXYPCSXYzmOMx6lwOwZoawrgkE0HwBY1xegdE2MMWQhBOhoEUBIQAgCAgA=="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(73/*exRadioButtonState0*/,0x1000000); extreecube1.Background(74/*exRadioButtonState1*/,0x2000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(12); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Radio"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true)); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Radio 1,Radio 2,Radio 3,Radio 4"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(1)); com_Item = var_Item; com_Item.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
73 |
How can I change the visual appearance for the control's check boxes (6)
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(16); extreecube1.CheckBoxHeight(16); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABKMGACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s = var_s + "ACxfFoWRrnaA5QoGM4EDTRYADCKsaQ/J0LcI1FLUEyUf6sAArB74XiCIAIQiUBomGahajkMoYZAAaDCCI2a4aDZCIoVHalKgxC5oKSqCJqbptMZ/HrgJQYGRuC4NQ7Cc"; var_s = var_s + "DKDATbr9MZ9ZBCNZoPimEYtS7MMLyRB8QpyAytaBhRaaGwmSr3U7Oc50d69FYTIxcYZoCq1XBOGYMZLcNR3La9YYnBqMbRAeJYNped6NSDVcKxLgaa4fTrOZZzHL9Hpv"; var_s = var_s + "iMWYBnWOr+kwJ4zlqY53CAZQ/B4GZzmab5qHyT4cDeDInkwPp8DCTI/h+Iw7nMZZhj4B5eGKL57gYGAgAadZoG8soBgYfxKjcSRYCCYJGGYDoDmCQgNh0ZIZAaSB2gWY"; var_s = var_s + "J2F4FwdhsJpuBQfRiAWdQJDqUQUCUASAgA=="; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABV0GACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s1 = var_s1 + "ACxfFoWRrnaA5QoGM4EDTRYADCKsaQ/J0LcI1FLUEyUf6sAArB74XiCIAIQiUBomGahajkMoYZAAaDCCI2a4aDZCIoVHalKgxC5oKSqCJqbptMZ/HrgJQYGRuC4NQ7Cc"; var_s1 = var_s1 + "DKDATbr9MZ9ZBCNZoPimEYtS7MMLQXK8QpyAytaBhRaaGwmSr3U7Oc50d69FYQXqvYZoCq1XBOGYMZLcNR3La9YYnBqMbRAeJYNpedy2YbkFC5LStHwbCrBVpxWotDxQ"; var_s1 = var_s1 + "jWVgrHYGI9iybhbiGUo+jafA6DKZxjkoVgxHoHR+iqXx2jMA52l8XJ/CMJ5TkaCp7nmOwHk+XovmECR8BWMYyAIHAgEOBgGFaSo4CWeQVgoSA0lOA5fEGEZQBSYRGBie"; var_s1 = var_s1 + "YFlWMhiBoPZhkabI3geYIzDYIoHA8dxAH2CZYGMLgqHeW4zAYLgWCMB4gGIeoOjcQgJCqWBhgIOhvGKRhAn2D5blcWBaB+JBGi2EhWAgOQlhmEpYgiHB9DwJQCloUgWm"; var_s1 = var_s1 + "UQoOFaEZXlaSB2haZJGF4WwdhsJRslmGJGDmFhYg8ZoHBiZYalCE4tBEQhQBAgI="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(16); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Check A,Check B,Check C,Check D"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(1)); com_Item = var_Item; com_Item.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
72 |
How can I change the visual appearance for the control's check boxes (5)
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(24); extreecube1.CheckBoxHeight(24); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABO8GACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s = var_s + "ADRfFoWmxTdAcYSCGSZZrGOiQADIM40R7UAABPBNKR1DZ+KxAB76cheIIgAhCJQGSYZaDqOQyRhkBTqEIITZsRoNUIiRStayuDCLTwoSooXayfjHYAwOBYHgmC4NQ7EM"; var_s = var_s + "RxLAmOw1ZKPQjgDDvDilM4tS7MMxzLK8cx3FjqaAyWhQTgePZNU7UNLwPRMCb3LqvbBsOxbHqma5tWjVYDwPZ9cz3Pq9biAG57fwnC59YLheK5Li9Q4jLbMdByXLMDxH"; var_s = var_s + "iuRJpnWOw7k6RxrjuM5pj+PA+C8H4TkuZpznoPQ+H8B4rlubp3nsfYfA+H5Tl2cp6n4Pw+C+P5rnucx/B+aAFmqAAgCgFZlHSVZICYCoCmCSA2A6A5hAgPZTGWIQYFYF"; var_s = var_s + "oFmCVsjj2YZIHYHoHmICIGCKCJiEiCZBGMTJjiIKoJGKSI2C6CBOjiRYSEITp4lWIgyhiOJmDqDpYHiIYgDqEITi0ERCFAECAg=="; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABA4Cg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSFI"; var_s1 = var_s1 + "ADRfFoWmxTdAcYSCGSZZrGOiQADIM40R7UAABPBNKR1DZ+KxAB76cheIIgAhCJQGSYZaDqOQyRhkBTqEIITZsRoNUIiRStayuDCLTwoSooXayfjHYAwOBYHgmC4NQ7EM"; var_s1 = var_s1 + "RxLAmOw1ZKPQjgDDvDilM4tS7MMxzLK8cx3FjqaAyWhQTgePZNU7UNLwPRMCb3LqvbBsOxbHqma5tWjVYDwPZ9cz3Pq9biAG57fq7ZLEYziOR4Hg+JzFbDVKq0aYjA5R"; var_s1 = var_s1 + "lCU5mm8OR6l6Q53pqaAkgQXgBBMeRmGabhtjsTAeGuaZsm+aQMDwfwvAuJYch2dBsj0XJWkqHIZnMCIOEMBICHiXwHFWVx+A+V5pj4eRGGefJvDcC4WjyXArEWF4OAyA"; var_s1 = var_s1 + "gghYCYsDAT5oHYHoHmGU5sncPANGKAA+HiXJyi4IA/g8U4klQfAeDeVIdgqYxIlWaoNGMQ5gnAOIOHMIIQg4IZonSEIBB0OIInCEAjGgaY6GCJIJDYQIRiEOBVmEN5LE"; var_s1 = var_s1 + "GHhOggIx5F4WoKmKWI9lOCgdAkahZhaZhIH4QoRAMCQaE2GJmFmFhQgUJQZgoShwiSSY2HaBxllmFZqFcJ5JnYfofmgCgGgKIJoCeKYWiEKIKCaCogBqd4oneI5pAoRo"; var_s1 = var_s1 + "SiSaRKFaFolmkVwFg0M4OgodoYieagKgaFA6moRhJAkO5qgaCJKGKapKjaLhhmmNoAmoQhOjQRQJEAQCAg=="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(16); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Check A,Check B,Check C,Check D"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(1)); com_Item = var_Item; com_Item.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
71 |
How can I change the visual appearance for the control's check boxes (4)
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1,var_s2; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(32); extreecube1.CheckBoxHeight(32); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABfICg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFKVQChEYxSjKA40SJNUgyj6"; var_s = var_s + "CCY+QLIE5PfQgAL9I6eJABCCSQKkYx0HScRijDIAbAZAYhCZqaKhWgkKI/WBQIABRDVLx5ESiLRtKy7Mq2bpvXBcNxXHalaztO68LxvKyqHb5fJ/PpgL4YHgmC4NQ7EM"; var_s = var_s + "RwF6rfbyfZ7Xg/ORPTijZ4sdzMHTzJyscx3HqfaBoOaZU5eMLceTUMofHIndxCcasPbsOatVqjG5sYjcGC3La9cz3Pq/bpuDCbMxuaK1TrYXr1TTrcofBDldAxXRKDxR"; var_s = var_s + "DWVhLnYOw9i6XxzjuXprCaOoKB6EwbiCZZCGOdZYlcT4xHmbhMnwNxtn+G5bmqdZ7n4Pw/i+X5zm+dQ9g4CAFjsfAJheOI8HsDoWDWTB/lwSAQkmA5PEgRYoDyDwYFYF"; var_s = var_s + "oFmGCBmBqBphDgRJ0gOTIYBGRB/lyRh0iSCZbjYWJzgWDwIjYLoLmMCJGDKDJjBgWgqG6YhyhGHRzA2aJ1mCABOAiOJvhCZBJBYRoRmSCQmEqEQimkAZgg8TZnDCV4Uk"; var_s = var_s + "mCUmBKZYJGYWoWCUUhiFMNZckNUh2GENoaGaGZmgmJhqhqZpGGIEx2GYIxSGGGJdggWJth2Z4JmYeoemeSZ2H6H4hGmQhihyTRHGYLg7CiCgmgqIpokoNoOiOaJ4jqAo"; var_s = var_s + "chqaZGgaCxpAoZoaiaaJqEmWIcGgShcnCJwqEqFoR3YOoFlgchflqNouiuawHmWSYqGkWZQhcatzmaOoumuSp2j6L5bBaKo0GQKRnGGCxqiyCwmkqMpsksNpOGUGI7A0"; var_s = var_s + "ew1G0Rxlg0PptgsZuDG2Sx2l6N5tnYNZZjUDRXDCVo5l2FoymqOpukuNpujubwLjmWY5k0ZwxkaFxYlWdp6j6b5Lnafo/nABQdg2FxcUsY5BkmXAkmeQpckwNRrkKTh8"; var_s = var_s + "CSHZBk4NwyC4KxxgMDwakOMZDn8GgwnGAo2C4cwthMcwmCcMoHBMHRehwTIghySYNksZwcH4HBMEsHx5hyPItiweYxnwSZEH4Mozn0fR+DMAo7EYJ50gkdZelKdNql2U"; var_s = var_s + "gJn0GIukwH4HicQRai2GI4mSVpNl0dZGledgNgcYpYDWUx3FsOQi5YV5anaTY3G6W53A2RxylydxFjiaxEFCCgBBAQ=="; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABcoFg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFKVQChEYxSjKA40SJNUgyj6"; var_s1 = var_s1 + "CCY+QLIE5PfQgAL9I6eJABCCSQKkYx0HScRijDIAbAZAYhCZqaKhWgkKI/WBQIABRDVLx5ESiLRtKy7Mq2bpvXBcNxXHalaztO68LxvKyqHb5fJ/PpgL4YHgmC4NQ7EM"; var_s1 = var_s1 + "RwF6rfbyfZ7Xg/ORPTijZ4sdzMHTzJyscx3HqfaBoOaZU5eMLceTUMofHIndxCcasPbsLpOS5LNKsaxmWLYdhFdTxQi6LpvfA8BwXC6JY7heRYRbFbYxRjGNi1TS7G4n"; var_s1 = var_s1 + "GKd5WGuL4UHwI4VkaYxii8V4pgQMgVBQdQ5iCTYGi8T4vlWbJ3nuPg+l+H5AlSCg6ByPBoE8Ap3jqYxhBido5g0OgOGOGI4CsSpCCAcgcAuEokiEN5NCKfJ9DyTRjnSc"; var_s1 = var_s1 + "g1CEYxOBmBpPCgagdgcIZoHoGIFA4AxQkCAxKAgKBwgGSpIBCZhjF2E5UnQPQMiMCJBCIBwxkSQgsgo+JtDKT4ziiQw+k6EwAnsOgLnkHI+yCQ4iEuE4klkPhShEJBpA"; var_s1 = var_s1 + "oPgymOMoaDgHBjFMBgyD0HYTiCZSZhIIIGC4ChiHSew5kwM5omILZPiOBI0hwZw5kodIdA+M4Uj4PxOmMSJ9DuTQzmyZgviceZagaHVfj4awwmaAh2GUIYmCOEZZDaDR"; var_s1 = var_s1 + "DFGdwcg4EwyHMN4LBOaJbCoaZqgKH8qkMfIyD8DozDyfA7A0Coui0OpMmOZJdCsahKg6NooioChwmEMxLEoXJbDUTRXGSUgykyMgQG0GpPHMdI3D4TRCgSeQ0kmaw+lG"; var_s1 = var_s1 + "NAtCOZJVCiT5DhyRQwAqMg0EoDBBGEGAsASC5yiSCw+k4Mp6lWNQuksTpRjMTxDGzJwGmGMpDDKXYTECSAxl6Q5olkK4PgMMIVkASRMBMBgzEkaZEjsNALhIZA6AeQBg"; var_s1 = var_s1 + "k0ZJEgAAJ0CIAgODMNIsD6DRih9uYwFyAwfCUb5ijmbI+gwdxkk8MZMGeMpPCkDxzBiC5MHMPJLDSSROFMLIoBEQogEMFJPnENYQGgE4DCOaJfC7tYkhGTQ0kyWwykuX"; var_s1 = var_s1 + "pMiyRpKjKR4wngM4JmOWJACCdYtHMWw+Eych4nINYLAEYA8AgdAEEsQZajaQoog4GxPiMVIolcdxNG8XZVkmNoRwWRVBlFeFEeAZQJgnFiHgHwcAhjhHgGMSI5xki2Cy"; var_s1 = var_s1 + "A4EQsA3i0HkBsLwKRFgAHcPkHopBJBcBeDUYI7xyDOHqKkWo2hLCsDIBIY4qQ5A8DoMMYwOAqCSBGKgU4yB2iDBwIgB4hxQgAAWNgBoAgsBdEcBUQ4sQ9A/HqD0JI8Rp"; var_s1 = var_s1 + "BzH2OYVgahLBHFiJQJweQiDhDUE4SAARQAzFsG0EQwA6AOWSBkFgVAIBCHeGERQFQiCQHeFkC4vkiB8DyB4F4QxVDvGMNEOQexMjlBeOAKQiQLgfDA7QEAaRiBdEkH8T"; var_s1 = var_s1 + "I7AZiFBAGYBIABWjYBiGACioQ4C1A+AMMgWhfgxHgPsT4URIB0COKgPgjRwiAB8AYUArxBgCF6J4GY5hrAOCAPAAoGRRCsCIMEXATXfgAF8BMJwURuEQDgD4Q4OBoAeH"; var_s1 = var_s1 + "GFgLIwQrC2D0JoSQ+QvhrHoHERggR4A2GKMQH4FwBD0CgAgAAkAFhAEwEYAoYAiBeEUBEAYEBRI8EUCIcAVAEDQG0PcZYIBVgSHEAEGojB4j1AeFkHQ+wsBDBQGQTwyB"; var_s1 = var_s1 + "dDREMAwNAjQhh+BoMYZA1wNhjEIG8QwwROAmEGCgBQCBgBQHKBoUYDQqiNEGNgGgowQjZA0MMHAZwWBgGsD4I4QBqAfDGJAMgrhAiRBGKQQgPRJAyB8EkJIWQUglGOBg"; var_s1 = var_s1 + "ZYFgGBYAIDsACmRgjgH0B4EYnQljIBiJwOwRh8DZA2CIGAOwDhRGEDQQwLAulGACJwZYOQ2gtDKMQWglwpDeC6AoUIJgPBiGAAACgggoBDAUPEHgJwShIGwDsEYtBnAJ"; var_s1 = var_s1 + "HiBoEQxRgCqAoCkeAbBUAhE2C8EwxBcibBkO0TgjxQjIBkIMIATwDCuGAB0QQEAJAtEKDgUQHgBi0DsJ0SI9AygkAwM0KQ4wIBcAUOEfQPRDgSB8BoZIrg1jNFSP0G4K"; var_s1 = var_s1 + "ACCzA4GMHgWqnjwHYAMDATgDhDHYMATokhpA9AaEAYoFwhDkHmAcHIogUBHAANsDIpR+B0EoEEbIRxUgAH+KMegihIDSB0E2X44BNgRFmAEZINhYhYBQIQYoDgUCFHsI"; var_s1 = var_s1 + "gG1hQZhmDgIwCIoRwA7CQGMdYTxniVCAD4OQGhOiHDAJ4BowQSAFAIIAGAcxHBBGGEwRYVB3gfBmDAOoURIi0BsAYQA0KlA0DMA0IImQrhqH6F4VgFRHCxCtLYKwxgyh"; var_s1 = var_s1 + "YYGFgNYjQQidCCICllpJUjVAUOwLwxQ2gwEwDUcwmBrh6H4F4BY6A02kAaNjMYYADBrH6IkF4FVPiDGgEgAYWwkUIGAGIYoWQpDuDkMUVARwCjgDMMMAIoRBAuAKIkNg"; var_s1 = var_s1 + "HQyBEEIJACBAQA=="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); var_s2 = "gBFLBCJwBAEHhEJAADhABQ4Fg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFKVQChEYxSjKA40SJNUgyj6"; var_s2 = var_s2 + "CCY+QLIE5PfQgAL9I6eJABCCSQKkYx0HScRijDIAbAZAYhCZqaKhWgkKI/WBQIABRDVLx5ESiLRtKy7Mq2bpvXBcNxXHalaztO68LxvKyqHb5fJ/PpgL4YHgmC4NQ7EM"; var_s2 = var_s2 + "RwF6rfbyfZ7Xg/ORPTijZ4sdzMHTzJyscx3HqfaBoOaZU5eMLceTUMofHIndxCcasPbsLpOS5LNKsaxmWLYdhFdTxQi6LpvfA8BwXC6JY7heRYRbFbYxRjGNi1TS7G4n"; var_s2 = var_s2 + "GKd5WGuL4UHwI4VkaYxii8V4pgQMgVBQdQ5iCTYGi8T4vlWbJ3nuPg+l+H5AlSCg6ByPBoE8Ap3jqYxhBido5g0OgOGOGI4CsSpCCAcgcAuEosiYN5NHMOJ+D4TpTnSe"; var_s2 = var_s2 + "Q7CEY4uBmBpPhgagdgcIZoHibIEyUBJZDQIJShoCgcCAcoyAQOYYlcZJ1D0DxDCiQgwEiAZMHEMJLFKPJ9D2DoDnidQ4k+Y5QmKEROBkIhKD0JIZDIS4TGUCQuEeEJjn"; var_s2 = var_s2 + "OIg8CuY4RkYNgwGMM5RllGpThDRYIGKZIpCkJFUH0PINyWcQ3CaaZCG+HBnEOTJhD8Tx4GoeQ/GcaZSHOH5nCmQhshoZhihYYwhiYA4RlkNoNEMUZ3ByDjwEsPxOnMaJ"; var_s2 = var_s2 + "9DuDR6F6GYmCmKh0nANtMioP4Gg8aoSiIO5NhodociqaY6GaFYkEyOg8lsNRNTaUgykyMgQG0GpPiONJbD8DpDEyfA6k0KwOkWMQsGsAJU0SagwkoJQJDIPISCQCJTGS"; var_s2 = var_s2 + "UwyGaM4KkmMgtksHpFjAZ4TGCBAbgaSpcksdhNAMIJHHsD5TjSWWMAMOpwjyLwbk6cAz0KRJiDkDYzESCwiggcgcgYIQwCIEINCMCITj6TVxkMXp2j0cQLlCTo7E2F4y"; var_s2 = var_s2 + "mkMZdhMPJHDGHpLAyVg+k4UwrCCSIyByDJ8DuDY8CiWY0kiXAXC6QJwFKGIjCeJpjgyezjlyDw6klHx5myRoMGwZwbkcToTEiew4kwbQfEmUgPkOKJUD4DpTHSHQmgkX"; var_s2 = var_s2 + "I/ASTA1g0XIEDMTBimyfI7jSLYHEiUoPk0Fw/kadAsHGao8A0A5smEMJ2mNyg5gzJZwDgCpChyIZVyIZwFCMJEPASRkBqE+IcHInRcDxA2H4bIsx0AtDsIBpwZwYicD6"; var_s2 = var_s2 + "BscwDwUBgHCIYaIfgtiVH2O4WgUwJjEFeAEQA7y4hMCiBMS4aRdB9A4CYE4LxljyBMHcDItBxinDCLcTYmgejBFQ9UTg9gFBOEmAQTI7A4iZGMGkQAWQ7jYA2HIL8BRA"; var_s2 = var_s2 + "jDG4HcCwARbjZHiNoDw1nLDnGyNINQ+wjCpBMEgcovQUgICQJEcgWRuBvAyJ4d4ugpCUAINcHogxIgnDiM4N4axzD3F2JMTY/hRqYF6FsWIxhYAGGoAALQYgYirBwBEB"; var_s2 = var_s2 + "wpAjBEAAIEIYsA2gOHCMAGgXAACIDmMITAUgFABH0D0I4WwvhNFGMAOIvxRD2GKNcMA8gjAPDCPwBogRPAxA8PgRwZRICYDED8RAXQEghEAN8DIgwIBdB4JYWwMgtiQH"; var_s2 = var_s2 + "oFQKAiRFguFKGwGQhglDsEOVwEQQRkCKBwOIHgSREDRBYHEXQcQdD7GIGARQHRxipBrMobgewDCUCADsEYWAzgMHKHQDQxxsDzA6EMfAeQHB4GQDkUYPA0iECiKoGgRh"; var_s2 = var_s2 + "cDdA2GMQA8AOCjDSPgHI4QnApAKBICwHg1A+BcAwcYsgbjGGQNkCIgRsA6EcBEWANADjsB0B8YYzQQDIGSBcEYZBCCPEkFIHQSgkgZAwG4IwBAbAYGGAgL4Ch4g8BOCQ"; var_s2 = var_s2 + "uFFBaDOASPcAALgChUDyB4cYtgiiOEyCcEopRCCvEsFIKomQEjnB4L8YgQBfgWEEMgPADhojaDsEcaIlBFiDBqEcRgQQ4ArEOPAfYQhUjmCsMsHIYwShmDmAoDYsRqjx"; var_s2 = var_s2 + "AUAkHwPwDjYH2DsEopA9AaECIoFwhRkjmAcHIUAUBHABFsDMJY+B0goEGLIOozhoj/B2CcPg7hPATGdduAALgiiEBsBkd4Fg2iUCEPsG4RxKDDEoMIGARhDiAHaBcZ4r"; var_s2 = var_s2 + "beBUBQPkYo+gFAdE+AwKAEQhjGEUE8aQ1QYBQFCJwTgww1BDEaAEVQMwjBgGoBkSghhIjSBUEkJI6QagpFIHQPgZgojaBsDgIw8BvBgHYAG3QeAUhFFSMQfonwxg2D6E"; var_s2 = var_s2 + "8ZQcwnjLG6DYCgjoAitB0IEKIyxigUA8DQZoq5tgiBICoIoUQXDjDgG4BouhFZdBQJEDYQw0BsEsMEawRAkBJACQEA=="; com_Appearance.Add(3,COMVariant::createFromStr(var_s2)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); extreecube1.Background(72/*exCheckBoxState2*/,0x3000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(16); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Check A,Check B,Check C,Check D"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(1)); com_Item = var_Item; com_Item.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
70 |
How can I change the visual appearance for the control's check boxes (3)
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1,var_s2; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(32); extreecube1.CheckBoxHeight(29); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABQACg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFIYRoAmCYZRnAYZIpjOZ5Bi"; var_s = var_s + "KAwgQiHMbwTLjfyMACjH7nnJEEigNIxToOU4jFDGIAWArAZBEbTENBtBIUIRoCA6CgOCAYRa4AJTdL1Er2ex2G7WMpWURkHTUJgGN4BVbdeoxPi/b6wDA8CwXAaHXpfb"; var_s = var_s + "aKYQ7brYaikchyLI8Tq9bDNIgADLoYADJIoCRqEyudKQcrXJakaZqOoaXo+W5VVzWLpDVo0XBdTiLAAzKDgA6bRqBSjgMjuIpcbABazPJTwPJcXxnGyMehyWJ47KoKZO"; var_s = var_s + "koNRTiIRoCDgCZXm+eA6m0dQQj8MRInCUY7CIVoCEAFZonefApC2BQglWHIKAAPx/D4FoyHgTZsAIXwYAWYR8kMR5YAAP4PmOdZ7H8X54AoDhziASAaAiAoeAecZ+CQI"; var_s = var_s + "AID4GhwGEF5eBOAphHgZgbgiWQYHYB4CGICA2CSCpPnMYIjgEYZoiIFYDCGCIyCsNgKCCRgSgyHZ4FoKoNiGOJgDKDphEidg0giJEnDiDojBkFZXg+IxZCYGoLgMOQSC"; var_s = var_s + "mFBlCgOJZCmA4jDiCYJmSZw6FCEglheRhbA4ZZpgIV4ZCYV4+GeGhhniTghhsYAps+HBkGmTh0hmChpiId4PCSeQeHuHwnmmKhyg+aA3gYdohh2cxUhwCJNBIRZuiIXo"; var_s = var_s + "DGiJwOkyWR9nkPwoiKFA2G2YBznaHIlB0cxGBiAYfAONJUCgIBmlAFg6k0AhaioJ5OkMTIdi0axzEyHmEBIYJpDMCJanyDowiwQwyq0LBbB6Sowg6KwYmoMxI26GwIBw"; var_s = var_s + "U4Mj0GpgCOCI6BmG4mmYX4mG2a4GmCOAmhuFhfjmAALiKao5m6S4ml8bpNmKQBQgkFpzjSbg1koc44lYKQviKFp9j+TRrnsAZADALAXASQZwDwJp8xQc4uiSQ5xAwRwS"; var_s = var_s + "kSYhDi0ERCFAECAg"; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABZ8MACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFIYRoAmCYZRnAYZIpjOZ5Bi"; var_s1 = var_s1 + "KAwgQiHMbwTLjfyMACjH7nnJEEigNIxToOU4jFDGIAWArAZBEbTENBtBIUIRoCA6CgOCAYRa4AJTdL1Er2ex2G7WMpWURkHTUJgGN4BVbdeoxPi/b6wDA8CwXAaHXpfb"; var_s1 = var_s1 + "aKYQ7brYaikchyLI8Tq9bDNIgADLoYADJIoCRqEyudKQcrXJakaZqOoaXo+W5VVzWLpDVo0XBdTiLAAzKDgA6bRqBSjgMjuIpcbABazPJTwPJcXxnGyMehyWJ47KoKZO"; var_s1 = var_s1 + "koNRTiIRoCDgCZXm+eA6m0dQQj8MRInCUY7CIVoCEAFZonePwfA6fx7n2MIkBqM4REAB5vnOQpWCeAhnjACR9B4IoEC0OQMAGSZ0H2AxHmQAA/g+Y51n6AAgCgEZLDaC"; var_s1 = var_s1 + "hgmCUQkACAw8g4AJgjKEgNH6IQIEmYB/mAEhCAOBYZDMZIlA2TQSEQCheAGiwKDmTBiAWYYDCCaIWBOChijiMJ/DYXx4loNINBsQBdkWDpiCidgRg+YRYFoRANCMEAuE"; var_s1 = var_s1 + "cXhlHiVISAMTgSlwXh1mOSISE+CZhEiKgLCiQw5FYWYaleFpQBiA4PhOSJhHMJgYD4Yx3mKn5fDYCgwkiUQkiUaRigIYhoEkZZUASTRiHAIodCSWYKCaHgmFkBh0CiAw"; var_s1 = var_s1 + "Zn6AYhGaUhcBiEhmkoEJQCOQBTiiTQjlwGZwDOE4oncXh5hmHIzGCIgMCkah0lMJYBFeMAHiyQRqmKMomiCY5wnoPUzFyuIMmIJh2ioXJqi6Ehkg0coEC6H7zHSUgkkC"; var_s1 = var_s1 + "axA42ToDmydw7GCahygODQNCIVASgoGQ7GyWAyEeaA9n2GQkAsBgGjQKBqGmwxNiKHA7HATxjiSTgzGwaY6h2J5AGOiwfFkM4UkEHQPiWQhQisD5zFyHwKimcAWgZhpr"; var_s1 = var_s1 + "BQAA6AyAgVleHILlucAAj+KA5joDhjg0VhOBEPpwjkBgQD+H5wh2bACBmYBBlwAQPGOKJRH0DwTHiNpHjICgSjiLYkCUGrzk4ApUFoNRJjCBxBGQTwjgCOpPBsWRnDGK"; var_s1 = var_s1 + "4DAiMxDlKXp3ECRpFiuKgOh8AZODKcBqH0NR9GGdA+A6YxplMdRlHmPY4DsTRig2YXfECDg2lmJAjnCeQ8meOANwYwSBXEsDUeQZxdDxDgGwbY3QjjmHiKUcIwQnBfGA"; var_s1 = var_s1 + "DYZowR7B6E6E4MI2g1AUAsOkFwCwOhmECC0ZYkxzhhFME4egXQThHGkPUDoPwqtkE6E8LQaQJiHDiK4KYaBCiwFwOkaYVROhqXoIcdw9BzAcCKNAZg3Qbg2BsD0cY+Bv"; var_s1 = var_s1 + "BPEWOUfIHgziVHMOMYwWQEAACGAEZYgg7gaGKCUXQ6hoD7F2JwW5txIhPHYBQTwwQljzD6AYW4zx6h9B+F8bo9h/AfDONUZwkhziJF8FwHALBaCTAwIEG4CASDfC4FwA"; var_s1 = var_s1 + "IRRHuhBAOUUwAxoAQH6C0eACgDAeAMGoGgGREDPAiKAAIVwBgYA2AUZ4QgEAOEGMANwCwIjWCIEgJIASAg=="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); var_s2 = "gBFLBCJwBAEHhEJAADhABT0MACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjNIsBxPFIYRoAmCYZRnAYZIpjOZ5Bi"; var_s2 = var_s2 + "KAwgQiHMbwTLjfyMACjH7nnJEEigNIxToOU4jFDGIAWArAZBEbTENBtBIUIRoCA6CgOCAYRa4AJTdL1Er2ex2G7WMpWURkHTUJgGN4BVbdeoxPi/b6wDA8CwXAaHXpfb"; var_s2 = var_s2 + "aKYQ7brYaikchyLI8Tq9bDNIgADLoYADJIoCRqEyudKQcrXJakaZqOoaXo+W5VVzWLpDVo0XBdTiLAAzKDgA6bRqBSjgMjuIpcbABazPJTwPJcXxnGyMehyWJ47KoKZO"; var_s2 = var_s2 + "koNRTiIRoCDgCZXm+eA6m0dQQj8MRInCUY7CIVoCEAFZonePR+D6d57GESA1GcIoAA+X5fgW2oJh6QAlnMdZHlgFIogGXw3lQNB+AAA54n4PxflefgBgCXIyBIFgZmGA"; var_s2 = var_s2 + "YOBqAhKEgLZ5gOIQHgGfoAAkCAKBQZJIDiJBogqRwYjYGAZksGJFmGAogkiAgRgkIhohyfwgiOSIsGiCxkAGRBwhCRgZBYM4HGMWA+DeBJhEIBhOg+JAZEYQAaGUQhyF"; var_s2 = var_s2 + "YdZjEgfhKgiIQohWc4TggGRCFKGJkCkDBehmTpJiWTIWGCWRtl+CJkkcfIAhyZgphIdoLEaWZkHeHpmjkIhaggZp5HYORzCcMgCHWFIkDGQBviKZx4jQZIjkuKhFkENg"; var_s2 = var_s2 + "KDCThJiAHR5kIXhykeeh2geFBGmqBBmiiaI6hQb4diiGYcF4PgqkYTJXCgApDDiCYbGmBw6hqIJZCGeo6hUBoZlgaovmOY5CkIPQsEqKoJh2J4RjQeYylkM5cm0NgMhG"; var_s2 = var_s2 + "egNH8JZImGE4BEeWpygiEJhiGDIGjeXATgaYgXG4SweGQGRugKOpqGSThTAQdA+hcCQuhsP5HjuVoPBkJQqhaZAXEsO52hkNYNGEcwCjmJAaCaew5HCBhOA8PpvJQDg/"; var_s2 = var_s2 + "iyMZmiMGYGv4dw4jGB5MlKRpwCEcwEhAKhcE4OhRisdwEhmSZHGyJwjGQTRMjcHZHmKXBUGuJxHniHwlkqXpzG8Oo+moWRKmgGRKC0BZzk2c/FmiUZkFGBohBuJQhH8T"; var_s2 = var_s2 + "gxjUB4ElUJwCDMRIRHuNBYhyd5WmuTJKECQYuEuCJhHWTYShQNhtm0M5zFmSpvFGbgvkgKI9DgXw8jcRwwm0GoCgEAxhoAWB0MwgQWi7EmOcMIpgnDwC4CcA4wh4gcB+"; var_s2 = var_s2 + "BUYYcROBPA0GkCYhw4iuCmDgEg1wWAwDmBQJwlw9ifD4OsTAcQLhDBmHQbg1gzBvCWNMegnQnhNGqHUDoXwujWHqAYLICAAAbCKDAOQ4BMD9GaFUUo2QYjzFcLcTovBI"; var_s2 = var_s2 + "hODuBoYoJxEBSHwP4JIrRyB5D8FcTI5x8jeEeJsco7xSC5HEG8S4DgEjnHaNQWIfRJheDaH8BgTgoB8EqFYMoFxPg/CeMUeovAMDBGKJkBgXxGgLHsH4R4QQpj7EyP8Z"; var_s2 = var_s2 + "I1hEChBQAggI"; com_Appearance.Add(3,COMVariant::createFromStr(var_s2)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); extreecube1.Background(72/*exCheckBoxState2*/,0x3000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(16); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Check A,Check B,Check C,Check D"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(1)); com_Item = var_Item; com_Item.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
69 |
How can I change the visual appearance for the control's check boxes (2)
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(44); extreecube1.CheckBoxHeight(20); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABJACg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIxDFIsBxPFKCQChEZBUjKAwyDBIUzSDI"; var_s = var_s + "UBhZBIKI7hGa3NBwJAAUTRch0j4iCRQGiYZyHKcxMYgIYCUBkERtMw0GyERQhGb4DoGA4IBhFZQVVLsRBIDh2bbuG4LSrWdJ3OyaN5EbbgZz9P7AMBwLA8EwXBqHYIUG"; var_s = var_s + "JGbhlbTnR7HMhvDIsPDnFqIZhmOZZXjlfh7T7KNByO6LcI3AiDagtWpNTpjf5dV7YNh2LY9UzXNq3bI1W5aUqyAZ9QQpeB0LILYDbRp/FzyO5NNrHG6dZ7oOh1doOUIt"; var_s = var_s + "laP5lgcPA7hEJ47H8SD0l4LwfhOSJ9nOIh9DefBREMKYMDaX59nsVhvlKdBpCGfgIl+L43lGG5lH+YAGlWZw/EYOAVH8ZQXncdBJDwIJGkiGYDlmUh2BKABhEgVJpgWX"; var_s = var_s + "4BA4BxcAeWB1H8KJiAaSJJgiWZWAmVA0CEWIln8JYikWfZpCIXARE0fw3GMRpJnaCRYBGWg6gqI5HgoJxfkYCQFlkX5PhkFYyBAJIImGABpGOWQ1k8OxlAWfZ6BGJA1n"; var_s = var_s + "oRQ+GQeQmEoX4kkkOheG2JQDjYUh+iMGJODUbBjHkbAzg6BxpH4bhsmOdZ6EEGAbmIAR/gSCZWkmfYShwYJYlOH5mnoBYvCSaBFnyDYhlcKAll2AwPAaSggCiWZaD6Ao"; var_s = var_s + "giEc4mBmBpYnePZxGMHw3lUeoGGUN5aH8NJpDoBgDgERg6GGFICh2d4GiWK5cngDgvHqWInG0cIfFyBwpjqLArkcTZVHWV5nGaNhxA6VoVicahajaNo9gUHI2nIdRwBw"; var_s = var_s + "JoOkSMJlFmKpWjWWY2HwPYwm2SxJHIe5sGsYpiGcXpHj6XYxA6NBFAkQBAIC"; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABB4Cg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIxDFIsBxPFKCQChEZBUjKAwyDBIUzSDI"; var_s1 = var_s1 + "UBhZBIKI7hGa3NBwJAAUTRch0j4iCRQGiYZyHKcxMYgIYCUBkERtMw0GyERQhGb4DoGA4IBhFZQVVLsRBIDh2bbuG4LSrWdJ3Oy3KKiQy5cABPq/b6wDA8CwXAaHYRiG"; var_s1 = var_s1 + "DYThmF4dRQAG6RcTLWrPFqVZheGYua4CLBxRrINA0LD9DyHJKnaZkDgpUQGN5dTS4GwPQCN3xRWzUyBaQzJfAZV7Lbw3PadX4XRLHcLwfAXFqWaaNZLneh5DouDz3P5Y"; var_s1 = var_s1 + "MuaRBicQ4nl6bpuBwKYRnuUY2jsfg9B0b43hOH5KjucQPnwOpMi+A4pnab5qB0a4znuf57n4f5gAeeJqC4R42mEcg5AoIRBnUfggkgLJiCaRA4AYEoEl+Y4AhcDpaFOG"; var_s1 = var_s1 + "IrBgDYyBwHICmIB5djge4hEilY8g0MotiUZICkMYB6AEIgYDYIh0g+Q5cm+CYjgOfJ6DuDZ2hSWggkESI6DCDJjCkFZDg0Yx4mYJYOmOVoiD8BQhlgfhEgwZRGBoJISy"; var_s1 = var_s1 + "0IgqGoIpDhCJAVCUWQaFMY5fAkYgBD+D5TmyYAlENPBnCsRhFkoYYcmYMAAmkLRHDmGZ9h2Rw4BkeBnFmeZWHSGIYHeQZuHoHonjGboamaVwYmIJwEEYbZNiCaRKAmdx"; var_s1 = var_s1 + "1hyNZChWIQpjcKZYHAKQ6FqHIoh0Vp6hkcBqgoAodikKgmi2LYnmsCohkAXoXkqMojgMIpKh2Gw6lEFAlAEgIA=="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(16); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Check A,Check B,Check C,Check D"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(1)); com_Item = var_Item; com_Item.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
68 |
How can I change the visual appearance for the control's check boxes (1)
public void init() { COM com_Appearance,com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Appearance,var_Column,var_Columns,var_FaceTree,var_Item,var_Items; str var_s,var_s1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.CheckBoxWidth(37); extreecube1.CheckBoxHeight(15); var_Appearance = extreecube1.VisualAppearance(); com_Appearance = var_Appearance; var_s = "gBFLBCJwBAEHhEJAADhABOkGACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjQAsTRQFocAChEYxXjKBA1SJNUgyj6"; var_s = var_s + "WCQPR7CM5OaDgSABIijJDoGAwIgkUBpGKdBynEYoYxAYySQAIIjaYhoNoJChCM7QHQEBwQDCLUgrGbIbCQHDtW5cFr3DaLEzsXi8FwvK67cr2fp/YBgOBYHbdcJ5Oxkb"; var_s = var_s + "ouPC7Sa0AKKYywGRNFijV4se7MHzzLKHXxZa6UNJhGhaHomCYkYDILhxfDMGx7GqvbBsOxPXj2DZLW7cNIyDS3NyfLqzcBwOZZdrPC6NPzTdSuHQOC43Tqgcb0PDaVgh"; var_s = var_s + "mOVpnHYOAcE6FxzEuCAAGGOw+C2HhzjuZpRGGAAXj8H4zGWZ53mEPAXgyZ43kWZZ4H4L4ehwRp/muTh2l+F5ll8cpZEeeZYHQIEZEoW5MBgNZ9gGGpzioEoCF+GA0kGA"; var_s = var_s + "pYlYnY6iAaBtjaBQfAabYpgMIJWgIGx9BmNhiBsNBikiAZwgWIg2DoMRkAyKJWB+C4fAYGg1DKIw2DAAA6lEFAlAEgI="; com_Appearance.Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABC4Cg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIwjQAsTRQFocAChEYxXjKBA1SJNUgyj6"; var_s1 = var_s1 + "WCQPR7CM5OaDgSABIijJDoGAwIgkUBpGKdBynEYoYxAYySQAIIjaYhoNoJChCM7QHQEBwQDCLUgrGbIbCQHDtW5cFr3DaLKI0J5kUBENhjaBafJ+XzfeBYDgmAYNQbDc"; var_s1 = var_s1 + "JxDC8KwWeQjXYTdyXHilZLaADJcqZVChSwzCafZ5oOK6Bodfq0VY2HabNgnYbNbT7bBrLq6UwWTjZTYZMxuHKMVyLJK/b5wOi3axKBBJWjYOR5Li+MbvNLFCRmO6Obpj"; var_s1 = var_s1 + "gWHxsCiS5vleW5dkCOBBHWPA4F4Rw3kuZpYG0NwbjuD4LAyWhUho9BnmueZ4nof5+BwS40E+Nx9jYeaKAWNhulkF41m8fBfDOVJoDWDJCCALw7g0cphngP5OEMBISH8W"; var_s1 = var_s1 + "g3hI05ckaUYRAAGL8H4PpPgOVJnDUTIiBAKRfkwcZ0BuBAhCeYgVgWXA3AEfRsiGSJlkobIYnAAgYAWDJyEQPgyAgAIFh6CxBjOMJUCyrQckcJxjniahSHMF54gGRoPl"; var_s1 = var_s1 + "4EZsBgOpNAKMhNDGSZnjYOIUmGRo0mwdAAAgFg1hYGIpGiagzgqE5onMOoelgahkgAIZll2U4bCMaZ2AYagnHgbgDFuXQ2GwM4fCiCYtmMapoBgdJaDAaBni2PYiifSR"; var_s1 = var_s1 + "8HQDpqD6AYmEwFxBlIboWnoGoJiUahGHmNonCYZwmGaJwNiKKBriQWRaEmFooA6UxQhsFAdAqDo6iViJYFCLQdCOLQREIUAQICA="; com_Appearance.Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(70/*exCheckBoxState0*/,0x1000000); extreecube1.Background(71/*exCheckBoxState1*/,0x2000000); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(12); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Check"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true)); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Check A,Check B,Check C,Check D"); var_Item = COM::createFromObject(com_FaceTree.ItemByIndex(1)); com_Item = var_Item; com_Item.State(COMVariant::createFromInt(0),1); extreecube1.EndUpdate(); } |
67 |
How can I display an item to fit the control's width
public void init() { COM com_Column,com_Column1,com_Columns,com_FaceTree,com_Item,com_Item1,com_Items,com_Items1,com_Items2; anytype var_Column,var_Column1,var_Columns,var_FaceTree,var_Item,var_Item1,var_Items,var_Items1,var_Items2; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.HasLines(2/*exThinLine*/); com_FaceTree.ItemPadding(10); com_FaceTree.DrawGridLines(-2/*exRowLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c>Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Pos"); com_Column = var_Column; com_Column.Position(0); com_Column.Alignment(0/*LeftAlignment*/); com_Column.FormatColumn("1 rpos ``"); com_Column.Width(24); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column1 = COM::createFromObject(com_Columns).Add("Pos"); com_Column1 = var_Column1; com_Column1.Alignment(0/*LeftAlignment*/); com_Column1.FormatColumn("1 rpos ``"); com_Column1.Width(24); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("<r>Root 1"); com_Item = var_Item; com_Item.Bold(true); com_Item.Divider(0); com_Item.BackColor(WinApi::RGB2int(240,240,240)); com_Item.Selectable(false); var_Items1 = com_Item.Items(); com_Items1 = var_Items1; com_Items1.Add("Child 1"); com_Items1.Add("Child 2"); com_Items1.Add("Child 3"); var_Item1 = com_Items.Add("<r>Root 2"); com_Item1 = var_Item1; com_Item1.Bold(true); com_Item1.Divider(0); com_Item1.BackColor(WinApi::RGB2int(240,240,240)); com_Item1.Selectable(false); var_Items2 = com_Item1.Items(); com_Items2 = var_Items2; com_Items2.Add("Child 1"); com_Items2.Add("Child 2"); com_Items2.Add("Child 3"); com_Items.ExpandAll(); extreecube1.EndUpdate(); } |
66 |
Is it possible to prevent showing the selecting item ( hide )
|
65 |
Is it possible to provide a few radio-buttons only, not for entire column
public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Item1,com_Item2,com_Items; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Item1,var_Item2,var_Items; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(10); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Def"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(4)); var_Items = com_FaceTree.Items(); com_Items = var_Items; com_Items.Add("Item 1"); var_Item = com_Items.Add("Radio 1"); com_Item = var_Item; com_Item.HasRadioButton(COMVariant::createFromInt(0),true); com_Item.RadioGroup(COMVariant::createFromInt(0),1234); var_Item1 = com_Items.Add("Radio 2"); com_Item1 = var_Item1; com_Item1.HasRadioButton(COMVariant::createFromInt(0),true); com_Item1.RadioGroup(COMVariant::createFromInt(0),1234); com_Item1.State(COMVariant::createFromInt(0),true); var_Item2 = com_Items.Add("Radio 3"); com_Item2 = var_Item2; com_Item2.HasRadioButton(COMVariant::createFromInt(0),true); com_Item2.RadioGroup(COMVariant::createFromInt(0),1234); com_Items.Add("Item 1"); extreecube1.EndUpdate(); } |
64 |
Is it possible to provide a few check box only, not for entire column
public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Items; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Items; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ShowSelection(false); com_FaceTree.DrawGridLines(-2/*exRowLines*/); com_FaceTree.ItemPadding(10); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("<c><b>Def"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); com_Column.Def(48/*exCellPaddingLeft*/,COMVariant::createFromInt(4)); var_Items = com_FaceTree.Items(); com_Items = var_Items; com_Items.Add("Item 1"); var_Item = COM::createFromObject(com_Items.Add("Check 1")); com_Item = var_Item; com_Item.HasCheckBox(COMVariant::createFromInt(0),true); var_Item = com_Items.Add("Check 2"); com_Item = var_Item; com_Item.HasCheckBox(COMVariant::createFromInt(0),true); com_Item.State(COMVariant::createFromInt(0),1); com_Items.Add("Item 1"); extreecube1.EndUpdate(); } |
63 |
How can I show radio-buttons for the entire column
|
62 |
How can I show check-boxes for the entire column
|
61 |
How do I select programmatically a value in the calendar
|
60 |
How do I select programmatically a caption in the list
|
59 |
How do I select programmatically a value in the list
|
58 |
How can I show solid lines instead
public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Item1,com_Items,com_Items1,com_Items2; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Item1,var_Items,var_Items1,var_Items2; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.HasButtons(1/*exArrow*/); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ItemPadding(10); com_FaceTree.HeaderVisible(false); com_FaceTree.HasLines(1/*exSolidLine*/); com_FaceTree.LinesAtRoot(2/*exGroupLines*/); com_FaceTree.GridLineStyle(48/*exGridLinesSolid*/); com_FaceTree.DrawGridLines(-1/*exAllLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add(""); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add(""); com_Column = var_Column; com_Column.Alignment(2/*RightAlignment*/); com_Column.FormatColumn("lower(%0) right 1"); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = com_Items.Add("Root <b>1"); com_Item = var_Item; var_Items1 = com_Item.Items(); com_Items1 = var_Items1; com_Items1.Add("Child 1"); com_Items1.Add("Child 2"); com_Items1.Add("Child 3"); com_Item.Expanded(true); var_Item1 = COM::createFromObject(com_Items.Add("Root <b>2")); com_Item1 = var_Item1; var_Items2 = com_Item1.Items(); com_Items2 = var_Items2; com_Items2.Add("Child 1"); com_Items2.Add("Child 2"); com_Items2.Add("Child 3"); extreecube1.EndUpdate(); } |
57 |
How can I select the entire item rather than the column only
|
56 |
How can I change the visual appearance of the control's header bar
public void init() { COM com_Columns,com_FaceTree; anytype var_Columns,var_FaceTree; ; super(); extreecube1.BeginUpdate(); extreecube1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.BackColorHeader(0x1000000); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; com_Columns.Count(5); extreecube1.EnsureVisibleFace(0/*exFrontFace*/); extreecube1.EndUpdate(); } |
55 |
How can I add multiple-columns, so the horizontal scroll bar is displayed
|
54 |
How can I add multiple-columns
public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Items,com_Items1,com_Items2; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Items,var_Items1,var_Items2; ; super(); extreecube1.BeginUpdate(); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ItemPadding(10); com_FaceTree.LinesAtRoot(2/*exGroupLines*/); com_FaceTree.DrawGridLines(-2/*exRowLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Default"); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add("Pos"); com_Column = var_Column; com_Column.Position(0); com_Column.Alignment(0/*LeftAlignment*/); com_Column.FormatColumn("1 rpos ``"); com_Column.Width(24); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = COM::createFromObject(com_Items.Add("Root 1")); com_Item = var_Item; var_Items1 = com_Item.Items(); com_Items1 = var_Items1; com_Items1.Add("Child 1"); com_Items1.Add("Child 2"); com_Items1.Add("Child 3"); var_Item = COM::createFromObject(com_Items.Add("Root 2")); com_Item = var_Item; var_Items2 = com_Item.Items(); com_Items2 = var_Items2; com_Items2.Add("Child 1"); com_Items2.Add("Child 2"); com_Items2.Add("Child 3"); com_Items.ExpandAll(); extreecube1.EndUpdate(); } |
53 |
How do I add a hierarchy
// FaceTreeExpandItem event - Notifies that an item has been expanded/collapsed into a face of tree type. void onEvent_FaceTreeExpandItem(COM _Tree,int _Item) { ; print( _Item ); } public void init() { COM com_Column,com_Columns,com_FaceTree,com_Item,com_Items,com_Items1,com_Items2; anytype var_Column,var_Columns,var_FaceTree,var_Item,var_Items,var_Items1,var_Items2; ; super(); extreecube1.BeginUpdate(); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ExpandOnDblClick(true); com_FaceTree.ItemPadding(10); com_FaceTree.HeaderVisible(false); com_FaceTree.LinesAtRoot(2/*exGroupLines*/); com_FaceTree.DrawGridLines(-2/*exRowLines*/); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; var_Column = COM::createFromObject(com_Columns).Add(""); com_Column = var_Column; com_Column.Alignment(0/*LeftAlignment*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; var_Item = COM::createFromObject(com_Items.Add("Root 1")); com_Item = var_Item; var_Items1 = com_Item.Items(); com_Items1 = var_Items1; com_Items1.Add("Child 1"); com_Items1.Add("Child 2"); com_Items1.Add("Child 3"); var_Item = COM::createFromObject(com_Items.Add("Root 2")); com_Item = var_Item; var_Items2 = com_Item.Items(); com_Items2 = var_Items2; com_Items2.Add("Child 1"); com_Items2.Add("Child 2"); com_Items2.Add("Child 3"); com_Items.ExpandAll(); extreecube1.EndUpdate(); } |
52 |
How can I display a calendar control
|
51 |
How can I change the picture/texture on the faces
|
50 |
How can I get ride of the default texture
|
49 |
How do I get ride of grid lines, and the top border it shows on the tree face
public void init() { COM com_FaceTree,com_Items; anytype var_FaceTree,var_Items; ; super(); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ItemPadding(20); com_FaceTree.HeaderVisible(false); com_FaceTree.DrawGridLines(0/*exNoLines*/); var_Items = com_FaceTree.Items(); com_Items = var_Items; com_Items.Add("Item A"); com_Items.Add("Item B"); com_Items.Add("Item C"); } |
48 |
How can I add a list of items (method 2)
public void init() { COM com_Items; anytype var_Items; ; super(); var_Items = extreecube1.FrontFace().CreateTree().Items(); com_Items = var_Items; com_Items.Add("Item A"); com_Items.Add("Item B"); com_Items.Add("Item C"); } |
47 |
How can I add a list of items (method 1)
public void init() { COM com_FaceTree,com_Items; anytype var_FaceTree,var_Items; ; super(); var_FaceTree = extreecube1.FrontFace().CreateTree(); com_FaceTree = var_FaceTree; var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Item A,Item B,Item C"); } |
46 |
Fisheye Calendar View - Year
// FaceTreeValueChanged event - Notifies that the user selects a new item/column/value into a face of the tree type. void onEvent_FaceTreeValueChanged(COM _Tree) { // f.FaceCalendar.Year = Tree.Caption COM com_Face,com_f; anytype f,var_Face; ; f = COM::createFromObject(extreecube1.Face(extreecube1.VisibleFace())); com_f = f; f = extreecube1.FrontFace(); var_Face = COM::createFromObject(f).Neighbor(1/*exRotateLeft*/); com_Face = var_Face; f.Date(f.FaceCalendar().Date()); f.Move(1/*exRotateLeft*/); var_Face = COM::createFromObject(f).Neighbor(2/*exRotateRight*/); com_Face = var_Face; f.Date(f.FaceCalendar().Date()); f.Move(2/*exRotateRight*/); var_Face = COM::createFromObject(f).Neighbor(2/*exRotateRight*/); com_Face = var_Face; var_Face = COM::createFromObject(com_Face).Neighbor(2/*exRotateRight*/); com_Face = var_Face; f.Date(f.FaceCalendar().Date()); f.Move(2/*exRotateRight*/); f.Move(2/*exRotateRight*/); } // Move event - Occurs once a new face became visible, by moving/rotating from a face to another, into the giving direction. void onEvent_Move(int _RotateDir,int _FromFace,int _ToFace) { COM com_Face,com_FaceCalendar,com_f; anytype f,var_Face,var_FaceCalendar; ; f = COM::createFromObject(extreecube1.Face(_ToFace)); com_f = f; var_FaceCalendar = COM::createFromObject(f).FaceCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.SelDate(extreecube1.Face(_FromFace).FaceCalendar().SelDate()); var_Face = COM::createFromObject(extreecube1.Face(_FromFace)); com_Face = var_Face; var_FaceCalendar = COM::createFromObject(com_Face).FaceCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.UnselectDate(); var_Face = COM::createFromObject(f).Neighbor(1/*exRotateLeft*/); com_Face = var_Face; f.Date(f.FaceCalendar().Date()); f.Move(1/*exRotateLeft*/); var_Face = COM::createFromObject(f).Neighbor(2/*exRotateRight*/); com_Face = var_Face; f.Date(f.FaceCalendar().Date()); f.Move(2/*exRotateRight*/); } public void init() { COM com_Column,com_Columns,com_Face,com_FaceCalendar,com_FaceCalendar1,com_FaceCalendar2,com_FaceCalendar3,com_FaceTree,com_Items,com_f; Date d; anytype f,var_Column,var_Columns,var_Face,var_FaceCalendar,var_FaceCalendar1,var_FaceCalendar2,var_FaceCalendar3,var_FaceTree,var_Items; str var_s,var_s1; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.EnsureVisibleFaceMargin(32); extreecube1.EnsureVisibleFaceOnDblClick(false); extreecube1.EnsureVisibleFaces("0,2,1,3,4"); var_FaceCalendar = extreecube1.FrontFace().CreateCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.Date(str2Date("1/1/2016",213)); com_FaceCalendar.AutoSize(1/*exFitClient*/); com_FaceCalendar.MaxMonthX(1); com_FaceCalendar.MaxMonthY(1); com_FaceCalendar.ShowTodayButton(false); com_FaceCalendar.FirstWeekDay(1/*exMonday*/); com_FaceCalendar.SelBackColor(0x2000000); com_FaceCalendar.SelForeColor(WinApi::RGB2int(0,0,0)); com_FaceCalendar.ShowNonMonthDays(true); d = extreecube1.FrontFace().FaceCalendar().Date(); var_FaceCalendar1 = extreecube1.LeftFace().CreateCalendar(); com_FaceCalendar1 = var_FaceCalendar1; com_FaceCalendar1.Date(d); com_FaceCalendar1.Move(1/*exRotateLeft*/); com_FaceCalendar1.AutoSize(1/*exFitClient*/); com_FaceCalendar1.MaxMonthX(1); com_FaceCalendar1.MaxMonthY(1); com_FaceCalendar1.ShowTodayButton(false); com_FaceCalendar1.FirstWeekDay(1/*exMonday*/); com_FaceCalendar1.SelBackColor(0x2000000); com_FaceCalendar1.SelForeColor(WinApi::RGB2int(0,0,0)); com_FaceCalendar1.ShowNonMonthDays(true); var_FaceCalendar2 = extreecube1.RightFace().CreateCalendar(); com_FaceCalendar2 = var_FaceCalendar2; com_FaceCalendar2.Date(d); com_FaceCalendar2.Move(2/*exRotateRight*/); com_FaceCalendar2.AutoSize(1/*exFitClient*/); com_FaceCalendar2.MaxMonthX(1); com_FaceCalendar2.MaxMonthY(1); com_FaceCalendar2.ShowTodayButton(false); com_FaceCalendar2.FirstWeekDay(1/*exMonday*/); com_FaceCalendar2.SelBackColor(0x2000000); com_FaceCalendar2.SelForeColor(WinApi::RGB2int(0,0,0)); com_FaceCalendar2.ShowNonMonthDays(true); var_FaceCalendar3 = extreecube1.BottomFace().CreateCalendar(); com_FaceCalendar3 = var_FaceCalendar3; com_FaceCalendar3.Date(d); com_FaceCalendar3.Move(2/*exRotateRight*/); com_FaceCalendar3.Move(2/*exRotateRight*/); com_FaceCalendar3.AutoSize(1/*exFitClient*/); com_FaceCalendar3.MaxMonthX(1); com_FaceCalendar3.MaxMonthY(1); com_FaceCalendar3.ShowTodayButton(false); com_FaceCalendar3.FirstWeekDay(1/*exMonday*/); com_FaceCalendar3.SelBackColor(0x2000000); com_FaceCalendar3.SelForeColor(WinApi::RGB2int(0,0,0)); com_FaceCalendar3.ShowNonMonthDays(true); var_Face = extreecube1.TopFace(); com_Face = var_Face; var_FaceTree = com_Face.CreateTree(); com_FaceTree = var_FaceTree; com_FaceTree.ItemPadding(20); com_FaceTree.SelBackColor(0x2000000); com_FaceTree.SelForeColor(WinApi::RGB2int(0,0,0)); var_Columns = COM::createFromObject(com_FaceTree.Columns()); com_Columns = var_Columns; com_Columns.Count(5); com_FaceTree.HeaderVisible(false); var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.Count(extreecube1.TopFace().FaceTree().VisibleItemsCount()); var_Column = COM::createFromObject(com_FaceTree.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column; com_Column.FormatColumn("(0:=(1989 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"); var_Column = COM::createFromObject(com_FaceTree.Columns()).Item(COMVariant::createFromInt(1)); com_Column = var_Column; com_Column.FormatColumn("(0:=(1990 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"); var_Column = COM::createFromObject(com_FaceTree.Columns()).Item(COMVariant::createFromInt(2)); com_Column = var_Column; com_Column.FormatColumn("(0:=(1991 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"); var_Column = COM::createFromObject(com_FaceTree.Columns()).Item(COMVariant::createFromInt(3)); com_Column = var_Column; com_Column.FormatColumn("(0:=(1992 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"); var_Column = COM::createFromObject(com_FaceTree.Columns()).Item(COMVariant::createFromInt(4)); com_Column = var_Column; com_Column.FormatColumn("(0:=(1993 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"); com_FaceTree.Caption(extreecube1.FrontFace().FaceCalendar().Year()); var_s = "gBFLBCJwBAEHhEJAADhABXgCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDIAkRRdDSOYDmGQYDiCIoRShOMIjHL"; var_s = var_s + "UXxtDaIZZmWCQCglf5HABRb7xPLoARTAaeJKoWboJAiGwLQjQUyABSdEyRJSLYhGIZRFqKZIRDSMFiwTZNVypAaIYqqaA6qzfJymabAAZJEradozTLIE7xVLEVYNKCmZ"; var_s = var_s + "CwMAAcgmEQgSTAda2BYELTzECoYDGCrcKpWCaNQLWEB5BQeJSNL6kIqsazgAqPLJtWhaVwxXIEI5AAC5QA0S7pOxeO6JbRGdZbNrlbz1PTMaazTgYDzmWqiYxxMraXxS"; var_s = var_s + "lmMprGsIpVl2LRnD0A5bnSN49mAARAlIYw6B0ThGFGDIBG0QghBMfZRiGNAkFECZoG6YQBgiOgCmuRRSg6GAElWAJMkgFgGgGYIIAyVQ7GCRhUAAOQhAMBgSDWIRDG4F"; var_s = var_s + "g3CGCBmBmBYNjgUJWDIIgIECZBCEsKIUkqCZhiiJgqgaYRjB4LguiMBAkiqDLenYrBjgiZg6gGIwyioMoNCAWJqEKEJjkiTg/CqIxZA4SoNmQWJ5AODxMlkRJehSZRJF"; var_s = var_s + "YVoVmUEw2D2EZlhkXhehfURuE+DJllkfhmhUJgZBoYwqiWEx+G6G5nAmRhyhoZJgAIUIUGcKZmHqHQlkmYh6h+Zp5nIawzigQ4CgaIZogoJoKiEDJpgodoMmiSgqhKJN"; var_s = var_s + "xDoPQzmmA4GhqJppkodoeiYDJ6FpaQpmqFomigKgiiqJIpiqShuiiGoonqKoZisapaj4dYl3WCo6i6a5KnaPotiQeoCj6MJsEsAhrDQLIDg6SoymySw2k6MgNAqJpQjO"; var_s = var_s + "LRLFaUI0iyGxWlq/p6kIPY0m2Oxul2LZjDMRpmgiLoLiaaoIi4YxGinoY7kaauhnuGJlj2b4Lmaeo+m8Sx6mWOZhAubwCj2bpLhqKYJkyKTnECThYgoVJCCiYpPBIL5x"; var_s = var_s + "EMLwWjsTQsGcGpGi6XBYkuRQLvcIhCE8DIWDCSZLiKdwqC+MpMjcLZKguXIcjiTJyFOQYnD+TYMmSLZOkmHJ3D6T50AybItiGYJji2MwABAECAg="; extreecube1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s)); var_s1 = "gBFLBCJwBAEHhEJAADhABOkGACAADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSpEEg7BKMYwjOJgFgmEYFDSAUIjKKkIhkGIYZBGQBJDjWGgyQjOEByDI"; var_s1 = var_s1 + "MRwjE4YBpkGYYJDSIYHTZIUzTJAdGSVJKNKAoKCaEg2R4qsZCCKwUgmTo9VBJU9CFi6ZIRDSMFiyXZUIxHEKnIqrOjbBjaUpYABLErTBKUSzrEadAAwGbKJj+VJBULMV"; var_s1 = var_s1 + "D2BDWGABOYAKarWa7fhaUqJUTVdI1VBOIYmADPcaqCxrLgMMpnWxpN42bjdPY7V6Bc7yXJsHimK5GUTQA4aFIENydJzINjsKBKBriLIybpeFr7BiME4/YLhAA0vZNUYs"; var_s1 = var_s1 + "g0XguBqaAeEOIYUjqYQgGCCBJECUhjDoHROEYWooAGTRMCEEx9lGIY0CQUZOnuZQDBEdYFkeI5+H+igGAKAJgEgFgGgGUAzn4CoCmCSA2A6A5hAgCgQgSYRIE4EoFGGC"; var_s1 = var_s1 + "BiBeBhhkgPgbgcYgICoH4IGGWIOCSBhiGiHgVgoYooFoAYLGIWI+DCCgjCiTgrgII4ImYOoOmOSJ1n4OpWmQDQBICA=="; extreecube1.VisualAppearance().Add(2,COMVariant::createFromStr(var_s1)); extreecube1.Background(8/*exDateHeader*/,0x1000000); extreecube1.Background(7/*exWeeksHeader*/,WinApi::RGB2int(250,250,250)); extreecube1.Background(6/*exDaysHeader*/,WinApi::RGB2int(250,250,250)); extreecube1.Background(9/*exDateTodayUp*/,0x2000000); extreecube1.Background(31/*exDateTodayForeColor*/,WinApi::RGB2int(255,255,255)); extreecube1.EnsureVisibleFace(0/*exFrontFace*/); extreecube1.EndUpdate(); } |
45 |
How can I add a FaceTree object ( method 2 )
|
44 |
How can I add a FaceTree object ( method 1 )
public void init() { COM com_Face,com_FaceTree,com_Items; anytype var_Face,var_FaceTree,var_Items; ; super(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(1/*exFaceTree*/); var_FaceTree = com_Face.FaceTree(); com_FaceTree = var_FaceTree; var_Items = COM::createFromObject(com_FaceTree.Items()); com_Items = var_Items; com_Items.ToString("Item <b>1,Item <b>2,Item <b>3"); com_FaceTree.SelectItem(1); } |
43 |
How can I add a FaceCalendar object ( method 2 )
|
42 |
How can I add a FaceCalendar object ( method 1 )
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = com_Face.FaceCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.AutoSize(1/*exFitClient*/); com_FaceCalendar.Value(COMVariant::createFromDate(str2Date("12/31/1971",213))); } |
41 |
How can I add a FacePicture object ( method 2 )
|
40 |
How can I add a FacePicture object ( method 1 )
public void init() { COM com_Face,com_FacePicture; anytype var_Face,var_FacePicture; ; super(); extreecube1.IdentifyFace(7/*exIdentifyFaceFrame | exIdentifyFaceName | exIdentifyFaceCaption*/); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(3/*exFacePicture*/); var_FacePicture = com_Face.FacePicture(); com_FacePicture = var_FacePicture; com_FacePicture.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); com_FacePicture.PictureDisplay(48/*Tile*/); com_FacePicture.Width("2 * pwidth"); com_FacePicture.Height("2 * pheight"); com_FacePicture.Top("122"); com_FacePicture.Left("46"); } |
39 |
How can I prevent bringing a specified face into the front
|
38 |
Is it possible to show one face opaque, while other semi-transparent
public void init() { ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); extreecube1.DefaultFaceType(2/*exFaceCalendar*/); extreecube1.TransparentContent(75); extreecube1.FrontFace().TransparentContent(0); extreecube1.EndUpdate(); } |
37 |
How can I add a Calendar control
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); extreecube1.Margins("0,0,0,0"); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = com_Face.FaceCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.ShowNonMonthDays(true); com_FaceCalendar.AutoSize(1/*exFitClient*/); extreecube1.EndUpdate(); } |
36 |
Is it possible to init faces at once
// InitFaceContent event - Notifies your application that a face changes its type, so you can initialize its content. void onEvent_InitFaceContent(COM _Face) { // Face.FaceContent.ShowTodayButton = False ; } public void init() { ; super(); extreecube1.DefaultFaceType(2/*exFaceCalendar*/); } |
35 |
How can I disable zoom when rolling the mouse wheel
|
34 |
Fisheye Calendar View - LR
|
33 |
Fisheye Calendar View - S
|
32 |
While navigating the Down/Top faces, I am not able to rotate it. Is it possible (ensure always front face)
|
31 |
How can I show a single month only
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = com_Face.FaceCalendar(); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.Date(str2Date("1/1/2001",213)); com_FaceCalendar.SelDate(com_FaceCalendar.Date()); com_FaceCalendar.MinDate(str2Date("1/1/2001",213)); com_FaceCalendar.MaxDate(str2Date("1/31/2001",213)); com_FaceCalendar.FirstWeekDay(1/*exMonday*/); com_FaceCalendar.ShowWeeks(false); com_FaceCalendar.ShowNonMonthDays(false); com_FaceCalendar.ShowTodayButton(false); com_FaceCalendar.MaxMonthX(com_FaceCalendar.MinMonthX()); com_FaceCalendar.MaxMonthY(com_FaceCalendar.MinMonthY()); } |
30 |
How can I show date calendar
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = COM::createFromObject(com_Face.FaceCalendar()); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.ShowNonMonthDays(false); } |
29 |
How can I prevent dbl click to ensure the clicked face is visible
|
28 |
How can I put a picture into the center of the texture but behind the control's face
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); extreecube1.HTMLPicture("logo","c:\\exontrol\\images\\zipdisk.gif"); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = COM::createFromObject(com_Face.FaceCalendar()); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.ShowTodayButton(false); com_Face.ExtraTitle("extra",0/*exTitleFaceCaption*/,"<img>logo</img>"); com_Face.ExtraTitle("extra",3/*exTitleFaceAnchor*/,COMVariant::createFromInt(0)); com_Face.ExtraTitle("extra",4/*exTitleFaceHTMLRotate*/,COMVariant::createFromInt(0)); com_Face.ExtraTitle("extra",4/*exTitleFaceHTMLRotate*/,COMVariant::createFromInt(0)); com_Face.ExtraTitle("extra",5/*exTitleFaceLeft*/,"(width-twidth)/2"); com_Face.ExtraTitle("extra",6/*exTitleFaceTop*/,"(height-theight)/2"); com_Face.ExtraTitle("extra",7/*exTitleFaceWidth*/,"twidth"); com_Face.ExtraTitle("extra",8/*exTitleFaceHeight*/,"theight"); com_Face.ExtraTitle("extra",9/*exTitleFaceVisible*/,COMVariant::createFromInt(1)); extreecube1.FrontFace().FaceCalendar().ForeColor(WinApi::RGB2int(255,0,0)); extreecube1.EndUpdate(); } |
27 |
How do I put my logo on the right-bottom side of the face (method 2), while I using the face
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); extreecube1.HTMLPicture("logo","c:\\exontrol\\images\\zipdisk.gif"); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = COM::createFromObject(com_Face.FaceCalendar()); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.ShowTodayButton(false); com_Face.ExtraTitle("extra",0/*exTitleFaceCaption*/,"<r><img>logo</img>"); com_Face.ExtraTitle("extra",3/*exTitleFaceAnchor*/,COMVariant::createFromInt(2)); com_Face.ExtraTitle("extra",4/*exTitleFaceHTMLRotate*/,COMVariant::createFromInt(0)); extreecube1.EndUpdate(); } |
26 |
Is it possible to show two or more titles/extra titles
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = COM::createFromObject(com_Face.FaceCalendar()); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.ShowTodayButton(false); com_Face.Title(0/*exTitleFaceCaption*/,"<font ;18><c><fgcolor=0000FF>This is the title"); com_Face.ExtraTitle("extra",0/*exTitleFaceCaption*/,"<font ;18><c><fgcolor=FF0000>This is the extra title"); com_Face.ExtraTitle("extra",3/*exTitleFaceAnchor*/,COMVariant::createFromInt(2)); extreecube1.EndUpdate(); } |
25 |
How can I display the title at the left side of the face
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Title(0/*exTitleFaceCaption*/,"<font ;18><c>This is the title"); com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = COM::createFromObject(com_Face.FaceCalendar()); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.ShowTodayButton(false); com_Face.Title(3/*exTitleFaceAnchor*/,COMVariant::createFromInt(4)); extreecube1.EndUpdate(); } |
24 |
How can I display the title at the bottom side of the face
public void init() { COM com_Face,com_FaceCalendar; anytype var_Face,var_FaceCalendar; ; super(); extreecube1.BeginUpdate(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Title(0/*exTitleFaceCaption*/,"<font ;18><c>This is the title"); com_Face.Type(2/*exFaceCalendar*/); var_FaceCalendar = COM::createFromObject(com_Face.FaceCalendar()); com_FaceCalendar = var_FaceCalendar; com_FaceCalendar.ShowTodayButton(false); com_Face.Title(3/*exTitleFaceAnchor*/,COMVariant::createFromInt(2)); com_Face.Title(4/*exTitleFaceHTMLRotate*/,COMVariant::createFromInt(0)); extreecube1.EndUpdate(); } |
23 |
Can I display the title to a different position
public void init() { COM com_Face; anytype var_Face; ; super(); extreecube1.BeginUpdate(); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Title(0/*exTitleFaceCaption*/,"<font ;18><c><bgcolor=FFFFFF>This is the title"); com_Face.Type(2/*exFaceCalendar*/); com_Face.Title(9/*exTitleFaceVisible*/,COMVariant::createFromInt(-1)); com_Face.Title(6/*exTitleFaceTop*/,"(height-theight)/2"); extreecube1.EndUpdate(); } |
22 |
How can I display a title for a face
|
21 |
Can I put the picture at specified position
public void init() { COM com_Face,com_FacePicture; anytype var_Face,var_FacePicture; ; super(); extreecube1.IdentifyFace(7/*exIdentifyFaceFrame | exIdentifyFaceName | exIdentifyFaceCaption*/); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(3/*exFacePicture*/); var_FacePicture = com_Face.FacePicture(); com_FacePicture = var_FacePicture; com_FacePicture.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); com_FacePicture.PictureDisplay(48/*Tile*/); com_FacePicture.Width("2 * pwidth"); com_FacePicture.Height("2 * pheight"); com_FacePicture.Top("122"); com_FacePicture.Left("46"); } |
20 |
How do I put my logo on the right-bottom side of the face (method 1)
public void init() { COM com_Face,com_FacePicture; anytype var_Face,var_FacePicture; ; super(); extreecube1.IdentifyFace(7/*exIdentifyFaceFrame | exIdentifyFaceName | exIdentifyFaceCaption*/); var_Face = extreecube1.FrontFace(); com_Face = var_Face; com_Face.Type(3/*exFacePicture*/); var_FacePicture = com_Face.FacePicture(); com_FacePicture = var_FacePicture; com_FacePicture.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); com_FacePicture.PictureDisplay(34/*LowerRight*/); com_FacePicture.Width("width"); com_FacePicture.Height("height"); com_FacePicture.Top("0"); com_FacePicture.Left("0"); } |
19 |
Can I use any picture on the background's faces
public void init() { COM com_Face; anytype var_Face; ; super(); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath(""); var_Face = COM::createFromObject(extreecube1.Face(0/*exFrontFace*/)); com_Face = var_Face; com_Face.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); var_Face = COM::createFromObject(extreecube1.Face(1/*exBottomFace*/)); com_Face = var_Face; com_Face.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)")); var_Face = COM::createFromObject(extreecube1.Face(2/*exRightFace*/)); com_Face = var_Face; com_Face.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")); var_Face = COM::createFromObject(extreecube1.Face(3/*exLeftFace*/)); com_Face = var_Face; com_Face.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")); var_Face = COM::createFromObject(extreecube1.Face(4/*exTopFace*/)); com_Face = var_Face; com_Face.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)")); var_Face = COM::createFromObject(extreecube1.Face(5/*exDownFace*/)); com_Face = var_Face; com_Face.Picture(extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); extreecube1.AlwaysEnsureVisibleFace(0/*exDisableEnsureVisibleFace*/); extreecube1.EndUpdate(); } |
18 |
Is it possible to show the cube's texture more transparent, so the faces are more visible
|
17 |
How can I load a different texture on the cube
|
16 |
How can I show no texture/picture on all faces
|
15 |
Fish-Eye Rectangular
|
14 |
Orthographic
public void init() { ; super(); extreecube1.BeginUpdate(); extreecube1.ShowAs(1/*exOrthographic*/); extreecube1.AlwaysEnsureVisibleFace(0/*exDisableEnsureVisibleFace*/); extreecube1.IdentifyFace(4/*exIdentifyFaceFrame*/); extreecube1.TopFace().Type(2/*exFaceCalendar*/); extreecube1.LeftFace().Type(2/*exFaceCalendar*/); extreecube1.FrontFace().Type(2/*exFaceCalendar*/); extreecube1.RightFace().Type(2/*exFaceCalendar*/); extreecube1.RotX(0.748933); extreecube1.RotY(0.617099); extreecube1.Zoom(1); extreecube1.EndUpdate(); } |
13 |
Fish-Eye Default
public void init() { ; super(); extreecube1.BeginUpdate(); extreecube1.ShowAs(0/*exFishEye*/); extreecube1.AlwaysEnsureVisibleFace(0/*exDisableEnsureVisibleFace*/); extreecube1.IdentifyFace(4/*exIdentifyFaceFrame*/); extreecube1.TopFace().Type(2/*exFaceCalendar*/); extreecube1.LeftFace().Type(2/*exFaceCalendar*/); extreecube1.FrontFace().Type(2/*exFaceCalendar*/); extreecube1.RightFace().Type(2/*exFaceCalendar*/); extreecube1.RotX(0); extreecube1.RotY(0.8); extreecube1.Zoom(1); extreecube1.EndUpdate(); } |
12 |
I know the user can drag the cube to any position. The question is how can I restore the layout
public void init() { ; super(); extreecube1.IdentifyFace(7/*exIdentifyFaceFrame | exIdentifyFaceName | exIdentifyFaceCaption*/); extreecube1.RotX(0.25); extreecube1.RotY(0.75); extreecube1.Zoom(1); } |
11 |
How do I put my logo on the right-bottom side of the control
|