I'm using three different comboboxes. If one is enabled then two others are not.
I wanna use active combobox text in memo box.
I tried one code:
- Code: Select all
prodcedure dosomething
var
combotext:string;
begin
if combobox1.enabled:=true
then
combotext:=combobox1.text;
if combobox2.enabled:=true
then
combotext:=combobox2.text
if combobox3.enabled:=true
then
combotext:=combobox3.text
Thanks!
M