21
How do I specify that an object should be moved not resized
Procedure OnCreate
	Forward Send OnCreate
	Set ComObjectsLT to "Command1"
	Set ComObjectsRB to "Command1"
End_Procedure
20
I've noticed some margins that are not painted. How can I prevent/remove that
Procedure OnCreate
	Forward Send OnCreate
	Set ComBorderWidth to 0
	Set ComBorderHeight to 0
	Set ComSplitBackColor to (RGB(0,0,0))
End_Procedure
19
How can I change the shape of the cursor
Procedure OnCreate
	Forward Send OnCreate
	Set ComCursor to "exCross"
End_Procedure
18
How can I display a tooltip when cursor hovers the split bar (pictures)
Procedure OnCreate
	Forward Send OnCreate
	Set ComHTMLPicture "pic1" to "c:\exontrol\images\zipdisk.gif"
	Set ComToolTipText to "<img>pic1</img>This is a bit of text that's displayed when the control hovers the split bar."
End_Procedure
17
How can I display a tooltip when cursor hovers the split bar (images)
Procedure OnCreate
	Forward Send OnCreate
	Send ComImages "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
	Set ComToolTipText to "<img>1</img>This is a bit of text that's displayed when the control hovers the split bar."
End_Procedure
16
Is it possible to move the associated objects once the user drags the split bar, not just when it ends
Procedure OnCreate
	Forward Send OnCreate
	Set ComObjectsLT to "Command1"
	Set ComObjectsRB to "Command2"
	Set ComMoveOnDrop to False
End_Procedure
15
How do I know what events your control supports
// Notifies the application once the control fires an event.
Procedure OnComEvent Integer   llEventID
	Forward Send OnComEvent llEventID
	Showln (ComEventParam(Self,-2))
End_Procedure


14
Is it possible to get notified once the user moves the split bar
// Notifies that the user drags the split bar.
Procedure OnComDrag Integer   llPosition
	Forward Send OnComDrag llPosition
	Showln "New Position" llPosition
End_Procedure


13
How do I get notified once the user drop the split bar to a new position
// Occurs once the user ends dragging the split bar.
Procedure OnComDragEnd Integer   llPosition Boolean   llCancel
	Forward Send OnComDragEnd llPosition llCancel
	Showln "New Position" llPosition
End_Procedure


12
How do I programmatically move the split bar, to the right/bottom most position
Procedure OnCreate
	Forward Send OnCreate
	Set ComObjectsLT to "Command1"
	Set ComObjectsRB to "Command2"
	Send ComMoveTo (ComMax(Self))
End_Procedure
11
How do I programmatically move the split bar, to the left/top most position
Procedure OnCreate
	Forward Send OnCreate
	Set ComObjectsLT to "Command1"
	Set ComObjectsRB to "Command2"
	Send ComMoveTo (ComMin(Self))
End_Procedure
10
How do I programmatically move the split bar
Procedure OnCreate
	Forward Send OnCreate
	Set ComObjectsLT to "Command1"
	Set ComObjectsRB to "Command2"
	Send ComMoveTo -10
End_Procedure
9
I've noticed that the objects are hidden, when the split bar is closed to the limit. Is it possible to prevent that
// Occurs when an object requires to be shown or hidden.
Procedure OnComShow Variant   llObject Boolean   llVisible
	Forward Send OnComShow llObject llVisible
	Showln llObject llVisible
End_Procedure

Procedure OnCreate
	Forward Send OnCreate
	Set ComObjectsLT to "Command1"
	Set ComObjectsRB to "Command2"
	Set ComHideOnLimit to False
End_Procedure
8
How can I specify the limit to move the splitbar (hard coded value)
Procedure OnCreate
	Forward Send OnCreate
	Set ComLimitLT to "32D"
	Set ComLimitRB to "32D"
End_Procedure
7
How can I specify the limit to move the splitbar (percent)
Procedure OnCreate
	Forward Send OnCreate
	Set ComLimitLT to "50%"
	Set ComLimitRB to "50%"
End_Procedure
6
How do I change the split bar's visual appearance using your EBN files (BASE64)
Procedure OnCreate
	Forward Send OnCreate
	Send ComBeginUpdate
	Set ComBackColor to (RGB(255,255,255))
	Variant voAppearance
	Get ComVisualAppearance to voAppearance
	Handle hoAppearance
	Get Create (RefClass(cComAppearance)) to hoAppearance
	Set pvComObject of hoAppearance to voAppearance
		Get ComAdd of hoAppearance 1 "gBFLBCJwBAEHhEJAAEhABV0GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGUYBRgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQxHJEExZCKLACkKKwMgkEYfTLGUxQGAsXBgEoWRjkAYJADYBIJDCME7yHBJDSdGaYIRBGCZbiGOYxQjKMqwJJUfBLEAZKLnGRIbpOA5VSBVcT1VZlPTBHqxaxhED6SjaOJqRpcERTeJobT1FgWRpqUYRSwMMJqWjCNhABKsBgdO4AKpffIwAxNf4XSBIAIQSSBUjGOg6TiMWB4JRqOxCEzpUZDNBIUQTRoAJrgOCAYhcZJVXhAeTbXibZZ8RzgCj4Lg+AQ5cLHbxyPJHZxlHadZ7nOYPThXFMLBImudA7MEOQjiuFh1ngDQ+C6V4Thw/Z4B0eRnleMJXm6cp8DoHhzD+MZ0jWe52EkP4lC+cZNn4f5fkKFZ6BIXYSjoBgciCBxmAEP4gkgNgOgMIAXGQb4EkUWBVlkO5hggPgaD+IYDj2WQTmICBUFWBZhhgbgOgcXYRC4KoCAcJxkieC5iGgOgvCmXYYjGdwtF+F5tnwOojkidgBgDGpCEIfRemGLZxhGRBnk2dR3l4CQWEgdAeCGJZpHUXxZD2T4Sl2ZptlyEZdkkZZLHMXwXEoXhyFuY5JkWCIiCcFZHDwHRTi0UQABAECAg" to Nothing
	Send Destroy to hoAppearance
	Set ComSplitBackColor to |CI$1000000
	Send ComEndUpdate
End_Procedure
5
How do I change the split bar's visual appearance using your EBN files (file)
Procedure OnCreate
	Forward Send OnCreate
	Send ComBeginUpdate
	Set ComBackColor to (RGB(255,255,255))
	Variant voAppearance
	Get ComVisualAppearance to voAppearance
	Handle hoAppearance
	Get Create (RefClass(cComAppearance)) to hoAppearance
	Set pvComObject of hoAppearance to voAppearance
		Get ComAdd of hoAppearance 1 "C:\Program Files\Exontrol\ExSplitBar\Sample\EBN\vthumb.ebn" to Nothing
	Send Destroy to hoAppearance
	Set ComSplitBackColor to |CI$1000000
	Send ComEndUpdate
End_Procedure
4
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method runtime)
Procedure OnCreate
	Forward Send OnCreate
	Send ComAddObjectLT "Command1"
	Send ComAddObjectRB "Command2"
	Send ComAddObjectRB "SplitBar2"
	Send ComAddObjectRB "Command3"
End_Procedure
3
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method design)
Procedure OnCreate
	Forward Send OnCreate
	Set ComObjectsLT to "Command1"
	Set ComObjectsRB to "Command2,SplitBar2,Command3"
	Send ComAddObjectLT "Command1"
	Send ComAddObjectRB "Command2"
	Send ComAddObjectRB "SplitBar2"
	Send ComAddObjectRB "Command3"
End_Procedure
2
How do I change the split bar's color
Procedure OnCreate
	Forward Send OnCreate
	Set ComSplitBackColor to (RGB(0,255,0))
End_Procedure
1
How do I change the control's background color
Procedure OnCreate
	Forward Send OnCreate
	Set ComBackColor to (RGB(255,255,0))
	Set ComBorderWidth to 4
	Set ComBorderHeight to 4
End_Procedure