Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 06 SEP 2001 03:09:03PM temponeal wrote:

Hello eveyone:

For certain controls I am calling the following as a script on the LOSTFOCUS event:

return Function(Do_event(CtrlentId,'LOSTFOCUS',Flag,FocusId))

… which passes control to a program called Do_event.

Is there a way from this same script to pass additional parameters into Do_event as well?

Thanks much,

Mike O.


At 06 SEP 2001 05:14PM Oystein Reigem wrote:

Mike,

Now are you sure about the use of that Function function?

BRFHELP says:

The Function syntax allows a function to be called whose name is indeterminate at compile time.

Syntax: RetVal=Function (@Name (parameter, …))

Name - A variable containing the name of the function to call.

parameter - Any number of parameters can be passed to the function specified by Name.

- Oystein -


At 06 SEP 2001 05:36PM B Stevens wrote:

Do_event is your own SSP so you can pass as many parameters as you like.

Barry


At 07 SEP 2001 11:08AM temponeal wrote:

Hi Barry:

That was basically my question, I knew it was possible, just wasn't sure how… got it though!

Thanks much,

Mike


At 07 SEP 2001 11:12AM temponeal wrote:

Hello Oystein:

Just checked the same help file, looks like you're correct. On the other hand, I've figured out how to pass parameters using what I had previously posted and it seems to work fine, so… onto the next issue, I'm not looking back!

Thanks much,

Mike

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/570ae3a0ac87a7a885256abf0069333f.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1