Page 1 of 1

Search someone help me

Posted: Thu Feb 13, 2025 10:06 pm
by Silvio.Falconi
Image

I would like to create something like this, that is, create the possibility of filtering information in an archive. To do a test I took customer.dbf and I put the possibility of searching for the city, the state, Married or not married, the age, and the salary

Now something works as you can see in the video only the only thing that does not work is that if I cancel a checkbox not in order the xbrowse changes the position but the controls remain and are not deleted.

In the video I tried to cancel the checkboxes according to the initial activation

the changes I need are:
the filter must be cumulative, that is, now it filters individually
when you cancel a checkbox, the procedure, in addition to changing the height of the xbrowse, must make the controls disappear so as to move the controls just below the xbrowse

I was looking for someone who was willing to help me.

Re: Search someone help me

Posted: Thu Feb 13, 2025 10:12 pm
by Antonio Linares
Dear Silvio,

It looks simply great :D

Re: Search someone help me

Posted: Thu Feb 13, 2025 10:21 pm
by Silvio.Falconi
Antonio Linares wrote: Thu Feb 13, 2025 10:12 pm Dear Silvio,

It looks simply great :D
yes but not run ok

as I explained above:

- the filter must be cumulative, that is, now it filters individually
- when you cancel a checkbox, the procedure, in addition to changing the height of the xbrowse, must make only the relative controls of the checkbox disappear in order to move the controls just below the xbrowse

for example, if are displayed

Age
city
state

and I cancel city

the procedure must change the height of the xbrowse, make the controls relative to "city" disappear and move the controls relative to "age"

Re: Search someone help me

Posted: Tue Feb 18, 2025 9:06 am
by mauri.menabue
For greater simplicity of explanation I open the same post on the forum in Italian.
Maurizio Menabue

Re: Search someone help me

Posted: Tue Feb 18, 2025 1:38 pm
by MMK
Image

Re: Search someone help me

Posted: Tue Feb 18, 2025 6:00 pm
by Silvio.Falconi
MMK wrote: Tue Feb 18, 2025 1:38 pm Image
This is not what I want to do, it's nice but only the programmer can understand it, instead the example I made to put under the fields and and select the information is useful and functional

I already have a class (Tfilter created by me many years ago) to make filters using logical operators. You can find it in the utilities folders of fwh. But unfortunately it is not functional in the sense that only programmers understand it, ordinary people who have to use the application do not understand it