> ----- Original Message ----- 
> From: <[EMAIL PROTECTED]>
> To: "RBASE-L Mailing List" <[email protected]>
> Sent: Tuesday, May 13, 2008 9:52 AM
> Subject: [RBASE-L] - Re: Property commands to select all in listbox?
>
>
>> Mike:
>>
>> Got it.  So a list box needs to be loaded with items via a listitemsadd
>> property or a load from file in order for shift-clicking to be enabled. 
>> Something
>> to remember, except I'm never in favor of things that work one-way sometimes
>
Karen,

In case you missed this, the link for the updates that address ALL your Listbox 
issues ("He was listening"), here is a repeat of Razzaks posting this morning:

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.


Reply via email to