Page 2 of 3

Re: Listbox

Posted: Tue May 17, 2016 6:28 pm
by Tronic
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 1342 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 1265 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 1393 times

Re: Listbox

Posted: Tue May 17, 2016 6:37 pm
by tulamide
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

Re: Listbox

Posted: Tue May 17, 2016 6:42 pm
by RJHollins
Oh my ... did not expect this :o

Thanks TRONIC ... back later to check this out more !!!
8-)

Re: Listbox

Posted: Tue May 17, 2016 7:06 pm
by Tronic
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.

Re: Listbox

Posted: Tue May 17, 2016 10:02 pm
by Tronic
another small update in the preview post
Updated: added drag and drop item reorder

Re: Listbox

Posted: Tue May 17, 2016 10:44 pm
by RJHollins
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.

Re: Listbox

Posted: Wed May 18, 2016 12:28 am
by Tronic
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.

Re: Listbox

Posted: Wed May 18, 2016 2:08 am
by RJHollins
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-)

Re: Listbox

Posted: Wed May 18, 2016 3:09 am
by RJHollins
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

Re: Listbox

Posted: Wed May 18, 2016 8:04 am
by Spogg
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