Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Execute code in all dialogs in a program  (Read 6050 times)
Rodrigo V.
Posts: 11


« 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?
Reuben B.
Four Js
Posts: 1047


« Reply #1 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

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Rodrigo V.
Posts: 11


« Reply #2 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.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines