Search found 9 matches
- Tue Feb 22, 2011 11:58 pm
- Forum: General Discussion
- Topic: Manipulating Arrays
- Replies: 3
- Views: 13140
sketchy results
PS -- unless you are working with a virgin array or have a handy way to "clean it out", the COMMAND ArrayCount will yield sketchy results. For example, I learned (the hard way) that: ArrayCount>Selected_List,y will often give a different result than: Let>y=%Selected_List_count% FYI...
- Tue Feb 22, 2011 2:35 pm
- Forum: General Discussion
- Topic: Manipulating Arrays
- Replies: 3
- Views: 13140
follow-up question, thank you
Hey Marcus -- just to be clear, there is no expectation to do my heavy lifting when it comes to forming logic re: sorting/removing redundancies as I populate dynamic list boxes from arrays. I was wondering if such code existed, that's all. (Once I get it figured out, I'll contribute to the community...
- Mon Feb 21, 2011 5:01 pm
- Forum: General Discussion
- Topic: Manipulating Arrays
- Replies: 3
- Views: 13140
Manipulating Arrays
Hi -- can you do the following with arrays in MacroScheduler 12? 1) Can you assign a NULL value to an item? Or simply populate with a CRLF? Assigning "" doesn't seem to yield the desired behavior. 2) If so, will that muck up the SORT capabilities? 3) Do you have any code that will build up a ListBox...
- Wed Feb 16, 2011 3:38 pm
- Forum: General Discussion
- Topic: Text from an array to populate a list box?
- Replies: 21
- Views: 33073
- Wed Feb 16, 2011 3:10 pm
- Forum: General Discussion
- Topic: Text from an array to populate a list box?
- Replies: 21
- Views: 33073
- Wed Feb 16, 2011 2:58 pm
- Forum: General Discussion
- Topic: Text from an array to populate a list box?
- Replies: 21
- Views: 33073
Marcus -- thanks for your quick reply and invaluable tip. The ",CRLF" suffix on the GetFileList>%USERDOCUMENTS_DIR%\*.*,theList,CRLF command solved the CarriageReturn/LineFeed issue. Many thanks! And you were right, removing the loop made the code much cleaner. But I think I still need an array in s...
- Wed Feb 16, 2011 1:37 am
- Forum: General Discussion
- Topic: Text from an array to populate a list box?
- Replies: 21
- Views: 33073
inconsistent LlistBox behavior
Thanks Jerry. Your suggestions sparked some ideas, but unfortunately, after much brain-wracking, I cannot get the desired behavior which is a selectable list of file names to populate a list box. Both ListBoxes have identical property settings. Here's my code. It REQUIRES A DIRECTORY c:\anyDIR\ FILL...
- Tue Feb 15, 2011 6:57 pm
- Forum: General Discussion
- Topic: Text from an array to populate a list box?
- Replies: 21
- Views: 33073
Text from an array to populate a list box?
I've been hammering on the V12 documentation hard, trying to unravel the mystery of how to execute the following SetDialogProperty at run time. Namely: (Re: ListBox Text Property)"When assigning a list of items at run time using SetDialogProperty delimit lines with the %CRLF% variable." Can somebody...
- Tue Feb 15, 2011 3:36 pm
- Forum: General Discussion
- Topic: Multiple file select via DoBrowse property in MSButton?
- Replies: 4
- Views: 11413
Multiple file select via DoBrowse property in MSButton?
Hi, how to I alter the below DoBrowse code to enable multiple file select? Selecting one file at a time won't work for my app. I've scoured all available resources (including: http://www.mjtnet.com/OnlineHelp/index.html?dialog_objects.htm), and think I am missing something vital. Thanks in advance! ...