viewpoint-particle

Author Topic: Droplistbox Searching  (Read 2826 times)

Jeremy Whilde

  • Newbie
  • *
  • Posts: 46
Droplistbox Searching
« on: April 16, 2015, 10:25:18 am »
Are there any options with a drop list control? to control searching cannot find any information in the help files, for instance if you have a list of items then by default it will search on the first letter, but are there any other options or ways to narrow a search by typing further letters?

Thanks JW

JTaylor

  • Pundit
  • *****
  • Posts: 786
    • Data & Stuff Inc.
Re: Droplistbox Searching
« Reply #1 on: April 16, 2015, 11:53:58 am »
As long as you don't pause too long it should accept more than the first letter.

Jim

JTaylor

  • Pundit
  • *****
  • Posts: 786
    • Data & Stuff Inc.
Re: Droplistbox Searching
« Reply #2 on: April 16, 2015, 12:00:28 pm »
You do have to have it set to ListOnly Style.

Jim

Jeremy Whilde

  • Newbie
  • *
  • Posts: 46
Re: Droplistbox Searching
« Reply #3 on: April 16, 2015, 01:26:59 pm »
Which property is list only ?

Thanks JW

JTaylor

  • Pundit
  • *****
  • Posts: 786
    • Data & Stuff Inc.
Re: Droplistbox Searching
« Reply #4 on: April 16, 2015, 01:33:11 pm »
The one that is labeled "List Only", under the Style options in the Dialog Editor.

In the Help file under the DropListBox Control index item it is listed as

@csListOnly or #4


Jim

td

  • Tech Support
  • *****
  • Posts: 2185
    • WinBatch
Re: Droplistbox Searching
« Reply #5 on: April 16, 2015, 01:35:27 pm »
Use the DROPLISTBOX's List Only control style (@csListOnly).  You can set in your template from the Dialog Editor by double clicking the control and selection the 'Style' tab. 

However, the search behavior is still not particularly user friendly.  If you have a large number of items that you require a user to make a selection from,  I would come up with a different user interface design.
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates


Jeremy Whilde

  • Newbie
  • *
  • Posts: 46
Re: Droplistbox Searching
« Reply #6 on: April 17, 2015, 01:04:48 am »
Use the DROPLISTBOX's List Only control style (@csListOnly).  You can set in your template from the Dialog Editor by double clicking the control and selection the 'Style' tab. 

However, the search behavior is still not particularly user friendly.  If you have a large number of items that you require a user to make a selection from,  I would come up with a different user interface design.

OK we have for this particular requirement a list of 300 ish items, listed alphabetically in batches and in each of the batches are sub categories or types. Users are trying to home in on a single list item which is then selected for use. The dialog or window containing the dropdown list is a pop up when a phone call arrives at the users telephone, so as we do not want to obscure or takeover the users primary working screen, we initially pop a small quarter total screen height window. On the window or dialog is the dropdown list and three buttons one of the buttons is an expand/shrink button, which makes the dialog window half total screen height or back to a quarter total screen height. The idea being if the list category is large say having 50+ items outnmof the total list then you hit the expand and we expand the dropdown size to the new larger dialog so more items are visable/scrollable. If you have a better or more efficient idea we would welcome any suggestions or refinements on our idea.

Thanks JW

JTaylor

  • Pundit
  • *****
  • Posts: 786
    • Data & Stuff Inc.
Re: Droplistbox Searching
« Reply #7 on: April 17, 2015, 05:58:04 am »
What I sometimes do is use an itemlistbox and place an editbox at the top of it as a filter.  As a person types in the editbox it narrows down the list in the itemlistbox.  I use a timer event to initiate the filtering and set it when someone types in the editbox, as it resets each time a character is typed.  I normally set it for about 1/2 a second.  After the filtering occurs I turn it off until they type in the box again.

Jim

td

  • Tech Support
  • *****
  • Posts: 2185
    • WinBatch
Re: Droplistbox Searching
« Reply #8 on: April 17, 2015, 01:26:44 pm »
OK we have for this particular requirement a list of 300 ish items, listed alphabetically in batches and in each of the batches are sub categories or types. Users are trying to home in on a single list item which is then selected for use. The dialog or window containing the dropdown list is a pop up when a phone call arrives at the users telephone, so as we do not want to obscure or takeover the users primary working screen, we initially pop a small quarter total screen height window. On the window or dialog is the dropdown list and three buttons one of the buttons is an expand/shrink button, which makes the dialog window half total screen height or back to a quarter total screen height. The idea being if the list category is large say having 50+ items outnmof the total list then you hit the expand and we expand the dropdown size to the new larger dialog so more items are visable/scrollable. If you have a better or more efficient idea we would welcome any suggestions or refinements on our idea.


If I were to design the interface I would first put together a list of questions about the data, the users and relationship between the two.  For example, how often does the data change, what is the nature of the relationship between categories and subcategories, or how well will the user understand the meaning of the data?  Once I had the questions and the answers, I would put together some use-case scenarios to determine likely work flows and how to handle exceptions to any design assumptions.  Of course, designing is an iterative process because mere mortals seldom get it right the first try.

This may sound like a lot of effort but it usually isn't.  Thinking through a problem can usually proceeds quickly with a little practice and in the long run save a lot of time.
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates