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 03 JAN 2001 10:39:33AM LB wrote:

I need to know how is the format of a function that is called in the Default Property and what is the way to call it.


At 03 JAN 2001 04:55PM Donald Bakke wrote:

LB,

I assume you are trying to create a function that will return a value to be used as the default information for a control.

Just enter the function name and any parameter in the Default field of the control's Property window like this:

FunctionName(Param1, Param2, etc.)

Note that I am not specifing a return value therefore the above is entered like an embedded function, which looks like a subroutine syntax. Typically we create a single function for one window. We set the first parameter to be the name of the control so we can branch within the function itself (like a commuter module).

The function itself is structured like any normal function. Whatever you return as a value will be used by the control as the default value.

[email protected]

SRP Computer Solutions, Inc.

View this thread on the forum...

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