[Progress Communities] [Progress OpenEdge ABL] Forum Post: How to handle multiple widget events at once?

  • Thread starter Thread starter jpatel7
  • Start date Start date
Status
Not open for further replies.
J

jpatel7

Guest
I have multiple widgets on the screen. For example, proc-1, proc-2, ..., proc-10. I need to write the same code for triggers of each of them.I have other 10 widgets procName-1, procName-2,...,procName-10. Now, I need to do this for each of them: ON LEAVE OF proc-1 IN FRAME f-main DO: procName-1:screen-value = getProcName(1, self:screen-value). END. Here, getProcName is a method where I am getting procName beased on proc values. Similarly, I have many sets of similar widget groups. Is there anyway I can make it generic and reduce my code? Can I make a function which contains code something like this: procName-{index}:screen-value = getProcName(index, self:screen-value).

Continue reading...
 
Status
Not open for further replies.
Back
Top