Subject Re: [IBO] TIB_SearchPanel
Author Jason Wharton
Use ReadSearchCriteria() and WriteSearchCriteria() methods of the dataset.
They give you control over these settings without touching the control. You
will just have to parse the stringlist and write it back in. You will also
need to learn the pattern it uses to identify the various controls. make
some settings and then read the criteria for it and teach yourself its
format and then you are ready to go from there on your own.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Salvatore Besso" <s.besso@...>
To: "IB Objects" <IBObjects@yahoogroups.com>
Sent: Thursday, November 29, 2001 10:43 AM
Subject: [IBO] TIB_SearchPanel


> hello all,
>
> is there any way to directly access the edit boxes (or their values)
> contained into a search panel ? I'd like to make the search process a
> little easy for the end user via some radio buttons and a check box.
>
> The check box should be "Exact search" and in this case nothing is
> done with the values in the search panel. Instead, if I uncheck this
> control, two radio buttons become enabled:
>
> "Starting with"
> "Containing"
>
> Depending on which of the two radio buttons is selected, I want to
> programmatically add the necessary % signs to the edit box values in
> the right places before starting search process. So I need to access
> the edit box values...
>
> Any clue ?
>
> Thanks
> Salvatore