Page 1 of 1

combobox text

PostPosted: May 25th, 2009, 7:09 am
by mardikas09
Hody!
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

Re: combobox text

PostPosted: May 25th, 2009, 12:40 pm
by Kambiz
Where is the problem?