realbasic-nug
[Top] [All Lists]

Re: question about listbox headers

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: question about listbox headers
From: Terry Ford <tmford at shaw dot ca>
Date: Wed, 31 Aug 2005 13:03:54 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <001a01c5ad92$95ec02b0$690aa8c0 at buildmanager> <B47D287F-D75D-455F-9778-7B7C2D451C8F at shaw dot ca> <002e01c5ae2e$d55763d0$690aa8c0 at buildmanager>

On 31-Aug-05, at 6:21 AM, Cameron McCormick wrote:

The app is an email program, the views are the different folders such as inbox, sent, drafts etc. I want to be able to store the sort state and reset it when they click back on a view they have already sorted... I hope this
clears things up.

A few loose ends.

Basically you need to do what Charles already mentioned. That is to save the state of the last sort action for the last view for each view option of the folder in question. There are properties of the listbox such as Column sort direction that you can read and save. When you return to that view, you can re-sort the list based on that sorting information.

HTH,

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>