1. Jeff Martin
  2. PowerBuilder
  3. Thursday, 25 May 2023 18:38 PM UTC

If I have a window with a windows function "wf_test()" is it possible to call that function by string. ie: this.TriggerEvent("wf_test")

Accepted Answer
mike S Accepted Answer Pending Moderation
  1. Thursday, 25 May 2023 19:30 PM UTC
  2. PowerBuilder
  3. # Permalink

just make it an event

Comment
  1. Roland Smith
  2. Thursday, 25 May 2023 19:38 PM UTC
Or add an event that calls the existing function. That way you can call it both ways.
  1. Helpful 5
  1. Jeff Martin
  2. Friday, 26 May 2023 11:22 AM UTC
Heh, greate suggestions guys. Seems obvious now that you say it :-). Thanks.
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.