In the dfm file, the wrong way is:
object L_Name: TLabel
Left = 356
Top = 8
Width = 28
Height = 13
Caption = 'Name'
end
object CB_Name: TComboBox
Left = 388
Top = 4
Width = 113
Height = 21
ItemHeight = 13
TabOrder = 4
end
the correct way is:
object CB_Name: TComboBox
Left = 388
Top = 4
Width = 113
Height = 21
ItemHeight = 13
TabOrder = 4
end
object L_Name: TLabelWC
Left = 356
Top = 8
Width = 28
Height = 13
Caption = 'Name'
FocusControl = CB_Name
end