Discussion:
Feature Request: add a "Clear" button to the Search Bar
(too old to reply)
l***@googlemail.com
2013-01-17 08:57:43 UTC
Permalink
Hi everyone,

finally found this group (maybe someone can put a link on the xananews techtips web site?) and hopefully someone skilled in Delphi might pick this up for a future version.

I use the search bar a lot to filter the message list directly and would like to see a "Clear" button next to the "Go" button, so in order to et back to the full messages list I do not have to

1. select the search bar text field (Mouseclick)
2. mark the whole contents (Ctrl-A)
3. delete the contents (DEL)
4. hit the "Go" button again

Too complicated (or did I miss an easier way?)! A single click on a button should be enough...

Cheers, Lothar
Dave
2013-01-17 16:53:08 UTC
Permalink
Post by l***@googlemail.com
1. select the search bar text field (Mouseclick)
2. mark the whole contents (Ctrl-A)
3. delete the contents (DEL)
4. hit the "Go" button again
not the answer you're looking for but;
- right_click [in the text area]
- select_all [from the menu]
- Go
works. It's not as fast as a button but ...

GL
Dave
2013-01-17 16:56:21 UTC
Permalink
Post by l***@googlemail.com
1. select the search bar text field (Mouseclick)
2. mark the whole contents (Ctrl-A)
3. delete the contents (DEL)
4. hit the "Go" button again
actually ... in trying it out;
- right_click is auto selecting the text
- select delete from the menu
- Go
... still three steps but prett fluid.
l***@googlemail.com
2013-01-18 08:57:12 UTC
Permalink
Post by Dave
- right_click is auto selecting the text
- select delete from the menu
- Go
... still three steps but prett fluid.
Definitely a step ahead, never tried a direct right-click.. Thanks Dave!

Anyway, if someone skilled ever feels bored enough, I'd still prefer the "Clear" button...

Btw. there seems a cute bug with the search bar, too:

- display only tool and search bar (not batch bar) side by side below the menu bar, search bar on the right
- resize the window continuously on any edge (i.e, grab the window border with the mouse and move it back and forth)

now the search bar starts slowly moving to the right and finally almost completely disappears...
Q Correll
2013-01-18 17:37:45 UTC
Permalink
lothar,

| Anyway, if someone skilled ever feels bored enough, I'd still prefer
| the "Clear" button...

I'm trying to work on it. However, my XN development environment has
developed an issue I must first resolve.

(Hey Pieter! Did you get my e-mail?)
--
Q

01/18/2013 09:33:10

1.19.1.372 [Q'sBrokenToolBar] [Running on TQ]
Q Correll
2013-01-18 17:37:47 UTC
Permalink
lothar,

| now the search bar starts slowly moving to the right and finally
| almost completely disappears...

That's an issue with how the SearchBar "resizes" items when the form
size changes.

As the doctor said when the patient said "It hurts when I do this.":
Then don't do that. <g>
--
Q

01/18/2013 09:35:09

1.19.1.372 [Q'sBrokenToolBar] [Running on TQ]
l***@googlemail.com
2013-01-27 20:43:54 UTC
Permalink
Post by Q Correll
Then don't do that. <g>
:-)

Loading...