combobox text

If you have a programming question, please feel free to post it here. Non-programming questions will be moved to Miscellaneous or deleted.

combobox text

by mardikas09 » 25/05/09 07:09

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: 25/05/09 06:03

Re: combobox text

by Kambiz » 25/05/09 12:40

Where is the problem?
Kambiz

Donate a cup of food for free: Click to Give @ The Hunger Site

Kambiz
Administrator
Administrator
 
Posts: 1801
Joined: 07/03/03 19:10
Location: Tehran, Iran


Return to Delphi Programming

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 0 guests