Listbox

Post any examples or modules that you want to share here
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Post 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 1341 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 1392 times
Last edited by Tronic on Wed May 18, 2016 12:32 am, edited 4 times in total.
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Listbox

Post 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
"There lies the dog buried" (German saying translated literally)
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Post by RJHollins »

Oh my ... did not expect this :o

Thanks TRONIC ... back later to check this out more !!!
8-)
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Post 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.
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Post by Tronic »

another small update in the preview post
Updated: added drag and drop item reorder
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Post 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.
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Listbox

Post 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.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Post 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-)
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Listbox

Post 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
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Listbox

Post 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
Post Reply