Author Topic: How to list all the filters available  (Read 135 times)

henrikes

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
How to list all the filters available
« on: December 23, 2019, 01:02:33 PM »
Hi Guys,

I hope you guys can help me out, im trying to figure out how to list all the filters i have but i havent managed to do so....

Any help will be appreciated. :)

jedione

  • Hero Member
  • *****
  • Posts: 854
  • punktoe
    • View Profile
Re: How to list all the filters available
« Reply #1 on: December 23, 2019, 02:48:28 PM »

here you are....

local fillter1 = fe.add_text( "[FilterName]", flx*0.100, fly*0.100, flw*0.100, flh*0.100 );

local fillter2 = fe.add_text("[FilterName]", flx*0.100, fly*0.200, flw*0.100, flh*0.100 )
fillter2.filter_offset = -1

local fillter3 = fe.add_text("[FilterName]", flx*0.100, fly*0.300, flw*0.100, flh*0.100 )
fillter3.filter_offset = -2
help a friend....

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1032
    • View Profile
Re: How to list all the filters available
« Reply #2 on: December 23, 2019, 07:13:40 PM »
You might want to find the length of the filter array and then dynamically create your objects with a loop.

More details would help us help you better.

henrikes

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: How to list all the filters available
« Reply #3 on: December 24, 2019, 01:53:21 AM »

here you are....

local fillter1 = fe.add_text( "[FilterName]", flx*0.100, fly*0.100, flw*0.100, flh*0.100 );

local fillter2 = fe.add_text("[FilterName]", flx*0.100, fly*0.200, flw*0.100, flh*0.100 )
fillter2.filter_offset = -1

local fillter3 = fe.add_text("[FilterName]", flx*0.100, fly*0.300, flw*0.100, flh*0.100 )
fillter3.filter_offset = -2

Thank you so much :)

You might want to find the length of the filter array and then dynamically create your objects with a loop.

More details would help us help you better.

That is a good idea, i just need to figure out how to do that.

The goal is to have the list of available filters present at all time.