Welcome to %s forums

BrainModular Users Forum

Login Register

sdk module Tabs refresh, tab id info

Tell us what you'd like Usine to do
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 15 Oct 2016, 18:36

In some cases params on tabs don't always refresh reflecting pointers when their value changed

for ex i make a bool swich setting 'apply color corect' that i dlike virtally acts as a button, if pressed trigging a colors changes of a set of displayed colors in tab then goes back to 0.

in onsettinghaschange i set back this switch pointer to false so act as a button, trigg the color correct code and that works,

but visually the tab doesn't reflect color changed or not always the swich status that went to false. have to go to another tab and come back to tab to see change.

not big deal, just in case a not too complex way to force a refresh of params in tabs from code would be possible could be nice.

thougt a tab id or tag info eventually could be cool too :p and per tab presets would be insane but think already spoke about that^^

User avatar
senso
Site Admin
Posts: 4425
Location: France
Contact:

Unread post by senso » 09 Nov 2016, 21:52

I'll check that but the best way is to ask for a repaint after the modification.
The settings panel do not verify that value have changed (it takes a too long time).
So you have to repaint it manually.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 10 Nov 2016, 17:05

yes i already use manual repaint on module sometimes, but this is only possible for 'real' parameters out of module calling id , think yes best would be to be able to manually request a same kind of repaint for the params located in a tab, i suppose calling by it's name

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests