|
22
|
How can I replace or add an icon at runtime
public void init()
{
str var_s;
;
super();
var_s = "gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+Ok";
var_s = var_s + "YB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA==";
exsplitbar1.ReplaceIcon(COMVariant::createFromStr(var_s));
exsplitbar1.ReplaceIcon("C:\\images\\favicon.ico",COMVariant::createFromInt(0));
exsplitbar1.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
public void init()
{
;
super();
exsplitbar1.ObjectsLT("Command1");
exsplitbar1.ObjectsRB("Command1");
}
|
|
20
|
I've noticed some margins that are not painted. How can I prevent/remove that
public void init()
{
;
super();
exsplitbar1.BorderWidth(0);
exsplitbar1.BorderHeight(0);
exsplitbar1.SplitBackColor(WinApi::RGB2int(0,0,0));
}
|
|
19
|
How can I change the shape of the cursor
public void init()
{
;
super();
exsplitbar1.Cursor("exCross");
}
|
|
18
|
How can I display a tooltip when cursor hovers the split bar (pictures)
public void init()
{
;
super();
exsplitbar1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exsplitbar1.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)
public void init()
{
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exsplitbar1.Images(COMVariant::createFromStr(var_s));
exsplitbar1.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
public void init()
{
;
super();
exsplitbar1.ObjectsLT("Command1");
exsplitbar1.ObjectsRB("Command2");
exsplitbar1.MoveOnDrop(false);
}
|
|
15
|
How do I know what events your control supports
// Event event - Notifies the application once the control fires an event.
void onEvent_Event(int _EventID)
{
;
print( exsplitbar1.EventParam(-2) );
}
public void init()
{
;
super();
}
|
|
14
|
Is it possible to get notified once the user moves the split bar
// Drag event - Notifies that the user drags the split bar.
void onEvent_Drag(int _Position)
{
;
print( "New Position" );
print( _Position );
}
public void init()
{
;
super();
}
|
|
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.
void onEvent_DragEnd(int _Position, boolean _Cancel)
{
;
print( "New Position" );
print( _Position );
}
public void init()
{
;
super();
}
|
|
12
|
How do I programmatically move the split bar, to the right/bottom most position
public void init()
{
;
super();
exsplitbar1.ObjectsLT("Command1");
exsplitbar1.ObjectsRB("Command2");
exsplitbar1.MoveTo(exsplitbar1.Max());
}
|
|
11
|
How do I programmatically move the split bar, to the left/top most position
public void init()
{
;
super();
exsplitbar1.ObjectsLT("Command1");
exsplitbar1.ObjectsRB("Command2");
exsplitbar1.MoveTo(exsplitbar1.Min());
}
|
|
10
|
How do I programmatically move the split bar
public void init()
{
;
super();
exsplitbar1.ObjectsLT("Command1");
exsplitbar1.ObjectsRB("Command2");
exsplitbar1.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.
void onEvent_Show(COMVariant _Object, boolean _Visible)
{
;
print( _Object );
print( _Visible );
}
public void init()
{
;
super();
exsplitbar1.ObjectsLT("Command1");
exsplitbar1.ObjectsRB("Command2");
exsplitbar1.HideOnLimit(false);
}
|
|
8
|
How can I specify the limit to move the splitbar (hard coded value)
public void init()
{
;
super();
exsplitbar1.LimitLT("32D");
exsplitbar1.LimitRB("32D");
}
|
|
7
|
How can I specify the limit to move the splitbar (percent)
public void init()
{
;
super();
exsplitbar1.LimitLT("50%");
exsplitbar1.LimitRB("50%");
}
|
|
6
|
How do I change the split bar's visual appearance using your EBN files (BASE64)
public void init()
{
str var_s;
;
super();
exsplitbar1.BeginUpdate();
exsplitbar1.BackColor(WinApi::RGB2int(255,255,255));
var_s = "gBFLBCJwBAEHhEJAAEhABV0GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGUYBRgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQxHJEExZCKLACkKKwMgkEYfTLGUxQGA";
var_s = var_s + "sXBgEoWRjkAYJADYBIJDCME7yHBJDSdGaYIRBGCZbiGOYxQjKMqwJJUfBLEAZKLnGRIbpOA5VSBVcT1VZlPTBHqxaxhED6SjaOJqRpcERTeJobT1FgWRpqUYRSwMMJqW";
var_s = var_s + "jCNhABKsBgdO4AKpffIwAxNf4XSBIAIQSSBUjGOg6TiMWB4JRqOxCEzpUZDNBIUQTRoAJrgOCAYhcZJVXhAeTbXibZZ8RzgCj4Lg+AQ5cLHbxyPJHZxlHadZ7nOYPThX";
var_s = var_s + "FMLBImudA7MEOQjiuFh1ngDQ+C6V4Thw/Z4B0eRnleMJXm6cp8DoHhzD+MZ0jWe52EkP4lC+cZNn4f5fkKFZ6BIXYSjoBgciCBxmAEP4gkgNgOgMIAXGQb4EkUWBVlkO";
var_s = var_s + "5hggPgaD+IYDj2WQTmICBUFWBZhhgbgOgcXYRC4KoCAcJxkieC5iGgOgvCmXYYjGdwtF+F5tnwOojkidgBgDGpCEIfRemGLZxhGRBnk2dR3l4CQWEgdAeCGJZpHUXxZD";
var_s = var_s + "2T4Sl2ZptlyEZdkkZZLHMXwXEoXhyFuY5JkWCIiCcFZHDwHRTi0UQABAECAg";
exsplitbar1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
exsplitbar1.SplitBackColor(0x1000000);
exsplitbar1.EndUpdate();
}
|
|
5
|
How do I change the split bar's visual appearance using your EBN files (file)
public void init()
{
;
super();
exsplitbar1.BeginUpdate();
exsplitbar1.BackColor(WinApi::RGB2int(255,255,255));
exsplitbar1.VisualAppearance().Add(1,"C:\\Program Files\\Exontrol\\ExSplitBar\\Sample\\EBN\\vthumb.ebn");
exsplitbar1.SplitBackColor(0x1000000);
exsplitbar1.EndUpdate();
}
|
|
4
|
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method runtime)
public void init()
{
;
super();
exsplitbar1.AddObjectLT("Command1");
exsplitbar1.AddObjectRB("Command2");
exsplitbar1.AddObjectRB("SplitBar2");
exsplitbar1.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)
public void init()
{
;
super();
exsplitbar1.ObjectsLT("Command1");
exsplitbar1.ObjectsRB("Command2,SplitBar2,Command3");
exsplitbar1.AddObjectLT("Command1");
exsplitbar1.AddObjectRB("Command2");
exsplitbar1.AddObjectRB("SplitBar2");
exsplitbar1.AddObjectRB("Command3");
}
|
|
2
|
How do I change the split bar's color
public void init()
{
;
super();
exsplitbar1.SplitBackColor(WinApi::RGB2int(0,255,0));
}
|
|
1
|
How do I change the control's background color
public void init()
{
;
super();
exsplitbar1.BackColor(WinApi::RGB2int(255,255,0));
exsplitbar1.BorderWidth(4);
exsplitbar1.BorderHeight(4);
}
|