By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,417 Members | 1,856 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,417 IT Pros & Developers. It's quick & easy.

TreeView: Sort Sequence = Load Sequence?

P: n/a
I'm loading a TreeView control from a recordset that's sequenced by a date.

When I step through the code, I *think* I'm seeing the nodes created in the
expected sequence.

Problem is, when the tree is viewed, the dates are not in that sequence.
Instead, the tree appears to be sequenced alphabetically by the highest level
node names.

In the TreeCtrl.Properties, I see a checkbox labeled "Sorted" and have unchecked
it; but the problem persists and I think I'm starting to doubt my own sanity.

How about it? Is it possible for the TreeView control to present itself with
high-level nodes arranged is a sequence other than the order in which they were
Sep 6 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Per (PeteCresswell):
>How about it? Is it possible....
Got it: yet another bone-headed VBA coding error by Yours Truly.

I was setting the control's .Sorted=True inline in the VBA code - overriding my
change to the control via the UI.

Thanks again to Doug Steele, Microsoft Access MVP
Sep 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.