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
extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.LinesAtRoot = exontrol.EXTREECUBELib.LinesAtRootEnum.exLinesAtRoot; var_FaceTree.Columns.Add(1.ToString()).Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_FaceTree.Columns.Add(2.ToString()).Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_FaceTree.Columns.Add(3.ToString()).Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_FaceTree.Items.ToString = "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)," + "Child 1.2;Child 2.2;Child 3.2)"; var_FaceTree.Items.ExpandAll(); System.Diagnostics.Debug.Print( var_FaceTree.Items[0].ToString ); |
107 |
How can I add a hierarchy (single column), using the Item.ToString method
extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.LinesAtRoot = exontrol.EXTREECUBELib.LinesAtRootEnum.exLinesAtRoot; var_FaceTree.Columns.Add("").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_FaceTree.Items.Count = 1; var_FaceTree.Items[0].ToString = "Root(Child1(SubChild 1,SubChild 2),Child2)"; var_FaceTree.Items.ExpandAll(); System.Diagnostics.Debug.Print( var_FaceTree.Items[0].ToString ); |
106 |
How can add items to a list
|
105 |
How can I split a cell
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.set_HTMLPicture("P1","c:\\exontrol\\images\\zipdisk.gif"); extreecube1.set_HTMLPicture("P2","c:\\exontrol\\images\\auction.gif"); extreecube1.set_HTMLPicture("P3","c:\\exontrol\\images\\colorize.gif"); extreecube1.set_HTMLPicture("P4","c:\\exontrol\\images\\auction.gif"); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.Columns.Add("Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Choose your quick actions"); var_Item.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item1 = var_Item.Items.Add(""); var_Item1.Height = 48; string s = 0; var_Item1.set_Value(s,"<c><img>P1</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_Item1.set_Value(s,"<c><img>P2</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_Item1.set_Value(s,"<c><img>P3</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_Item1.set_Value(s,"<c><img>P4</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_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
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = var_Face.CreateCalendar(); var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar.MaxMonthX = var_FaceCalendar.MinMonthX; var_FaceCalendar.MaxMonthY = var_FaceCalendar.MinMonthY; var_FaceCalendar.ShowTodayButton = false; var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceBackColor,15790320); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceHeight,"height"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceVisible,1); extreecube1.EndUpdate(); |
103 |
How can I change the +/- expanding/collapsing buttons
extreecube1.TexturePicturePath = ""; extreecube1.BeginUpdate(); exontrol.EXTREECUBELib.Appearance var_Appearance = extreecube1.VisualAppearance; var_Appearance.Add(1,"gBFLBCJwBAEHhEJAADhABDgCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKKwEgmEQMQiCcbzX" + "IUBxAAqXZZFUaKAgOMJDTLBAzUSAAYhtHqeJBjID4JA6UJXRpIAIQSSBUjGOg6TiMUYZAguAxCEzZUT0fAYUQSCC3ZzDCKoRpiCT7Xg8V5OVbjUz9P7AMBwLA7erxap6" + "PJeD54QymGp/R5eMhyLI8UxXFqRY6veKtJhGDIrT5CEIQVA9EyXJqnahqOiaCguPorQy/dYYdg2BYBPS6MAvG4bVrOd59XrgN42fY2ByzAqlMQwS7rOqiY6YWTnehWTo" + "HE+JZUmoLB5CufQuAkBYkGO+ZrDWAo7keZZyHmH5+i8X4bluaJyHgGB9mQHx3JjBpViqJRHmueZ7H8Xo3i2fYAl+d5tncMRfDcdZeDMDIjCCJwokoEoQiEJ4KCIfIdgU" + "SZIAWaoGCEUh2BIJ4gnKBgMDICAnHoCggg0Aw4k0KAJkIagaguYwIj4LAmiKEw2CUIIiHMUJSDQSYyGCFYMGQCJCD0JRjiMRg3gmTYjGSVgmgkchSD4JJklIRIXCSSQY" + "j4U4UgkQhGE+EwJEkJJWhGpgGGIOBNmMdhPg8SRiHCGAlibNhohqJpJi4T4ZA2WYIgEYInGOGJlDkCQyECDoTEkKQ+E+C5oCIVhQCUCQpnSDoeg4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ontrol.EXTREECUBELib.BackgroundPartEnum.exTreeGlyphCollapsed,0x1000000); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exTreeGlyphExpanded,0x2000000); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ExpandOnDblClick = true; var_FaceTree.ItemPadding = 16; var_FaceTree.HeaderVisible = false; var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exThinLine; var_FaceTree.LinesAtRoot = exontrol.EXTREECUBELib.LinesAtRootEnum.exGroupLinesInside; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.Columns.Add("Def").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_FaceTree.Items.ToString = "Root 1(Child 1,Child 2),Root 2(Child 3,Child 4)"; var_FaceTree.get_ItemByIndex(3).Expanded = true; extreecube1.EndUpdate(); |
102 |
How can I use the ToString property
extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.Columns.ToString = "Column 1,Column 2,Column 3,Column 4"; var_FaceTree.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
extreecube1.BeginUpdate(); extreecube1.VisualAppearance.Add(1,"C:\\Program Files\\Exontrol\\ExButton\\Sample\\EBN\\Assorted\\calendar_single.ebn"); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exDateHeader,0x1000000); extreecube1.set_Background(exontrol.EXTREECUBELib.BackgroundPartEnum.exWeeksHeader,Color.FromArgb(250,250,250)); extreecube1.set_Background(exontrol.EXTREECUBELib.BackgroundPartEnum.exDaysHeader,Color.FromArgb(250,250,250)); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exDateTodayUp,0x2000000); extreecube1.set_Background(exontrol.EXTREECUBELib.BackgroundPartEnum.exDateTodayForeColor,Color.FromArgb(255,255,255)); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = extreecube1.FrontFace.CreateCalendar(); var_FaceCalendar.Date = Convert.ToDateTime("1/1/2016",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar.MaxMonthX = var_FaceCalendar.MinMonthX; var_FaceCalendar.MaxMonthY = var_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. private void extreecube1_FaceTreeStateChanged(object sender,exontrol.EXTREECUBELib.FaceTree Tree,int Item,int Column) { exontrol.EXTREECUBELib.Item var_Item = extreecube1.FrontFace.FaceTree.get_ItemByIndex(Item); System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( var_Item.get_State(0).ToString() ); } //this.extreecube1.FaceTreeStateChanged += new exontrol.EXTREECUBELib.exg2antt.FaceTreeStateChangedEventHandler(this.extreecube1_FaceTreeStateChanged); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.HeaderVisible = false; var_FaceTree.ItemPadding = 16; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.Columns.Add("Radio").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Group A"); exontrol.EXTREECUBELib.Items var_Items1 = var_Item.Items; exontrol.EXTREECUBELib.Item var_Item1 = var_Items1.Add("Radio <b>1"); var_Item1.set_HasRadioButton(0,true); var_Item1.set_RadioGroup(0,1234); exontrol.EXTREECUBELib.Item var_Item2 = var_Items1.Add("Radio <b>2"); var_Item2.set_HasRadioButton(0,true); var_Item2.set_RadioGroup(0,1234); var_Item2.set_State(0,1); exontrol.EXTREECUBELib.Item var_Item3 = var_Items1.Add("Radio <b>3"); var_Item3.set_HasRadioButton(0,true); var_Item3.set_RadioGroup(0,1234); var_Item.Expanded = true; exontrol.EXTREECUBELib.Item var_Item4 = var_Items.Add("Group B"); exontrol.EXTREECUBELib.Items var_Items2 = var_Item4.Items; exontrol.EXTREECUBELib.Item var_Item5 = var_Items2.Add("Radio <b>1"); var_Item5.set_HasRadioButton(0,true); var_Item5.set_RadioGroup(0,1235); exontrol.EXTREECUBELib.Item var_Item6 = var_Items2.Add("Radio <b>2"); var_Item6.set_HasRadioButton(0,true); var_Item6.set_RadioGroup(0,1235); exontrol.EXTREECUBELib.Item var_Item7 = var_Items2.Add("Radio <b>3"); var_Item7.set_HasRadioButton(0,true); var_Item7.set_RadioGroup(0,1235); var_Item7.set_State(0,1); var_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. private void extreecube1_FaceTreeStateChanged(object sender,exontrol.EXTREECUBELib.FaceTree Tree,int Item,int Column) { exontrol.EXTREECUBELib.Item var_Item = extreecube1.FrontFace.FaceTree.get_ItemByIndex(Item); System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( var_Item.get_State(0).ToString() ); } //this.extreecube1.FaceTreeStateChanged += new exontrol.EXTREECUBELib.exg2antt.FaceTreeStateChangedEventHandler(this.extreecube1_FaceTreeStateChanged); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.HeaderVisible = false; var_FaceTree.ItemPadding = 16; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.Columns.Add("Check").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; var_Items.Add("Check <b>1").set_HasCheckBox(0,true); var_Items.Add("Check <b>2").set_HasCheckBox(0,true); exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Check <b>3"); var_Item.set_HasCheckBox(0,true); var_Item.set_State(0,1); var_Items.Add("Check <b>4").set_HasCheckBox(0,true); |
98 |
How do I get the selected caption
// FaceTreeSelectionChanged event - Notifies that the user selects a new item/column into a face of tree type. private void extreecube1_FaceTreeSelectionChanged(object sender,exontrol.EXTREECUBELib.FaceTree Tree) { System.Diagnostics.Debug.Print( "Value" ); System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.Value.ToString() ); System.Diagnostics.Debug.Print( "Caption" ); System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.Caption ); } //this.extreecube1.FaceTreeSelectionChanged += new exontrol.EXTREECUBELib.exg2antt.FaceTreeSelectionChangedEventHandler(this.extreecube1_FaceTreeSelectionChanged); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.ItemPadding = 20; var_FaceTree.Columns.Count = 5; var_FaceTree.HeaderVisible = false; var_FaceTree.Items.Count = extreecube1.FrontFace.FaceTree.VisibleItemsCount; var_FaceTree.Columns[0].FormatColumn = "(0:=(1989 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[1].FormatColumn = "(0:=(1990 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[2].FormatColumn = "(0:=(1991 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[3].FormatColumn = "(0:=(1992 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[4].FormatColumn = "(0:=(1993 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; |
97 |
How do I get the selected value
// FaceTreeSelectionChanged event - Notifies that the user selects a new item/column into a face of tree type. private void extreecube1_FaceTreeSelectionChanged(object sender,exontrol.EXTREECUBELib.FaceTree Tree) { System.Diagnostics.Debug.Print( "Value" ); System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.Value.ToString() ); System.Diagnostics.Debug.Print( "Caption" ); System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.Caption ); } //this.extreecube1.FaceTreeSelectionChanged += new exontrol.EXTREECUBELib.exg2antt.FaceTreeSelectionChangedEventHandler(this.extreecube1_FaceTreeSelectionChanged); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.ItemPadding = 20; var_FaceTree.Columns.Count = 5; var_FaceTree.HeaderVisible = false; var_FaceTree.Items.Count = extreecube1.FrontFace.FaceTree.VisibleItemsCount; var_FaceTree.Columns[0].FormatColumn = "(0:=(1989 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[1].FormatColumn = "(0:=(1990 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[2].FormatColumn = "(0:=(1991 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[3].FormatColumn = "(0:=(1992 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[4].FormatColumn = "(0:=(1993 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; |
96 |
How can I add buttons on the face
// FaceTreeButtonClick event - Notifies that a cell of button's type has been clicked. private void extreecube1_FaceTreeButtonClick(object sender,exontrol.EXTREECUBELib.FaceTree Tree,int Item,int Column) { System.Diagnostics.Debug.Print( Item.ToString() ); System.Diagnostics.Debug.Print( Column.ToString() ); } //this.extreecube1.FaceTreeButtonClick += new exontrol.EXTREECUBELib.exg2antt.FaceTreeButtonClickEventHandler(this.extreecube1_FaceTreeButtonClick); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.ItemPadding = 16; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add("Buttons"); var_Column.FormatColumn = "1 index `A-Z`"; var_Column.set_Def(exontrol.EXTREECUBELib.DefColumnEnum.exCellHasButton,true); var_FaceTree.Items.Count = 4; |
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. private void extreecube1_AnchorClick(object sender,exontrol.EXTREECUBELib.FaceEnum Face,string AnchorID,string Options) { System.Diagnostics.Debug.Print( Face.ToString() ); System.Diagnostics.Debug.Print( AnchorID.ToString() ); System.Diagnostics.Debug.Print( Options.ToString() ); } //this.extreecube1.AnchorClick += new exontrol.EXTREECUBELib.exg2antt.AnchorClickEventHandler(this.extreecube1_AnchorClick); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ShowSelection = false; var_FaceTree.HeaderVisible = false; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.Items.ToString = "<a A1\\;options1>Item 1</a>,<a A2\\;options2>Item 2</a>"; |
92 |
Can I display image and multiple-lines items
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.set_HTMLPicture("DriveC","c:\\exontrol\\images\\zipdisk.gif"); extreecube1.set_HTMLPicture("DriveD","c:\\exontrol\\images\\auction.gif"); extreecube1.set_HTMLPicture("DriveE","c:\\exontrol\\images\\colorize.gif"); exontrol.EXTREECUBELib.Face var_Face = extreecube1.TopFace; var_Face.RelativeMargins = "0,32,0,0"; exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exNoLine; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.ItemPadding = 24; var_FaceTree.HeaderVisible = false; var_FaceTree.ShowSelection = true; var_FaceTree.SelBackColor = Color.FromArgb(240,240,240); var_FaceTree.Columns.Add("Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Storage"); var_Item.Divider = 0; var_Item.Bold = true; var_Item.Selectable = false; exontrol.EXTREECUBELib.Item var_Item1 = var_Items.Add("Choose a drive to see what's taking up space."); var_Item1.Selectable = false; var_Item1.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item2 = var_Item1.Items.Add("<img>DriveC:64</img>"); var_Item2.Height = 68; var_Item2.set_BackgroundExt(0,"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); var_Item2.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExtWordWrap,true); var_Item2.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,"<fgcolor=000000>LROG (C:)<br>58.7 GB used out of 150 GB"); var_Item2.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"39%"); exontrol.EXTREECUBELib.Item var_Item3 = var_Item1.Items.Add("<img>DriveD:64</img>"); var_Item3.Height = 68; var_Item3.set_BackgroundExt(0,"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); var_Item3.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExtWordWrap,true); var_Item3.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,"<fgcolor=000000>System (D:)<br>112 MB used out of 144 GB"); var_Item3.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"1%"); exontrol.EXTREECUBELib.Item var_Item4 = var_Item1.Items.Add("<img>DriveD:64</img>"); var_Item4.Height = 68; var_Item4.set_BackgroundExt(0,"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); var_Item4.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExtWordWrap,true); var_Item4.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,"<fgcolor=000000>Work (E:)<br>53.0 GB used out of 635 GB"); var_Item4.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"8%"); exontrol.EXTREECUBELib.Item var_Item5 = var_Item1.Items.Add("<img>DriveE:64</img>"); var_Item5.Height = 68; var_Item5.set_BackgroundExt(0,"none[(76,4,100%-76,100%-8)](client[text=``],bottom[16,back=RGB(204,204,204)](left[0%,back=RGB(0,120,215)]))"); var_Item5.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExtWordWrap,true); var_Item5.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,"<fgcolor=000000>DVD RW Drive (G:)<br>0.0 GB used out of 0.0 GB"); var_Item5.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"0%"); var_Item1.Expanded = true; exontrol.EXTREECUBELib.Item var_Item6 = var_Items.Add("Save Locations"); var_Item6.Divider = 0; var_Item6.Bold = true; var_Item6.Selectable = false; exontrol.EXTREECUBELib.Item var_Item7 = var_Items.Add("Change where your apps, documents, music, pictures and videos are saved by default."); var_Item7.Selectable = false; var_Item7.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item8 = var_Item7.Items.Add("New apps will save to:"); var_Item8.Selectable = false; exontrol.EXTREECUBELib.Item var_Item9 = var_Item8.Items.Add("Drive C"); var_Item9.Selectable = false; var_Item9.Height = 24; var_Item9.set_HasRadioButton(0,true); var_Item9.set_RadioGroup(0,1234); var_Item9.set_State(0,1); object s = var_Item9.get_SplitCell(0); var_Item9.set_Value(s,"Drive D"); var_Item9.set_HasRadioButton(s,true); var_Item9.set_RadioGroup(s,1234); s = var_Item9.get_SplitCell(s); var_Item9.set_Value(s,"Drive E"); var_Item9.set_HasRadioButton(s,true); var_Item9.set_RadioGroup(s,1234); var_Item8.Expanded = true; exontrol.EXTREECUBELib.Item var_Item10 = var_Item7.Items.Add("New documents will save to:"); var_Item10.Selectable = false; exontrol.EXTREECUBELib.Item var_Item11 = var_Item10.Items.Add("Drive C"); var_Item11.Selectable = false; var_Item11.Height = 24; var_Item11.set_HasRadioButton(0,true); var_Item11.set_RadioGroup(0,1235); s = var_Item11.get_SplitCell(0); var_Item11.set_Value(s,"Drive D"); var_Item11.set_HasRadioButton(s,true); var_Item11.set_RadioGroup(s,1235); var_Item11.set_State(s,1); s = var_Item11.get_SplitCell(s); var_Item11.set_Value(s,"Drive E"); var_Item11.set_HasRadioButton(s,true); var_Item11.set_RadioGroup(s,1235); var_Item10.Expanded = true; exontrol.EXTREECUBELib.Item var_Item12 = var_Item7.Items.Add("New music will save to:"); var_Item12.Selectable = false; exontrol.EXTREECUBELib.Item var_Item13 = var_Item12.Items.Add("Drive C"); var_Item13.Selectable = false; var_Item13.Height = 24; var_Item13.set_HasRadioButton(0,true); var_Item13.set_RadioGroup(0,1236); s = var_Item13.get_SplitCell(0); var_Item13.set_Value(s,"Drive D"); var_Item13.set_HasRadioButton(s,true); var_Item13.set_RadioGroup(s,1236); var_Item13.set_State(s,1); s = var_Item13.get_SplitCell(s); var_Item13.set_Value(s,"Drive E"); var_Item13.set_HasRadioButton(s,true); var_Item13.set_RadioGroup(s,1236); var_Item12.Expanded = true; exontrol.EXTREECUBELib.Item var_Item14 = var_Item7.Items.Add("New pictures will save to:"); var_Item14.Selectable = false; exontrol.EXTREECUBELib.Item var_Item15 = var_Item14.Items.Add("Drive C"); var_Item15.Selectable = false; var_Item15.Height = 24; var_Item15.set_HasRadioButton(0,true); var_Item15.set_RadioGroup(0,1237); s = var_Item15.get_SplitCell(0); var_Item15.set_Value(s,"Drive D"); var_Item15.set_HasRadioButton(s,true); var_Item15.set_RadioGroup(s,1237); var_Item15.set_State(s,1); s = var_Item15.get_SplitCell(s); var_Item15.set_Value(s,"Drive E"); var_Item15.set_HasRadioButton(s,true); var_Item15.set_RadioGroup(s,1237); var_Item14.Expanded = true; exontrol.EXTREECUBELib.Item var_Item16 = var_Item7.Items.Add("New videos will save to:"); var_Item16.Selectable = false; exontrol.EXTREECUBELib.Item var_Item17 = var_Item16.Items.Add("Drive C"); var_Item17.Selectable = false; var_Item17.Height = 24; var_Item17.set_HasRadioButton(0,true); var_Item17.set_RadioGroup(0,1238); s = var_Item17.get_SplitCell(0); var_Item17.set_Value(s,"Drive D"); var_Item17.set_HasRadioButton(s,true); var_Item17.set_RadioGroup(s,1238); var_Item17.set_State(s,1); s = var_Item17.get_SplitCell(s); var_Item17.set_Value(s,"Drive E"); var_Item17.set_HasRadioButton(s,true); var_Item17.set_RadioGroup(s,1238); var_Item16.Expanded = true; var_Item7.Expanded = true; var_FaceTree.EnsureVisibleItem(0); extreecube1.EnsureVisibleFaceMargin = 0; extreecube1.EnsureVisibleFace(exontrol.EXTREECUBELib.FaceEnum.exTopFace,null); extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.exFitToEnsureFace; extreecube1.EndUpdate(); |
91 |
How can I use the BackgroundExt/BackgroundExtValue properties
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.Face var_Face = extreecube1.BottomFace; var_Face.RelativeMargins = "0,32,0,0"; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<c><font ;18>Battery Saver"); var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceBackgroundExt,"bottom[2],bottom[4,back=RGB(0,0,0)]"); exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exNoLine; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.ItemPadding = 24; var_FaceTree.HeaderVisible = false; var_FaceTree.ShowSelection = false; var_FaceTree.Columns.Add("Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Overview"); var_Item.Divider = 0; var_Item.Bold = true; exontrol.EXTREECUBELib.Item var_Item1 = var_Items.Add("Batter level (charging):"); var_Item1.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item2 = var_Item1.Items.Add(""); var_Item2.set_BackgroundExt(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)]))"); var_Item2.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"65%"); var_Item2.set_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,var_Item2.get_BackgroundExtValue(0,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt)); var_Item1.Expanded = true; exontrol.EXTREECUBELib.Item var_Item3 = var_Items.Add("Estimated time to full charge:"); exontrol.EXTREECUBELib.Item var_Item4 = var_Item3.Items.Add(0.15125); var_Item4.set_FormatCell(0,"((1:=int(0:= (value))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 " + "? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')"); var_Item4.Height = 24; var_Item3.Expanded = true; exontrol.EXTREECUBELib.Item var_Item5 = var_Items.Add("Battery Saver"); var_Item5.Divider = 0; var_Item5.Bold = true; exontrol.EXTREECUBELib.Item var_Item6 = var_Items.Add("Extends battery life by limiting background activity and push notifications. "); var_Item6.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item7 = var_Items.Add("Batter saver is currently:"); var_Item7.Enabled = false; var_Item7.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item8 = var_Item7.Items.Add(""); var_Item8.Height = 24; var_Item8.set_HasCheckBox(0,true); var_Item8.set_State(0,2); var_Item8.set_FormatCell(0,"state = 1 ? `On` : `Off`"); var_Item8.Enabled = false; var_Item7.Expanded = true; var_Items.Add("Battery Saver is off while charging. Choose, when battery saver turns on automatically and how it affects your system.").set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item9 = var_Items.Add("<c>Battery Saver Settings"); var_Item9.set_SingleLine(0,false); var_Item9.set_HasButton(0,true); extreecube1.EnsureVisibleFaceMargin = 0; extreecube1.EnsureVisibleFace(exontrol.EXTREECUBELib.FaceEnum.exBottomFace,null); extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.exFitToEnsureFace; extreecube1.EndUpdate(); |
90 |
How can I change the visual appearance for check and radio buttons
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.CheckBoxWidth = 44; extreecube1.CheckBoxHeight = 20; exontrol.EXTREECUBELib.Appearance var_Appearance = extreecube1.VisualAppearance; var_Appearance.Add(1,"gBFLBCJwBAEHhEJAADhABJACg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCSLIxDFIsBxPFKCQChEZBUjKAwyDBIUzSD" + "IUBhZBIKI7hGa3NBwJAAUTRch0j4iCRQGiYZyHKcxMYgIYCUBkERtMw0GyERQhGb4DoGA4IBhFZQVVLsRBIDh2bbuG4LSrWdJ3OyaN5EbbgZz9P7AMBwLA8EwXBqHYIU" + "GJGbhlbTnR7HMhvDIsPDnFqIZhmOZZXjlfh7T7KNByO6LcI3AiDagtWpNTpjf5dV7YNh2LY9UzXNq3bI1W5aUqyAZ9QQpeB0LILYDbRp/FzyO5NNrHG6dZ7oOh1doOUI" + "tlaP5lgcPA7hEJ47H8SD0l4LwfhOSJ9nOIh9DefBREMKYMDaX59nsVhvlKdBpCGfgIl+L43lGG5lH+YAGlWZw/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8g0MotiUZICkMYB6AEIgYDYIh0g+Q5cm+CYjgOfJ6DuDZ2hSWggkESI6DCDJjCkFZDg0Yx4mYJYOmOVoiD8BQhlgfhEgwZRGBoJIS" + "y0IgqGoIpDhCJAVCUWQaFMY5fAkYgBD+D5TmyYAlENPBnCsRhFkoYYcmYMAAmkLRHDmGZ9h2Rw4BkeBnFmeZWHSGIYHeQZuHoHonjGboamaVwYmIJwEEYbZNiCaRKAmd" + "x1hyNZChWIQpjcKZYHAKQ6FqHIoh0Vp6hkcBqgoAodikKgmi2LYnmsCohkAXoXkqMojgMIpKh2Gw6lEFAlAEgIA=="); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exCheckBoxState0,0x1000000); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exCheckBoxState1,0x2000000); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exCheckBoxState2,0x1f0f0f0); extreecube1.RadioButtonWidth = 23; extreecube1.RadioButtonHeight = 23; exontrol.EXTREECUBELib.Appearance var_Appearance1 = extreecube1.VisualAppearance; var_Appearance1.Add(3,"gBFLBCJwBAEHhEJAADhABNoCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQjKKEUQTFiXIyAKQobh2A42SDAcgSF" + "IADRfFoWmxTdAcYSCGSZZrGOiQADIM40R7UAABPBNKR1BKmHZDQRAApqXIjVDAYIQSSBUlkHScRijDICXSIIQmbajIZoJCiVZ3VaGETnRQlJQuEgOHZwDAsBwPBqBPzi" + "Lp4WzmGqhR5ichYHI8RYVTKXYy3DxZW7OO4PQjQM7hHL8fwlfTuagyGpZOxjP5cdrYHw2J7NUzJeDxbhrTb6Zh7ILVX7TNIwXAdD4PIKmNryORsC4XG5pZ7oOh6Lo3G4" + "rhWZI2nOL4eBON4LkeRJvHWDxvB6G5Lmac56D0OY3hMU5bm6bRoiAeA9DMX5riydJ+D8P4v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CoCmCtYAHqXRWBGWB/F2Z5UnaAxZFO" + "aJ2DuTpzHCOQ5gwcg8veDBjlCaA0mGBg6BYapcEONZiHYHADg4MoKE+U4QkEIINAISAig4Y44moPIPA4EpoHSBoOngNgyDiW5jCGShCF+VouA2EQNhKHBMg+Y5pFYPYV" + "mOQxYiAD4kEgNZRHSTokCWax4A4KA2DaDglGkUhYhoZRph4DYZB6NAllEbwOmgKhEhqJ4JjIa4ek8c48mGAoflcAQJhITxaBYCoHEuGZmHuIooioIgKgWJIUCWXh4hkN" + "hImkM4JloMh6iaJRzhySAkCkVhFhUd4QhMJomD0KtvBCCJMGocouh6KIKiifoKlodAmAAOgrgYVoVD7Y5AlMJhDAqPoLh6D4DkCYosicSoYkkQhcmMapOD6LQKkqHgkC" + "wKhwmILpHFqSJ7jaTZbHYBw1lCFwwnEcAqgOUoUGSa5DxkLQGHsVhWhQRJKkmFYkBuaI1lgdBtlMdZKi6LoKnSZQwggOp+kGJpjiufIDiyGQXCiYZCmyJxeAQYQi0YYI" + "+lieoqmmKwpHIdoskIGQGFWSg8DIBx6GCQ4AAYXhHjlo5fCqNpPjYRJ/kucwMkcMpM9GMwqk2Tx3AGa4AnIVpkm2N5cAgcJvk2XIsjGeYlF53hKk2dAnEGJR7nCdxlgY" + "c4ajmEplk4NYNGcWpKiYRx5k4dYhC0RxggsTpXAGQA3jaBoEmuUIuFuCo4DoNoDHqShwCKXYPCSXYzmOMx6lwOwZoawrgkE0HwBY1xegdE2MMWQhBOhoEUBIQAgCAgA=" + "="); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exRadioButtonState0,0x3000000); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exRadioButtonState1,0x4000000); exontrol.EXTREECUBELib.Face var_Face = extreecube1.RightFace; var_Face.RelativeMargins = "0,32,0,0"; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<c><font ;18>Table mode"); var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceBackgroundExt,"bottom[2],bottom[4,back=RGB(0,0,0)]"); exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exNoLine; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.ItemPadding = 24; var_FaceTree.HeaderVisible = false; var_FaceTree.ShowSelection = false; var_FaceTree.Columns.Add("Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Make windows more touch-friendly when using your device as a table"); var_Item.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item1 = var_Item.Items.Add(""); var_Item1.Height = 24; var_Item1.set_HasCheckBox(0,true); var_Item1.set_State(0,0); var_Item1.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item.Expanded = true; exontrol.EXTREECUBELib.Item var_Item2 = var_Items.Add("When I sign in"); var_Item2.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item3 = var_Item2.Items.Add("Automatically swicth to table mode"); var_Item3.Height = 24; var_Item3.set_HasRadioButton(0,true); var_Item3.set_RadioGroup(0,1234); exontrol.EXTREECUBELib.Item var_Item4 = var_Item2.Items.Add("Go to the desktop"); var_Item4.Height = 24; var_Item4.set_HasRadioButton(0,true); var_Item4.set_RadioGroup(0,1234); exontrol.EXTREECUBELib.Item var_Item5 = var_Item2.Items.Add("Remember what I used last"); var_Item5.Height = 24; var_Item5.set_HasRadioButton(0,true); var_Item5.set_RadioGroup(0,1234); var_Item5.set_State(0,1); var_Item2.Expanded = true; exontrol.EXTREECUBELib.Item var_Item6 = var_Items.Add("When this device automatically switches table mode on or off"); var_Item6.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item7 = var_Item6.Items.Add("Don't ask me and dont' switch"); var_Item7.Height = 24; var_Item7.set_HasRadioButton(0,true); var_Item7.set_RadioGroup(0,1235); exontrol.EXTREECUBELib.Item var_Item8 = var_Item6.Items.Add("Always ask me before switching"); var_Item8.Height = 24; var_Item8.set_HasRadioButton(0,true); var_Item8.set_RadioGroup(0,1235); var_Item8.set_State(0,1); exontrol.EXTREECUBELib.Item var_Item9 = var_Item6.Items.Add("Don't ask me and always' switch"); var_Item9.Height = 24; var_Item9.set_HasRadioButton(0,true); var_Item9.set_RadioGroup(0,1235); var_Item6.Expanded = true; exontrol.EXTREECUBELib.Item var_Item10 = var_Items.Add("Hide app icons on the taskbar in table mode"); var_Item10.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item11 = var_Item10.Items.Add(""); var_Item11.Height = 24; var_Item11.set_HasCheckBox(0,true); var_Item11.set_State(0,0); var_Item11.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item10.Expanded = true; extreecube1.EnsureVisibleFaceMargin = 0; extreecube1.EnsureVisibleFace(exontrol.EXTREECUBELib.FaceEnum.exRightFace,null); extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.exFitToEnsureFace; extreecube1.EndUpdate(); |
89 |
How can I display more group of radio-buttons
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.Face var_Face = extreecube1.LeftFace; var_Face.RelativeMargins = "0,32,0,0"; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<c><font ;18>Multitasking"); var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceBackgroundExt,"bottom[2],bottom[4,back=RGB(0,0,0)]"); exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exNoLine; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.ItemPadding = 24; var_FaceTree.HeaderVisible = false; var_FaceTree.ShowSelection = false; var_FaceTree.Columns.Add("Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Snap"); var_Item.Divider = 0; var_Item.Bold = true; exontrol.EXTREECUBELib.Item var_Item1 = var_Items.Add("Arrange windows automatically by dragging them to the sides of corners of the scree"); var_Item1.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item2 = var_Item1.Items.Add(""); var_Item2.Height = 24; var_Item2.set_HasCheckBox(0,true); var_Item2.set_State(0,1); var_Item2.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item1.Expanded = true; exontrol.EXTREECUBELib.Item var_Item3 = var_Items.Add("When I snap more than one window, automatically adjust the size of the windows"); var_Item3.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item4 = var_Item3.Items.Add(""); var_Item4.Height = 24; var_Item4.set_HasCheckBox(0,true); var_Item4.set_State(0,1); var_Item4.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item3.Expanded = true; exontrol.EXTREECUBELib.Item var_Item5 = var_Items.Add("When I snap a window, show what I can snap next to it"); var_Item5.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item6 = var_Item5.Items.Add(""); var_Item6.Height = 24; var_Item6.set_HasCheckBox(0,true); var_Item6.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item5.Expanded = true; exontrol.EXTREECUBELib.Item var_Item7 = var_Items.Add("Virtual desktops"); var_Item7.Divider = 0; var_Item7.Bold = true; exontrol.EXTREECUBELib.Item var_Item8 = var_Items.Add("On the taskbar, show windows that are open on:"); var_Item8.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item9 = var_Item8.Items.Add("Only the desktop I'm using"); var_Item9.Height = 24; var_Item9.set_HasRadioButton(0,true); var_Item9.set_RadioGroup(0,1234); var_Item9.set_State(0,1); exontrol.EXTREECUBELib.Item var_Item10 = var_Item8.Items.Add("All desktops"); var_Item10.Height = 24; var_Item10.set_HasRadioButton(0,true); var_Item10.set_RadioGroup(0,1234); var_Item8.Expanded = true; exontrol.EXTREECUBELib.Item var_Item11 = var_Items.Add("Pressing ALT+TAB, show windows that are open on:"); var_Item11.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item12 = var_Item11.Items.Add("Only the desktop I'm using"); var_Item12.Height = 24; var_Item12.set_HasRadioButton(0,true); var_Item12.set_RadioGroup(0,1235); var_Item12.set_State(0,1); exontrol.EXTREECUBELib.Item var_Item13 = var_Item11.Items.Add("All desktops"); var_Item13.Height = 24; var_Item13.set_HasRadioButton(0,true); var_Item13.set_RadioGroup(0,1235); var_Item11.Expanded = true; extreecube1.EnsureVisibleFaceMargin = 0; extreecube1.EnsureVisibleFace(exontrol.EXTREECUBELib.FaceEnum.exLeftFace,null); extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.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. private void extreecube1_FaceTreeButtonClick(object sender,exontrol.EXTREECUBELib.FaceTree Tree,int Item,int Column) { System.Diagnostics.Debug.Print( "FaceTreeButtonClick" ); } //this.extreecube1.FaceTreeButtonClick += new exontrol.EXTREECUBELib.exg2antt.FaceTreeButtonClickEventHandler(this.extreecube1_FaceTreeButtonClick); // FaceTreeStateChanged event - Notifies that a cell changes its state into a face of tree type. private void extreecube1_FaceTreeStateChanged(object sender,exontrol.EXTREECUBELib.FaceTree Tree,int Item,int Column) { System.Diagnostics.Debug.Print( "FaceTreeStateChanged" ); } //this.extreecube1.FaceTreeStateChanged += new exontrol.EXTREECUBELib.exg2antt.FaceTreeStateChangedEventHandler(this.extreecube1_FaceTreeStateChanged); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.set_HTMLPicture("P1","c:\\exontrol\\images\\zipdisk.gif"); extreecube1.set_HTMLPicture("P2","c:\\exontrol\\images\\auction.gif"); extreecube1.set_HTMLPicture("P3","c:\\exontrol\\images\\colorize.gif"); extreecube1.set_HTMLPicture("P4","c:\\exontrol\\images\\auction.gif"); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.RelativeMargins = "0,32,0,0"; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<c><font ;18>Notifications"); var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceBackgroundExt,"bottom[2],bottom[4,back=RGB(0,0,0)]"); exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exNoLine; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; var_FaceTree.ItemPadding = 24; var_FaceTree.HeaderVisible = false; var_FaceTree.ShowSelection = false; var_FaceTree.Columns.Add("Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Choose your quick actions"); var_Item.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item1 = var_Item.Items.Add(""); var_Item1.Height = 48; string s = 0; var_Item1.set_Value(s,"<c><img>P1</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_Item1.set_Value(s,"<c><img>P2</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_Item1.set_Value(s,"<c><img>P3</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_Item1.set_Value(s,"<c><img>P4</img>"); var_Item1.set_CellWidth(s,48); var_Item1.set_HasButton(s,true); s = var_Item1.get_SplitCell(s); var_Item.Expanded = true; exontrol.EXTREECUBELib.Item var_Item2 = var_Items.Add("Show me tips about Windows"); var_Item2.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item3 = var_Item2.Items.Add(""); var_Item3.Height = 24; var_Item3.set_HasCheckBox(0,true); var_Item3.set_State(0,1); var_Item3.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item2.Expanded = true; exontrol.EXTREECUBELib.Item var_Item4 = var_Items.Add("Show app notifications "); var_Item4.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item5 = var_Item4.Items.Add(""); var_Item5.Height = 24; var_Item5.set_HasCheckBox(0,true); var_Item5.set_State(0,1); var_Item5.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item4.Expanded = true; exontrol.EXTREECUBELib.Item var_Item6 = var_Items.Add("Show notifications on lock screen"); var_Item6.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item7 = var_Item6.Items.Add(""); var_Item7.Height = 24; var_Item7.set_HasCheckBox(0,true); var_Item7.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item6.Expanded = true; exontrol.EXTREECUBELib.Item var_Item8 = var_Items.Add("Show alarms, reminders and incomming VOIP calls on the lock screen"); var_Item8.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item9 = var_Item8.Items.Add(""); var_Item9.Height = 24; var_Item9.set_HasCheckBox(0,true); var_Item9.set_State(0,1); var_Item9.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item8.Expanded = true; exontrol.EXTREECUBELib.Item var_Item10 = var_Items.Add("Hide notications while presentation"); var_Item10.set_SingleLine(0,false); exontrol.EXTREECUBELib.Item var_Item11 = var_Item10.Items.Add(""); var_Item11.Height = 24; var_Item11.set_HasCheckBox(0,true); var_Item11.set_State(0,0); var_Item11.set_FormatCell(0,"state = 0 ? `Off` : `On`"); var_Item10.Expanded = true; extreecube1.EnsureVisibleFaceMargin = 0; extreecube1.EnsureVisibleFace(exontrol.EXTREECUBELib.FaceEnum.exFrontFace,null); extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.exFitToEnsureFace; extreecube1.EndUpdate(); |
87 |
How do I display a progress bar
extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ItemPadding = 16; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add("Pos"); var_Column.FormatColumn = "1 pos ``"; var_Column.Width = 8; var_FaceTree.Columns.Add("Progress").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add(""); var_Item.set_BackgroundExt(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)]))"); var_Item.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"25%"); var_Item.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,var_Item.get_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt)); exontrol.EXTREECUBELib.Item var_Item1 = var_Items.Add(""); var_Item1.set_BackgroundExt(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)]))"); var_Item1.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"15%"); var_Item1.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,var_Item1.get_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt)); var_Item1.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exBackColorExt,65280); exontrol.EXTREECUBELib.Item var_Item2 = var_Items.Add(""); var_Item2.set_BackgroundExt(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)]))"); var_Item2.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"75%"); var_Item2.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,var_Item2.get_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt)); exontrol.EXTREECUBELib.Item var_Item3 = var_Items.Add(""); var_Item3.set_BackgroundExt(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)]))"); var_Item3.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"85%"); var_Item3.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,var_Item3.get_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt)); exontrol.EXTREECUBELib.Item var_Item4 = var_Items.Add(""); var_Item4.set_BackgroundExt(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)]))"); var_Item4.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt,"5%"); var_Item4.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt2,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exTextExt,var_Item4.get_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exClientExt)); var_Item4.set_BackgroundExtValue(1,exontrol.EXTREECUBELib.IndexExtEnum.exIndexExt4,exontrol.EXTREECUBELib.BackgroundExtPropertyEnum.exBackColorExt,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
exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = extreecube1.FrontFace.CreateCalendar(); var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar.MaxMonthX = 1; var_FaceCalendar.MaxMonthY = 1; // Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project. // Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project. exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint(); var_Print.PrintExt = (extreecube1 as exontrol.EXTREECUBELib.extreecube); var_Print.Preview(); |
84 |
How can I get the caption from the point
// MouseMove event - Occurs when the user moves the mouse. private void extreecube1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.get_CaptionFromPoint(-1,-1) ); } //this.extreecube1.MouseMoveEvent += new exontrol.EXTREECUBELib.exg2antt.MouseMoveEventHandler(this.extreecube1_MouseMoveEvent); extreecube1.TexturePicturePath = "C:\\Program Files\\Exontrol\\ExTreeCube\\Sample\\Texture\\Chapel"; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ItemPadding = 16; var_FaceTree.HeaderVisible = false; var_FaceTree.ForeColor = Color.FromArgb(255,255,255); var_FaceTree.Items.ToString = "<sha \\;\\;0><font \\;18>Place <b>A,<sha \\;\\;0><font \\;18>Place <b>B,<sha \\;\\;0><font \\;18>Place <b>C,<sha \\;\\;0><font " + "\\;18>Place <b>D,<sha \\;\\;0><font \\;18>Place <b>E"; |
83 |
How can I get the value from the point
// MouseMove event - Occurs when the user moves the mouse. private void extreecube1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.get_ValueFromPoint(-1,-1).ToString() ); } //this.extreecube1.MouseMoveEvent += new exontrol.EXTREECUBELib.exg2antt.MouseMoveEventHandler(this.extreecube1_MouseMoveEvent); extreecube1.TexturePicturePath = "C:\\Program Files\\Exontrol\\ExTreeCube\\Sample\\Texture\\Chapel"; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ItemPadding = 16; var_FaceTree.HeaderVisible = false; var_FaceTree.ForeColor = Color.FromArgb(255,255,255); var_FaceTree.Items.ToString = "<sha \\;\\;0><font \\;18>Place <b>A,<sha \\;\\;0><font \\;18>Place <b>B,<sha \\;\\;0><font \\;18>Place <b>C,<sha \\;\\;0><font " + "\\;18>Place <b>D,<sha \\;\\;0><font \\;18>Place <b>E"; |
82 |
How can I get the column from the point
// MouseMove event - Occurs when the user moves the mouse. private void extreecube1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.get_ColumnFromPoint(-1,-1).ToString() ); } //this.extreecube1.MouseMoveEvent += new exontrol.EXTREECUBELib.exg2antt.MouseMoveEventHandler(this.extreecube1_MouseMoveEvent); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.FullRowSelect = true; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.Columns.Add("A").FormatColumn = "0 pos `A-Z`"; var_FaceTree.Columns.Add("B").FormatColumn = "0 pos `B-Z`"; var_FaceTree.Columns.Add("C").FormatColumn = "0 pos `C-Z`"; var_FaceTree.Columns.Add("D").FormatColumn = "0 pos `D-Z`"; var_FaceTree.Items.Count = 4; |
81 |
How can I get the item from the point
// MouseMove event - Occurs when the user moves the mouse. private void extreecube1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceTree.get_ItemFromPoint(-1,-1).ToString() ); } //this.extreecube1.MouseMoveEvent += new exontrol.EXTREECUBELib.exg2antt.MouseMoveEventHandler(this.extreecube1_MouseMoveEvent); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.FullRowSelect = true; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.Columns.Add("A").FormatColumn = "0 pos `A-Z`"; var_FaceTree.Columns.Add("B").FormatColumn = "0 pos `B-Z`"; var_FaceTree.Columns.Add("C").FormatColumn = "0 pos `C-Z`"; var_FaceTree.Columns.Add("D").FormatColumn = "0 pos `D-Z`"; var_FaceTree.Items.Count = 4; |
80 |
How can I get the value from the point (calendar's date)
// MouseMove event - Occurs when the user moves the mouse. private void extreecube1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( "Date:" ); System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceCalendar.get_ValueFromPoint(-1,-1).ToString() ); } //this.extreecube1.MouseMoveEvent += new exontrol.EXTREECUBELib.exg2antt.MouseMoveEventHandler(this.extreecube1_MouseMoveEvent); exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = extreecube1.FrontFace.CreateCalendar(); var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar.MaxMonthX = 1; var_FaceCalendar.MaxMonthY = 1; |
79 |
How can I get the date from the point (calendar's date)
// MouseMove event - Occurs when the user moves the mouse. private void extreecube1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( "Date:" ); System.Diagnostics.Debug.Print( extreecube1.FrontFace.FaceCalendar.get_DateFromPoint(-1,-1).ToString() ); } //this.extreecube1.MouseMoveEvent += new exontrol.EXTREECUBELib.exg2antt.MouseMoveEventHandler(this.extreecube1_MouseMoveEvent); exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = extreecube1.FrontFace.CreateCalendar(); var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar.MaxMonthX = 1; var_FaceCalendar.MaxMonthY = 1; |
78 |
How can I get the face from the point
// MouseMove event - Occurs when the user moves the mouse. private void extreecube1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( "Face:" ); System.Diagnostics.Debug.Print( extreecube1.get_FaceFromPoint(-1,-1).ToString() ); } //this.extreecube1.MouseMoveEvent += new exontrol.EXTREECUBELib.exg2antt.MouseMoveEventHandler(this.extreecube1_MouseMoveEvent); extreecube1.IdentifyFace = exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceCaption; |
77 |
Does your control support partial-check feature
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.CheckBoxWidth = 32; extreecube1.CheckBoxHeight = 29; exontrol.EXTREECUBELib.Appearance var_Appearance = extreecube1.VisualAppearance; var_Appearance.Add(1,"gBFLBCJwBAEHhEJAADhABQACg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziaQAGgkNQwCS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.exCheckBoxState0,0x1000000); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exCheckBoxState1,0x2000000); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exCheckBoxState2,0x3000000); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exThinLine; var_FaceTree.ShowSelection = false; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.ItemPadding = 16; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add("<c><b>Partial Check"); var_Column.Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_Column.set_Def(exontrol.EXTREECUBELib.DefColumnEnum.exCellHasCheckBox,true); var_Column.FormatColumn = "`Check <b>` + 1 rpos ``"; var_Column.PartialCheck = true; var_FaceTree.Items.Count = extreecube1.FrontFace.FaceTree.VisibleItemsCount; exontrol.EXTREECUBELib.Item var_Item = var_FaceTree.get_ItemByIndex(1); var_Item.Items.Count = 3; var_Item.Expanded = true; var_Item.set_State(0,1); exontrol.EXTREECUBELib.Item var_Item1 = var_FaceTree.get_ItemByIndex(2); var_Item1.Items.Count = 3; var_Item1.Expanded = true; var_Item1.Items[1].set_State(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
|
73 |
How can I change the visual appearance for the control's check boxes (6)
|
72 |
How can I change the visual appearance for the control's check boxes (5)
|
71 |
How can I change the visual appearance for the control's check boxes (4)
|
70 |
How can I change the visual appearance for the control's check boxes (3)
|
69 |
How can I change the visual appearance for the control's check boxes (2)
|
68 |
How can I change the visual appearance for the control's check boxes (1)
|
67 |
How can I display an item to fit the control's width
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exThinLine; var_FaceTree.ItemPadding = 10; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.Columns.Add("<c>Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add("Pos"); var_Column.Position = 0; var_Column.Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_Column.FormatColumn = "1 rpos ``"; var_Column.Width = 24; exontrol.EXTREECUBELib.Column var_Column1 = var_FaceTree.Columns.Add("Pos"); var_Column1.Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_Column1.FormatColumn = "1 rpos ``"; var_Column1.Width = 24; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("<r>Root 1"); var_Item.Bold = true; var_Item.Divider = 0; var_Item.BackColor = Color.FromArgb(240,240,240); var_Item.Selectable = false; exontrol.EXTREECUBELib.Items var_Items1 = var_Item.Items; var_Items1.Add("Child 1"); var_Items1.Add("Child 2"); var_Items1.Add("Child 3"); exontrol.EXTREECUBELib.Item var_Item1 = var_Items.Add("<r>Root 2"); var_Item1.Bold = true; var_Item1.Divider = 0; var_Item1.BackColor = Color.FromArgb(240,240,240); var_Item1.Selectable = false; exontrol.EXTREECUBELib.Items var_Items2 = var_Item1.Items; var_Items2.Add("Child 1"); var_Items2.Add("Child 2"); var_Items2.Add("Child 3"); var_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
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ShowSelection = false; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.ItemPadding = 10; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add("<c><b>Def"); var_Column.Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_Column.set_Def(exontrol.EXTREECUBELib.DefColumnEnum.exCellPaddingLeft,4); exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; var_Items.Add("Item 1"); exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Radio 1"); var_Item.set_HasRadioButton(0,true); var_Item.set_RadioGroup(0,1234); exontrol.EXTREECUBELib.Item var_Item1 = var_Items.Add("Radio 2"); var_Item1.set_HasRadioButton(0,true); var_Item1.set_RadioGroup(0,1234); var_Item1.set_State(0,true); exontrol.EXTREECUBELib.Item var_Item2 = var_Items.Add("Radio 3"); var_Item2.set_HasRadioButton(0,true); var_Item2.set_RadioGroup(0,1234); var_Items.Add("Item 1"); extreecube1.EndUpdate(); |
64 |
Is it possible to provide a few check box only, not for entire column
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ShowSelection = false; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.ItemPadding = 10; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add("<c><b>Def"); var_Column.Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_Column.set_Def(exontrol.EXTREECUBELib.DefColumnEnum.exCellPaddingLeft,4); exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; var_Items.Add("Item 1"); var_Items.Add("Check 1").set_HasCheckBox(0,true); exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Check 2"); var_Item.set_HasCheckBox(0,true); var_Item.set_State(0,1); var_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
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.HasButtons = exontrol.EXTREECUBELib.ExpandButtonEnum.exArrow; exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ItemPadding = 10; var_FaceTree.HeaderVisible = false; var_FaceTree.HasLines = exontrol.EXTREECUBELib.HierarchyLineEnum.exSolidLine; var_FaceTree.LinesAtRoot = exontrol.EXTREECUBELib.LinesAtRootEnum.exGroupLines; var_FaceTree.GridLineStyle = exontrol.EXTREECUBELib.GridLinesStyleEnum.exGridLinesSolid; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exAllLines; var_FaceTree.Columns.Add("").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add(""); var_Column.Alignment = exontrol.EXTREECUBELib.AlignmentEnum.RightAlignment; var_Column.FormatColumn = "lower(%0) right 1"; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Item var_Item = var_Items.Add("Root <b>1"); exontrol.EXTREECUBELib.Items var_Items1 = var_Item.Items; var_Items1.Add("Child 1"); var_Items1.Add("Child 2"); var_Items1.Add("Child 3"); var_Item.Expanded = true; exontrol.EXTREECUBELib.Items var_Items2 = var_Items.Add("Root <b>2").Items; var_Items2.Add("Child 1"); var_Items2.Add("Child 2"); var_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
extreecube1.BeginUpdate(); extreecube1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.BackColorHeader32 = 0x1000000; var_FaceTree.Columns.Count = 5; extreecube1.EnsureVisibleFace(exontrol.EXTREECUBELib.FaceEnum.exFrontFace,null); extreecube1.EndUpdate(); |
55 |
How can I add multiple-columns, so the horizontal scroll bar is displayed
|
54 |
How can I add multiple-columns
extreecube1.BeginUpdate(); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ItemPadding = 10; var_FaceTree.LinesAtRoot = exontrol.EXTREECUBELib.LinesAtRootEnum.exGroupLines; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.Columns.Add("Default").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Column var_Column = var_FaceTree.Columns.Add("Pos"); var_Column.Position = 0; var_Column.Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; var_Column.FormatColumn = "1 rpos ``"; var_Column.Width = 24; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Items var_Items1 = var_Items.Add("Root 1").Items; var_Items1.Add("Child 1"); var_Items1.Add("Child 2"); var_Items1.Add("Child 3"); exontrol.EXTREECUBELib.Items var_Items2 = var_Items.Add("Root 2").Items; var_Items2.Add("Child 1"); var_Items2.Add("Child 2"); var_Items2.Add("Child 3"); var_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. private void extreecube1_FaceTreeExpandItem(object sender,exontrol.EXTREECUBELib.FaceTree Tree,int Item) { System.Diagnostics.Debug.Print( Item.ToString() ); } //this.extreecube1.FaceTreeExpandItem += new exontrol.EXTREECUBELib.exg2antt.FaceTreeExpandItemEventHandler(this.extreecube1_FaceTreeExpandItem); extreecube1.BeginUpdate(); exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ExpandOnDblClick = true; var_FaceTree.ItemPadding = 10; var_FaceTree.HeaderVisible = false; var_FaceTree.LinesAtRoot = exontrol.EXTREECUBELib.LinesAtRootEnum.exGroupLines; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exRowLines; var_FaceTree.Columns.Add("").Alignment = exontrol.EXTREECUBELib.AlignmentEnum.LeftAlignment; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; exontrol.EXTREECUBELib.Items var_Items1 = var_Items.Add("Root 1").Items; var_Items1.Add("Child 1"); var_Items1.Add("Child 2"); var_Items1.Add("Child 3"); exontrol.EXTREECUBELib.Items var_Items2 = var_Items.Add("Root 2").Items; var_Items2.Add("Child 1"); var_Items2.Add("Child 2"); var_Items2.Add("Child 3"); var_Items.ExpandAll(); extreecube1.EndUpdate(); |
52 |
How can I display a calendar control
// FaceCalendarValueChanged event - Notifies that the user selects a new date/value into a face of the calendar type. private void extreecube1_FaceCalendarValueChanged(object sender,exontrol.EXTREECUBELib.FaceCalendar Calendar) { System.Diagnostics.Debug.Print( Calendar.ToString() ); } //this.extreecube1.FaceCalendarValueChanged += new exontrol.EXTREECUBELib.exg2antt.FaceCalendarValueChangedEventHandler(this.extreecube1_FaceCalendarValueChanged); exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = extreecube1.FrontFace.CreateCalendar(); var_FaceCalendar.Value = Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_FaceCalendar.MonthNames = var_FaceCalendar.get_LocMonthNames(null); var_FaceCalendar.WeekDays = var_FaceCalendar.get_LocWeekDays(2); var_FaceCalendar.FirstWeekDay = var_FaceCalendar.LocFirstWeekDay; var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; |
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
exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.ItemPadding = 20; var_FaceTree.HeaderVisible = false; var_FaceTree.DrawGridLines = exontrol.EXTREECUBELib.GridLinesEnum.exNoLines; exontrol.EXTREECUBELib.Items var_Items = var_FaceTree.Items; var_Items.Add("Item A"); var_Items.Add("Item B"); var_Items.Add("Item C"); |
48 |
How can I add a list of items (method 2)
exontrol.EXTREECUBELib.Items var_Items = extreecube1.FrontFace.CreateTree().Items; var_Items.Add("Item A"); var_Items.Add("Item B"); var_Items.Add("Item C"); |
47 |
How can I add a list of items (method 1)
exontrol.EXTREECUBELib.FaceTree var_FaceTree = extreecube1.FrontFace.CreateTree(); var_FaceTree.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. private void extreecube1_FaceTreeValueChanged(object sender,exontrol.EXTREECUBELib.FaceTree Tree) { // f.FaceCalendar.Year = Tree.Caption exontrol.EXTREECUBELib.Face f = extreecube1.get_Face(extreecube1.VisibleFace); f = extreecube1.FrontFace; f.Date = f.FaceCalendar.Date; f.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateLeft,null); f.Date = f.FaceCalendar.Date; f.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateRight,null); f.Date = f.FaceCalendar.Date; f.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateRight,null); f.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateRight,null); } //this.extreecube1.FaceTreeValueChanged += new exontrol.EXTREECUBELib.exg2antt.FaceTreeValueChangedEventHandler(this.extreecube1_FaceTreeValueChanged); // Move event - Occurs once a new face became visible, by moving/rotating from a face to another, into the giving direction. private void extreecube1_Move(object sender,exontrol.EXTREECUBELib.RotateEnum RotateDir,exontrol.EXTREECUBELib.FaceEnum FromFace,exontrol.EXTREECUBELib.FaceEnum ToFace) { exontrol.EXTREECUBELib.Face f = extreecube1.get_Face(ToFace); f.FaceCalendar.SelDate = extreecube1.get_Face(FromFace).FaceCalendar.SelDate; extreecube1.get_Face(FromFace).FaceCalendar.UnselectDate(); f.Date = f.FaceCalendar.Date; f.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateLeft,null); f.Date = f.FaceCalendar.Date; f.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateRight,null); } //this.extreecube1.Move += new exontrol.EXTREECUBELib.exg2antt.MoveEventHandler(this.extreecube1_Move); extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.EnsureVisibleFaceMargin = 32; extreecube1.EnsureVisibleFaceOnDblClick = false; extreecube1.EnsureVisibleFaces = "0,2,1,3,4"; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = extreecube1.FrontFace.CreateCalendar(); var_FaceCalendar.Date = Convert.ToDateTime("1/1/2016",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar.MaxMonthX = 1; var_FaceCalendar.MaxMonthY = 1; var_FaceCalendar.ShowTodayButton = false; var_FaceCalendar.FirstWeekDay = exontrol.EXTREECUBELib.WeekDayEnum.exMonday; var_FaceCalendar.SelBackColor32 = 0x2000000; var_FaceCalendar.SelForeColor = Color.FromArgb(0,0,0); var_FaceCalendar.ShowNonMonthDays = true; Date d = extreecube1.FrontFace.FaceCalendar.Date; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar1 = extreecube1.LeftFace.CreateCalendar(); var_FaceCalendar1.Date = d; var_FaceCalendar1.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateLeft,null); var_FaceCalendar1.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar1.MaxMonthX = 1; var_FaceCalendar1.MaxMonthY = 1; var_FaceCalendar1.ShowTodayButton = false; var_FaceCalendar1.FirstWeekDay = exontrol.EXTREECUBELib.WeekDayEnum.exMonday; var_FaceCalendar1.SelBackColor32 = 0x2000000; var_FaceCalendar1.SelForeColor = Color.FromArgb(0,0,0); var_FaceCalendar1.ShowNonMonthDays = true; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar2 = extreecube1.RightFace.CreateCalendar(); var_FaceCalendar2.Date = d; var_FaceCalendar2.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateRight,null); var_FaceCalendar2.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar2.MaxMonthX = 1; var_FaceCalendar2.MaxMonthY = 1; var_FaceCalendar2.ShowTodayButton = false; var_FaceCalendar2.FirstWeekDay = exontrol.EXTREECUBELib.WeekDayEnum.exMonday; var_FaceCalendar2.SelBackColor32 = 0x2000000; var_FaceCalendar2.SelForeColor = Color.FromArgb(0,0,0); var_FaceCalendar2.ShowNonMonthDays = true; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar3 = extreecube1.BottomFace.CreateCalendar(); var_FaceCalendar3.Date = d; var_FaceCalendar3.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateRight,null); var_FaceCalendar3.Move(exontrol.EXTREECUBELib.RotateEnum.exRotateRight,null); var_FaceCalendar3.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar3.MaxMonthX = 1; var_FaceCalendar3.MaxMonthY = 1; var_FaceCalendar3.ShowTodayButton = false; var_FaceCalendar3.FirstWeekDay = exontrol.EXTREECUBELib.WeekDayEnum.exMonday; var_FaceCalendar3.SelBackColor32 = 0x2000000; var_FaceCalendar3.SelForeColor = Color.FromArgb(0,0,0); var_FaceCalendar3.ShowNonMonthDays = true; exontrol.EXTREECUBELib.Face var_Face = extreecube1.TopFace; exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.CreateTree(); var_FaceTree.ItemPadding = 20; var_FaceTree.SelBackColor32 = 0x2000000; var_FaceTree.SelForeColor = Color.FromArgb(0,0,0); var_FaceTree.Columns.Count = 5; var_FaceTree.HeaderVisible = false; var_FaceTree.Items.Count = extreecube1.TopFace.FaceTree.VisibleItemsCount; var_FaceTree.Columns[0].FormatColumn = "(0:=(1989 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[1].FormatColumn = "(0:=(1990 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[2].FormatColumn = "(0:=(1991 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[3].FormatColumn = "(0:=(1992 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Columns[4].FormatColumn = "(0:=(1993 + 5 * (0 index ``))) = 2016 ? `<b><sha ;;0>` + =:0 + `</b>` : =:0"; var_FaceTree.Caption = extreecube1.FrontFace.FaceCalendar.Year.ToString(); extreecube1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAADhABXgCg6AADACAxRDAMgBQKAAzQFAYaBsHCGAAGMZRZgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDIAkRRdDSOYDmGQYDiCIoRShOMIjH" + "LUXxtDaIZZmWCQCglf5HABRb7xPLoARTAaeJKoWboJAiGwLQjQUyABSdEyRJSLYhGIZRFqKZIRDSMFiwTZNVypAaIYqqaA6qzfJymabAAZJEradozTLIE7xVLEVYNKCm" + "ZCwMAAcgmEQgSTAda2BYELTzECoYDGCrcKpWCaNQLWEB5BQeJSNL6kIqsazgAqPLJtWhaVwxXIEI5AAC5QA0S7pOxeO6JbRGdZbNrlbz1PTMaazTgYDzmWqiYxxMraXx" + "SlmMprGsIpVl2LRnD0A5bnSN49mAARAlIYw6B0ThGFGDIBG0QghBMfZRiGNAkFECZoG6YQBgiOgCmuRRSg6GAElWAJMkgFgGgGYIIAyVQ7GCRhUAAOQhAMBgSDWIRDG4" + "Fg3CGCBmBmBYNjgUJWDIIgIECZBCEsKIUkqCZhiiJgqgaY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YFkeI5+H+igGAKAJgEgFgGgGUAzn4CoCmCSA2A6A5hAgCgQgSYRIE4EoFGG" + "CBiBeBhhkgPgbgcYgICoH4IGGWIOCSBhiGiHgVgoYooFoAYLGIWI+DCCgjCiTgrgII4ImYOoOmOSJ1n4OpWmQDQBICA=="); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exDateHeader,0x1000000); extreecube1.set_Background(exontrol.EXTREECUBELib.BackgroundPartEnum.exWeeksHeader,Color.FromArgb(250,250,250)); extreecube1.set_Background(exontrol.EXTREECUBELib.BackgroundPartEnum.exDaysHeader,Color.FromArgb(250,250,250)); extreecube1.set_Background32(exontrol.EXTREECUBELib.BackgroundPartEnum.exDateTodayUp,0x2000000); extreecube1.set_Background(exontrol.EXTREECUBELib.BackgroundPartEnum.exDateTodayForeColor,Color.FromArgb(255,255,255)); extreecube1.EnsureVisibleFace(exontrol.EXTREECUBELib.FaceEnum.exFrontFace,null); extreecube1.EndUpdate(); |
45 |
How can I add a FaceTree object ( method 2 )
|
44 |
How can I add a FaceTree object ( method 1 )
exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceTree; exontrol.EXTREECUBELib.FaceTree var_FaceTree = var_Face.FaceTree; var_FaceTree.Items.ToString = "Item <b>1,Item <b>2,Item <b>3"; var_FaceTree.SelectItem = 1; |
43 |
How can I add a FaceCalendar object ( method 2 )
|
42 |
How can I add a FaceCalendar object ( method 1 )
exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = var_Face.FaceCalendar; var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.exFitClient; var_FaceCalendar.Value = Convert.ToDateTime("12/31/1971",System.Globalization.CultureInfo.GetCultureInfo("en-US")); |
41 |
How can I add a FacePicture object ( method 2 )
|
40 |
How can I add a FacePicture object ( method 1 )
extreecube1.IdentifyFace = exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceFrame | exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceName | exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceCaption; exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFacePicture; exontrol.EXTREECUBELib.FacePicture var_FacePicture = var_Face.FacePicture; var_FacePicture.Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); var_FacePicture.PictureDisplay = exontrol.EXTREECUBELib.PictureDisplayEnum.Tile; var_FacePicture.Width = "2 * pwidth"; var_FacePicture.Height = "2 * pheight"; var_FacePicture.Top = "122"; var_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
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.DefaultFaceType = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.TransparentContent = 75; extreecube1.FrontFace.TransparentContent = 0; extreecube1.EndUpdate(); |
37 |
How can I add a Calendar control
extreecube1.BeginUpdate(); extreecube1.Margins = "0,0,0,0"; exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = var_Face.FaceCalendar; var_FaceCalendar.ShowNonMonthDays = true; var_FaceCalendar.AutoSize = exontrol.EXTREECUBELib.AutoSizeEnum.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. private void extreecube1_InitFaceContent(object sender,exontrol.EXTREECUBELib.Face Face) { // Face.FaceContent.ShowTodayButton = False } //this.extreecube1.InitFaceContent += new exontrol.EXTREECUBELib.exg2antt.InitFaceContentEventHandler(this.extreecube1_InitFaceContent); extreecube1.DefaultFaceType = exontrol.EXTREECUBELib.FaceTypeEnum.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
exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; exontrol.EXTREECUBELib.FaceCalendar var_FaceCalendar = var_Face.FaceCalendar; var_FaceCalendar.Date = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_FaceCalendar.SelDate = var_FaceCalendar.Date; var_FaceCalendar.MinDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_FaceCalendar.MaxDate = Convert.ToDateTime("1/31/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_FaceCalendar.FirstWeekDay = exontrol.EXTREECUBELib.WeekDayEnum.exMonday; var_FaceCalendar.ShowWeeks = false; var_FaceCalendar.ShowNonMonthDays = false; var_FaceCalendar.ShowTodayButton = false; var_FaceCalendar.MaxMonthX = var_FaceCalendar.MinMonthX; var_FaceCalendar.MaxMonthY = var_FaceCalendar.MinMonthY; |
30 |
How can I show date calendar
exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; var_Face.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
extreecube1.BeginUpdate(); extreecube1.set_HTMLPicture("logo","c:\\exontrol\\images\\zipdisk.gif"); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; var_Face.FaceCalendar.ShowTodayButton = false; var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<img>logo</img>"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceAnchor,0); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceHTMLRotate,0); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceHTMLRotate,0); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceLeft,"(width-twidth)/2"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceTop,"(height-theight)/2"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceWidth,"twidth"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceHeight,"theight"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceVisible,1); extreecube1.FrontFace.FaceCalendar.ForeColor = Color.FromArgb(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
extreecube1.BeginUpdate(); extreecube1.set_HTMLPicture("logo","c:\\exontrol\\images\\zipdisk.gif"); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; var_Face.FaceCalendar.ShowTodayButton = false; var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<r><img>logo</img>"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceAnchor,2); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceHTMLRotate,0); extreecube1.EndUpdate(); |
26 |
Is it possible to show two or more titles/extra titles
extreecube1.BeginUpdate(); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; var_Face.FaceCalendar.ShowTodayButton = false; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<font ;18><c><fgcolor=0000FF>This is the title"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<font ;18><c><fgcolor=FF0000>This is the extra title"); var_Face.set_ExtraTitle("extra",exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceAnchor,2); extreecube1.EndUpdate(); |
25 |
How can I display the title at the left side of the face
extreecube1.BeginUpdate(); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<font ;18><c>This is the title"); var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; var_Face.FaceCalendar.ShowTodayButton = false; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceAnchor,4); extreecube1.EndUpdate(); |
24 |
How can I display the title at the bottom side of the face
extreecube1.BeginUpdate(); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<font ;18><c>This is the title"); var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; var_Face.FaceCalendar.ShowTodayButton = false; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceAnchor,2); var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceHTMLRotate,0); extreecube1.EndUpdate(); |
23 |
Can I display the title to a different position
extreecube1.BeginUpdate(); exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceCaption,"<font ;18><c><bgcolor=FFFFFF>This is the title"); var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.exTitleFaceVisible,-1); var_Face.set_Title(exontrol.EXTREECUBELib.PropertyTitleFaceEnum.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
extreecube1.IdentifyFace = exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceFrame | exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceName | exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceCaption; exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFacePicture; exontrol.EXTREECUBELib.FacePicture var_FacePicture = var_Face.FacePicture; var_FacePicture.Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); var_FacePicture.PictureDisplay = exontrol.EXTREECUBELib.PictureDisplayEnum.Tile; var_FacePicture.Width = "2 * pwidth"; var_FacePicture.Height = "2 * pheight"; var_FacePicture.Top = "122"; var_FacePicture.Left = "46"; |
20 |
How do I put my logo on the right-bottom side of the face (method 1)
extreecube1.IdentifyFace = exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceFrame | exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceName | exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceCaption; exontrol.EXTREECUBELib.Face var_Face = extreecube1.FrontFace; var_Face.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFacePicture; exontrol.EXTREECUBELib.FacePicture var_FacePicture = var_Face.FacePicture; var_FacePicture.Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); var_FacePicture.PictureDisplay = exontrol.EXTREECUBELib.PictureDisplayEnum.LowerRight; var_FacePicture.Width = "width"; var_FacePicture.Height = "height"; var_FacePicture.Top = "0"; var_FacePicture.Left = "0"; |
19 |
Can I use any picture on the background's faces
extreecube1.BeginUpdate(); extreecube1.TexturePicturePath = ""; extreecube1.get_Face(exontrol.EXTREECUBELib.FaceEnum.exFrontFace).Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); extreecube1.get_Face(exontrol.EXTREECUBELib.FaceEnum.exBottomFace).Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)") as stdole.IPictureDisp); extreecube1.get_Face(exontrol.EXTREECUBELib.FaceEnum.exRightFace).Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)") as stdole.IPictureDisp); extreecube1.get_Face(exontrol.EXTREECUBELib.FaceEnum.exLeftFace).Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)") as stdole.IPictureDisp); extreecube1.get_Face(exontrol.EXTREECUBELib.FaceEnum.exTopFace).Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)") as stdole.IPictureDisp); extreecube1.get_Face(exontrol.EXTREECUBELib.FaceEnum.exDownFace).Picture = (extreecube1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.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
extreecube1.BeginUpdate(); extreecube1.ShowAs = exontrol.EXTREECUBELib.ShowAsEnum.exOrthographic; extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.exDisableEnsureVisibleFace; extreecube1.IdentifyFace = exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceFrame; extreecube1.TopFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.LeftFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.FrontFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.RightFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.RotX = 0.748933; extreecube1.RotY = 0.617099; extreecube1.Zoom = 1; extreecube1.EndUpdate(); |
13 |
Fish-Eye Default
extreecube1.BeginUpdate(); extreecube1.ShowAs = exontrol.EXTREECUBELib.ShowAsEnum.exFishEye; extreecube1.AlwaysEnsureVisibleFace = exontrol.EXTREECUBELib.EnsureVisibleFaceEnum.exDisableEnsureVisibleFace; extreecube1.IdentifyFace = exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceFrame; extreecube1.TopFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.LeftFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.FrontFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.exFaceCalendar; extreecube1.RightFace.Type = exontrol.EXTREECUBELib.FaceTypeEnum.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
extreecube1.IdentifyFace = exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceFrame | exontrol.EXTREECUBELib.IdentifyFaceEnum.exIdentifyFaceName | exontrol.EXTREECUBELib.IdentifyFaceEnum.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
|