Auto-Select all row`s in a browse

storzi

Member
Hi,

I want to Auto-Select all row`s in a Freeform-Browse when I click on an Button.
I use 9.1D.

Thanks.
Storzi
 
?????

UR request is totaly ambuguous. How can you select all records in a browse???? You can only have a single record in the current record buffer, only 1 record can be current.
Do you mean that you wish to HIGHLIGHT the records in the browse, this would give the impression that the user has selected the records, which is something different than you asked advice for. Also you failed to identify the environment, eg GUI / CHAR
Regards
 
storzi said:
Hi,

I want to Auto-Select all row`s in a Freeform-Browse when I click on an Button.
I use 9.1D.

Thanks.
Storzi
Something like...

[on choose of button...]

DEF VAR i AS INTEGER NO-UNDO.

DO i = 1 TO 10:

brMyBrowse:SELECT-ROW(i).

END.

In your case i would be all the rows in the browse.

Here's a knowledgebase entry which shows you how to do it properly (?). It looks over-complicated to me, but I haven't done it before, so I won't argue.


KB 18663
Title: "How To Select All Rows In A Browse Widget?"

http://tinyurl.com/lwrn5

Lee
 
Sry.
I work with GUI.
I don`t want to select more than one row to the record buffer.
As you say I want to highlight them all.
But when you say, that this means "highlight", I ask myself why there is the Browse-attribute "Multiple-Selection"!!!???
:-P
In your opinion this attribute have to label with "Multiple-Highlight"!
:-)

BTW:
The Browse-Method Select-All() is what I am looking for.

And excuse my bad english.
 
Back
Top