trichview.com

trichview.support




Re: Method for enumerating all items


Return to index


Author

Message

Martin Holmes

Posted: 08/12/2004 2:58:39


Looks good! What version (stable, preferably) would I need for this? I'm

using 1.8.1 at the moment.


Cheers,

Martin



Sergey Tkachenko wrote:

> Create a form method with the following parameters:

>

> TRVEnumItemsProc = procedure (RVData: TCustomRVData; ItemNo: Integer;

>     var UserData1: Integer; const UserData2: String;

>     var ContinueEnum: Boolean) of object;

>

> Then call

>

> rv.RVData.EnumItems(<your method>, UserData1, UserData2);

>

> Your method will be called for each item (RVData, ItemNo)

> UserData1, UserData2 - any values, will be passed in your method.

> You can stop enumeration by assigning ContinueEnum = False.

>

>

>

>>Hi Sergey,

>>

>>On June 10, you posted this:

>>

>> >PS: new version will have a method for items enumeration.

>>

>> >But this method will enumerate all items starting from the very first

>>one

>> >and editing to the very last one (or until your enumeration procedure

>> >returns False)...

>>

>> >I hope I'll upload update tomorrow.

>>

>>Has this method been added? I can't find any more references to it. It

>>would be really handy.

>>

>>Cheers,

>>Martin

>

>

>





Powered by ABC Amber Outlook Express Converter