combobox text

Please discuss general Delphi programming topics here.

combobox text

Postby mardikas09 » May 25th, 2009, 7:09 am

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
mardikas09
Member
Member
 
Posts: 1
Joined: May 25th, 2009, 6:03 am

Re: combobox text

Postby Kambiz » May 25th, 2009, 12:40 pm

Where is the problem?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron