treecombobox FocusOnClick property
Return to Introduction  Previous page  Next page
Applies to
acEdit, acNumberEdit, acIPEdit, acLabeledComboBox, acMRUComboBox, acImagesComboBox and TacTreeComboBox components as subproperty of AttachedLabel structure.  

Declaration
property FocusOnClick: Boolean; // True by default  

Description
The FocusOnClick property controls whether the control, associated with the attached label, should accept focus when user clicks the label with mouse.  
 
Set FocusOnClick to True if you want to switch focus to the control when user clicks the label, or set it to False otherwise.  

Note
Additionally you can use OnLabelClick and OnLabelDblClick events of the control.