Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Rodrigo V. on June 11, 2020, 10:04:30 am



Title: Execute code in all dialogs in a program
Post by: Rodrigo V. on June 11, 2020, 10:04:30 am
I remeber to read something about a functionallity that enables to execute some code in each dialog in a program without write it in each one... I was looking for it on doc but I can't find it. does this functionality exist?


Title: Re: Execute code in all dialogs in a program
Post by: Reuben B. on June 12, 2020, 12:29:21 am
Hi Rodrigo,

You might be thinking of this article I wrote https://4js.com/ask-reuben/ig-19/ which detailed a technique I used involving pre-processor to add ON ACTION's to every dialog.

or perhaps you might be thinking of dynamic dialogs  http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_dynamic_dialogs.html which can be used to write generic/library code.

Reuben


Title: Re: Execute code in all dialogs in a program
Post by: Rodrigo V. on June 12, 2020, 01:02:59 pm
Hi Reuben, Thanks! it's just this what I'm looking for, I read it on IG and I was looking it on documentation! thanks a lot.