Главная страница | назад





Article #19584: ComboBox Text

 Question and Answer Database

FAQ4584C.txt - ComboBox Text

Category   :VCL
Platform   :All-32Bit
Product    :All-32Bit,   

Question:
How do I compare TComboBox text with TMemo text? Provided that I know the TComboBox text.



Answer:
if (!Memo1->Text.Pos(ComboBox1->Text))
    ShowMessage("Text does not exist yet");
else
    ShowMessage("Text already exists");



5/25/99 11:48:49 AM
 

Last Modified: 01-SEP-99