View Single Post
  #5  
Old 10-03-2005, 04:44 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hiding and showing is recommended since then the controls will also be resized correctly when you resize the window. You can add controls to other window or controls by calling newparent.addcontrol(control).
sortmode and sortorder don't exist in Torque.

sortmode: either "" (none), "value", "name" or "extension". "value" sorts after the row.sortvalue, "name" sorts after row.name, "extension" after getextension(row.name). If you call textlistcontrol.sort() without setting a sortmode before, then it is using "name".

sortorder: either "ascending" or "descending"
Reply With Quote