Tuesday, May 13, 2008
Tip of the Day: Selecting All Items in ListBox/ListView Controls
Section: Form Designer (Variable Lookup ListBox and ListView)
Supported Versions: http://www.RTimeMachine.com
. R:BASE 7.6 for Windows (Build: 7.6.3.30516 or higher)
. R:BASE C/S:I 7.6 for Windows (Build: 7.6.3.305016or higher)
. R:BASE Turbo V-8 for Windows (Build: 8.0.17.30516 or higher)
Did you know that you can use [Ctrl+A] or [Shift+F6] keys to
toggle between select/un-select all items in Variable Lookup
ListBox or Variable Lookup ListView controls?
Here's how to "Select All Items" in Variable Lookup ListBox
and Variable Lookup ListView controls.
01. Start R:BASE 7.6 (Build: 7.6.3.30516) or R:BASE Turbo V-8
for Windows (Build: 8.0.17.30516).
02. Connect dbmame
03. Open the form with Variable Lookup ListBox or Variable
Lookup ListView Controls, in form designer.
04. Make sure that associated variable data type is capable
of accepting multi-select List Source Key Field items.
05. Make sure to enable the MultiSelect option for Variable
Lookup ListBox or ListView Control.
06. Save the form.
07. Run the form.
08. Use [Ctrl+A] or [Shift+F6] to toggle between Select and
Un-Select All items.
Use [Ctrl+Click] to select multiple items
Use [Shift+Click] to select an highlighted group of items
09. You may also use the following PROPERTY commands to
dynamically select all items, if you wish.
-- For Variable Look ListBox Control
PROPERTY <VarLookupListBoxCompID> MULTISELECT 'TRUE'
PROPERTY <VarLookupListBoxCompID> SELECT_ALL 'TRUE'
RETURN
-- For Variable Look ListView Control
PROPERTY <VarLookupListViewCompID> MULTISELECT 'TRUE'
PROPERTY <VarLookupListViewCompID> SELECT_ALL 'TRUE'
RETURN
That's all there is to it!
Enjoy and make sure to have fun!
Very Best R:egards,
Razzak.
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================