|
|
|
SftBoxDropDown.RollUp Method |
Hides the drop down portion.
Syntax
VB.NET |
object.RollUp(ByVal Delay As Integer) |
||
VB |
object.RollUp(ByVal Delay As Long) |
||
C#.NET |
void object.RollUp(int Delay); |
||
VC++ |
HRESULT object->RollUp(long Delay); |
||
C |
HRESULT object->raw_RollUp(long Delay); |
||
Delphi |
procedure object.RollUp(Delay : Integer); |
object
A SftBoxDropDown object.
Delay
The number of milliseconds to elapse before the drop down portion is hidden. Specify 0 to hide the drop down portion immediately.
Comments
The RollUp method hides the drop down portion.
The RollUp method can be used to hide the drop down portion after a certain time period has elapsed. The Delay argument defines the length of the time period. If the drop down portion becomes hidden (or visible) during this time as the result of user interaction or other methods and properties, the RollUp method is cancelled and the drop down portion remains unaltered after the time period passes. This is useful during drag & drop processing. Instead of hiding the drop down portion immediately when the OLEDragOver event indicates that the mouse cursor has left the combo box control, the drop down portion can be hidden after a certain time period elapses. If the user moves the cursor back into the combo box, this eliminates the drop down portion from being hidden and shown repeatedly.
The DropDown.Dropped property can also be used to hide the drop down portion.
This method cannot be used with a simple combo box.