Hi All,
I would like to use the same custom dialog (keypad) through out the entire project.
This keypad BCE file should be initiated by events (attached to buttons on CimView screens) listed int the Event Editor.
For testing, I've created two files. The "called" keypad BCE file contains variable public definitions, Begin Dialog ... End Dialog, Declare Sub Keypad Lib "Keypad" (ByVal Arg1$), Function DialogControl...End Function, Sub Keypad...End Sub chunks of code. The "calling" BCE script contains variable public definitions, Sub Main() ... Keypad Arg1$ ... End Sub.
This works fine if both files are opened in the BCE editor. If "called" custom dialog file is closed, "calling" script generates error ("Error 35; Sub or function not defined") on the line where custom dialog is called.
Has somebody had more success when calling external BCE subroutines?
Regards,
zif
I would like to use the same custom dialog (keypad) through out the entire project.
This keypad BCE file should be initiated by events (attached to buttons on CimView screens) listed int the Event Editor.
For testing, I've created two files. The "called" keypad BCE file contains variable public definitions, Begin Dialog ... End Dialog, Declare Sub Keypad Lib "Keypad" (ByVal Arg1$), Function DialogControl...End Function, Sub Keypad...End Sub chunks of code. The "calling" BCE script contains variable public definitions, Sub Main() ... Keypad Arg1$ ... End Sub.
This works fine if both files are opened in the BCE editor. If "called" custom dialog file is closed, "calling" script generates error ("Error 35; Sub or function not defined") on the line where custom dialog is called.
Has somebody had more success when calling external BCE subroutines?
Regards,
zif