General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › XFT ListBox sort property setting in XMetaL Developer 7
-
stephen.perkins July 9, 2014 at 10:09 pm
XFT ListBox sort property setting in XMetaL Developer 7
July 9, 2014 at 10:09 pmParticipants 1Replies 2Last Activity 8 years, 6 months agoI have a form which loads items from a text file on the users computer into a listbox on an xft form. The list is presorted and I'm having difficulty getting the listbox (ListBox1) to respect the sort, which I should be able to do by setting ListBox1.Sort = 0 I believe. Is it restricted to be set in the OnInitialize event? Anywhere I try the form fails to populate the listbox.
Form and sample text list attached. The text list is expected to reside in C:DOCSAuthRecList.
Thanks in advance for any tips.
Derek Read July 10, 2014 at 12:15 am
Reply to: XFT ListBox sort property setting in XMetaL Developer 7
July 10, 2014 at 12:15 amThe sort property for ListBox1 in the XFT is set to “1 – yes” in the properties for that control. When I set it to “0 – no” the items in that listbox aren't sorted (as you expect I think).
I'm testing with XMetaL Author Enterprise 9.0.0.047 (current release).
If you still can't get it working please let us know your version number from Help > About and the product you are using (XMAX, XMetaL Author Enterprise or XMetaL Author Essential). Perhaps there is an issue with your specific release.
stephen.perkins July 10, 2014 at 3:47 pm
Reply to: XFT ListBox sort property setting in XMetaL Developer 7
July 10, 2014 at 3:47 pmWell that's humbling. My XMDeveloper cleats have been gathering dust a couple years and I forgot completely to look at the control properties form (red face). Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.