|
22
|
How can I replace or add an icon at runtime
axSplitBar1.ReplaceIcon("gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+O" +
"kYB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA==",null);
axSplitBar1.ReplaceIcon("C:\\images\\favicon.ico",0);
axSplitBar1.ToolTipText = "<img>1</img>This is a bit of text that's displayed when the control hovers the split bar.";
|
|
21
|
How do I specify that an object should be moved not resized
axSplitBar1.ObjectsLT = "Command1";
axSplitBar1.ObjectsRB = "Command1";
|
|
20
|
I've noticed some margins that are not painted. How can I prevent/remove that
axSplitBar1.BorderWidth = 0;
axSplitBar1.BorderHeight = 0;
axSplitBar1.SplitBackColor = Color.FromArgb(0,0,0);
|
|
19
|
How can I change the shape of the cursor
axSplitBar1.Cursor = "exCross";
|
|
18
|
How can I display a tooltip when cursor hovers the split bar (pictures)
axSplitBar1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axSplitBar1.ToolTipText = "<img>pic1</img>This is a bit of text that's displayed when the control hovers the split bar.";
|
|
17
|
How can I display a tooltip when cursor hovers the split bar (images)
axSplitBar1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axSplitBar1.ToolTipText = "<img>1</img>This is a bit of text that's displayed when the control hovers the split bar.";
|
|
16
|
Is it possible to move the associated objects once the user drags the split bar, not just when it ends
axSplitBar1.ObjectsLT = "Command1";
axSplitBar1.ObjectsRB = "Command2";
axSplitBar1.MoveOnDrop = false;
|
|
15
|
How do I know what events your control supports
// Event event - Notifies the application once the control fires an event.
private void axSplitBar1_Event(object sender, AxEXSPLITBARLib._ISplitBarEvents_EventEvent e)
{
System.Diagnostics.Debug.Print( axSplitBar1.get_EventParam(-2).ToString() );
}
//this.axSplitBar1.Event += new AxEXSPLITBARLib._ISplitBarEvents_EventEventHandler(this.axSplitBar1_Event);
|
|
14
|
Is it possible to get notified once the user moves the split bar
// Drag event - Notifies that the user drags the split bar.
private void axSplitBar1_Drag(object sender, AxEXSPLITBARLib._ISplitBarEvents_DragEvent e)
{
System.Diagnostics.Debug.Print( "New Position" );
System.Diagnostics.Debug.Print( e.position.ToString() );
}
//this.axSplitBar1.Drag += new AxEXSPLITBARLib._ISplitBarEvents_DragEventHandler(this.axSplitBar1_Drag);
|
|
13
|
How do I get notified once the user drop the split bar to a new position
// DragEnd event - Occurs once the user ends dragging the split bar.
private void axSplitBar1_DragEnd(object sender, AxEXSPLITBARLib._ISplitBarEvents_DragEndEvent e)
{
System.Diagnostics.Debug.Print( "New Position" );
System.Diagnostics.Debug.Print( e.position.ToString() );
}
//this.axSplitBar1.DragEnd += new AxEXSPLITBARLib._ISplitBarEvents_DragEndEventHandler(this.axSplitBar1_DragEnd);
|
|
12
|
How do I programmatically move the split bar, to the right/bottom most position
axSplitBar1.ObjectsLT = "Command1";
axSplitBar1.ObjectsRB = "Command2";
axSplitBar1.MoveTo(axSplitBar1.Max);
|
|
11
|
How do I programmatically move the split bar, to the left/top most position
axSplitBar1.ObjectsLT = "Command1";
axSplitBar1.ObjectsRB = "Command2";
axSplitBar1.MoveTo(axSplitBar1.Min);
|
|
10
|
How do I programmatically move the split bar
axSplitBar1.ObjectsLT = "Command1";
axSplitBar1.ObjectsRB = "Command2";
axSplitBar1.MoveTo(-10);
|
|
9
|
I've noticed that the objects are hidden, when the split bar is closed to the limit. Is it possible to prevent that
// Show event - Occurs when an object requires to be shown or hidden.
private void axSplitBar1_Show(object sender, AxEXSPLITBARLib._ISplitBarEvents_ShowEvent e)
{
System.Diagnostics.Debug.Print( e.object.ToString() );
System.Diagnostics.Debug.Print( e.visible.ToString() );
}
//this.axSplitBar1.Show += new AxEXSPLITBARLib._ISplitBarEvents_ShowEventHandler(this.axSplitBar1_Show);
axSplitBar1.ObjectsLT = "Command1";
axSplitBar1.ObjectsRB = "Command2";
axSplitBar1.HideOnLimit = false;
|
|
8
|
How can I specify the limit to move the splitbar (hard coded value)
axSplitBar1.LimitLT = "32D";
axSplitBar1.LimitRB = "32D";
|
|
7
|
How can I specify the limit to move the splitbar (percent)
axSplitBar1.LimitLT = "50%";
axSplitBar1.LimitRB = "50%";
|
|
6
|
How do I change the split bar's visual appearance using your EBN files (BASE64)
axSplitBar1.BeginUpdate();
axSplitBar1.BackColor = Color.FromArgb(255,255,255);
axSplitBar1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABV0GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGUYBRgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQxHJEExZCKLACkKKwMgkEYfTLGUxQG" +
"AsXBgEoWRjkAYJADYBIJDCME7yHBJDSdGaYIRBGCZbiGOYxQjKMqwJJUfBLEAZKLnGRIbpOA5VSBVcT1VZlPTBHqxaxhED6SjaOJqRpcERTeJobT1FgWRpqUYRSwMMJq" +
"WjCNhABKsBgdO4AKpffIwAxNf4XSBIAIQSSBUjGOg6TiMWB4JRqOxCEzpUZDNBIUQTRoAJrgOCAYhcZJVXhAeTbXibZZ8RzgCj4Lg+AQ5cLHbxyPJHZxlHadZ7nOYPTh" +
"XFMLBImudA7MEOQjiuFh1ngDQ+C6V4Thw/Z4B0eRnleMJXm6cp8DoHhzD+MZ0jWe52EkP4lC+cZNn4f5fkKFZ6BIXYSjoBgciCBxmAEP4gkgNgOgMIAXGQb4EkUWBVlk" +
"O5hggPgaD+IYDj2WQTmICBUFWBZhhgbgOgcXYRC4KoCAcJxkieC5iGgOgvCmXYYjGdwtF+F5tnwOojkidgBgDGpCEIfRemGLZxhGRBnk2dR3l4CQWEgdAeCGJZpHUXxZ" +
"D2T4Sl2ZptlyEZdkkZZLHMXwXEoXhyFuY5JkWCIiCcFZHDwHRTi0UQABAECAg");
(axSplitBar1.GetOcx() as EXSPLITBARLib.SplitBar).SplitBackColor = 0x1000000;
axSplitBar1.EndUpdate();
|
|
5
|
How do I change the split bar's visual appearance using your EBN files (file)
axSplitBar1.BeginUpdate();
axSplitBar1.BackColor = Color.FromArgb(255,255,255);
axSplitBar1.VisualAppearance.Add(1,"C:\\Program Files\\Exontrol\\ExSplitBar\\Sample\\EBN\\vthumb.ebn");
(axSplitBar1.GetOcx() as EXSPLITBARLib.SplitBar).SplitBackColor = 0x1000000;
axSplitBar1.EndUpdate();
|
|
4
|
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method runtime)
axSplitBar1.AddObjectLT("Command1");
axSplitBar1.AddObjectRB("Command2");
axSplitBar1.AddObjectRB("SplitBar2");
axSplitBar1.AddObjectRB("Command3");
|
|
3
|
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method design)
axSplitBar1.ObjectsLT = "Command1";
axSplitBar1.ObjectsRB = "Command2,SplitBar2,Command3";
axSplitBar1.AddObjectLT("Command1");
axSplitBar1.AddObjectRB("Command2");
axSplitBar1.AddObjectRB("SplitBar2");
axSplitBar1.AddObjectRB("Command3");
|
|
2
|
How do I change the split bar's color
axSplitBar1.SplitBackColor = Color.FromArgb(0,255,0);
|
|
1
|
How do I change the control's background color
axSplitBar1.BackColor = Color.FromArgb(255,255,0);
axSplitBar1.BorderWidth = 4;
axSplitBar1.BorderHeight = 4;
|