0

i have 1 combobox and i have auto Assign stringlist from advstringgrid its working ok .
I need to activate filter sorting condition based on select string from combobox.

hire is buton comand it work fine

advstringgrid1.Cells[9, 0] := 'some word ';
 CheckBox1Click(Sender);

I need ,, ('some word';)" to be autocange replace with rules baset on click in combobox

haw to Assign stringlist from combobox and send like advstringgrid1.Cells[9, 0] :=  ('hire select  string from combobox ';)
CheckBox1Click(Sender);

any sugestion plise small example Thanks.

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by especta
0

i have 1 combobox and i have auto Assign stringlist from advstringgrid its working ok .
I need to activate filter sorting condition based on select string from combobox.

hire is buton comand it work fine

advstringgrid1.Cells[9, 0] := 'some word ';
 CheckBox1Click(Sender);

I need ,, ('some word';)" to be autocange replace with rules baset on click in combobox

haw to Assign stringlist from combobox and send like advstringgrid1.Cells[9, 0] :=  ('hire select  string from combobox ';)
CheckBox1Click(Sender);

any sugestion plise small example Thanks.

I have Create an event handler for the OnChange event of the combo box. Theni have set the filter of grid to the text of the combo box. eg,

advstringgrid1.Cells[9, 0] := combobox1.Text;

and all work perfect.............
"for all who have the same problem"

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.