Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Listbox

Post any examples or modules that you want to share here

Re: Listbox

Postby Tronic » Tue May 17, 2016 6:28 pm

Use:
Modded for RJHollins user case
now support this feature


listbox(tulamide)(tronic_mod).fsm
Updated: added better external item selector - now switch and respect the items in view range
(3.8 KiB) Downloaded 1260 times

CTRL+Mouse Left Click to
Select or Unselect Multi Item,
SHIFT+Mouse Left Click to
Select Multi item in range,
can work in mixed mode.

use the arrow key
to push the selected item to the output array,
and after it remove the item from the list.

It receive new item from the input array
"add_items", to the current list.

Updated: added better external item selector,
now switch and respect the items in view range

Updated: added drag and drop item reorder

Bugfix: reorder item safe guard
Update: added separate output for current list
Fix: style formatting


listbox(tulamide)(tronic_mod)_r2.fsm
Updated: added drag and drop item reorder
(3.96 KiB) Downloaded 1188 times


listbox(tulamide)(tronic_mod)_r3.fsm
Bugfix: reorder item safe guard
Update: added separate output for current list
Fix: style formatting
(4.13 KiB) Downloaded 1310 times
Last edited by Tronic on Wed May 18, 2016 12:32 am, edited 4 times in total.
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Postby tulamide » Tue May 17, 2016 6:37 pm

Tronic wrote:Use:
Modded for RJHollins user case
now support this feature


listbox(tulamide)(tronic_mod).fsm

CTRL+Mouse Left Click to
Select or Unselect Multi Item,
SHIFT+Mouse Left Click to
Select Multi item in range,
can work in mixed mode.

use the arrow key
to push the selected item to the output array,
and after it remove the item from the list.

It receive new item from the input array
"add_iems", to the current list.

Well, done! And sorry, Mr notMe xD
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Listbox

Postby RJHollins » Tue May 17, 2016 6:42 pm

Oh my ... did not expect this :o

Thanks TRONIC ... back later to check this out more !!!
8-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Postby Tronic » Tue May 17, 2016 7:06 pm

little update in the previous post, I hope it now works well:
added better external item selector,
now switch and respect the items in view range.
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Postby Tronic » Tue May 17, 2016 10:02 pm

another small update in the preview post
Updated: added drag and drop item reorder
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Postby RJHollins » Tue May 17, 2016 10:44 pm

Got to do a fast check ... man this is such a cool feature.

Did hit a RUBY error ... something to do with 'too small value ... need to be zero. Will investigate more.
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Postby Tronic » Wed May 18, 2016 12:28 am

RJHollins wrote:Got to do a fast check ... man this is such a cool feature.

Did hit a RUBY error ... something to do with 'too small value ... need to be zero. Will investigate more.


Fixed in last update r3
and added an output for the current updated list.
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Postby RJHollins » Wed May 18, 2016 2:08 am

Cool ... was just coming back to ask about the updated list part.

I need to save the final list to disk [already have that part].

Going to check r-3.

Gonna say again ... what a useful GUI function. Thanks TRONIC for designing this.

of to test ...

8-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Postby RJHollins » Wed May 18, 2016 3:09 am

so far ... Real Good !

The updated output list [an important feature] looks to be working just fine.

I'm going to tie this in to a SAVE/LOAD routine, so that this 'update list' can be maintained for use with this special utility I'd like.

In function ... I'm a beta-tester, and we get .DLL update files. Manually, we have to make copies of this .DLL and COPY/RE-NAME them into 40+ different filenames [using the original DLL as the source].

After a few hundred times doing this, its not as much fun. :roll:

With the generous help from FS members here, this is a nice/useful utility, and be a real time saver.

For the respected GURU's here ... this little utility would be a piece of cake. Me, on the other hand, rassle ever bit of the way. It helps me RELAX :evil: :twisted: :evil: :twisted: :|

I'm getting better now :lol:

The dual list-box, with list control is really the icing on the cake.

With almost all the basic functioning in place, I'm starting to think of the general GUI layout. This will be one of the first EXE FStone project for me. [most everything else has been VST stuff].

ok ... back to work here ... will post back.

thank-you
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Postby Spogg » Wed May 18, 2016 8:04 am

Very nice Tronic!

Are there any plans to add preset support? I realise the available list contents are set at edit time but it might be nice to be able to save the selection state in presets.

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

PreviousNext

Return to User Examples

Who is online

Users browsing this forum: No registered users and 10 guests