ComponentOne True DBInput Pro 8.0
TDBNumber DropDown Object Properties

The TDBNumber control's DropDown object allows you to add a button in the control area to bring up the calculator for easy entry of calculated results.

The button can be added only on the right portion of the control, either inside or outside of the control area.

The properties of the DropDown object can be set with the Button Property Page (TDBNumber) at design time, and can be set with Visual Basic code at run time.

The following code demonstrates how to change the drop down button’s appearance at run time:

Example Title
Copy Code
With TDBNumber.DropDown

    .Visible = dbiShowOnFocus

    .Position = dbiDropPosInside

End With

Note that clicking on the drop down button will cause the focus to move into the edit control.

All of the properties for the DropDown object are documented in the following reference section:

DropDown Object Properties

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback