Arrange text in multiple columns in dialog's listbox

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
m.p.
Newbie
Posts: 1
Joined: Wed Oct 24, 2007 10:35 am

Arrange text in multiple columns in dialog's listbox

Post by m.p. » Wed Oct 24, 2007 11:18 am

Hi,

is it possible to arrange datas in the listbox provided by Macro Scheduler's dialog editor in columns?

E.g.:

Code: Select all

1  John      Doe    London
2  Jennifer  Smith  Greenwich
Regards,
Martin

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Oct 24, 2007 1:12 pm

I'm not sure I understand what you're looking for. You could put tabs in the line of text similar to the sample text you posted. That way the info in the lines of data would appear columnar. On the other hand, if you're looking for an Excel like interface where the data is in neatly arranged cells so that you have distinct rows and columns, then there is no dialog object that can provide that.

I did come up with an idea for creating a matrix on a dialog that you can view here. The sample uses a bitmap image but the same effect could be accomplished using dialog label objects. The labels could be arranged in neat columns and rows in a dialog. The user could select info by picking on a label. Labels can even be updated dynamically so that, for example, the script could be written to cycle through a long list when the user presses page up or page down.

Hmmm... This gives me an idea for another sample script....

Another idea would be to use a matrix of buttons similar to Marcus' date picker script here.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts