budgie
2007-08-17 05:28:27 UTC
I knew I'd seen it somewhere, but could never find it - until now, doing a
browse of the VBDOS Programmer's Guide.
From the top of p41:
"Event procedures are SUB procedures found in form modules that are executed
when a user action or system event occurs. You can also explicitly call an
event procedure by using the CALL statement."
The capability in that last line has always escaped me. I have tried a variety
of CALL constructions without any joy, invariably attracting a "syntax error"
message.
So were the MS documenting committe on something when they wrote that, or can it
be done? If anyone can provide me with a working CALL construct to invoke say a
SUB cmdOK_Click () I'd appreciate it.
browse of the VBDOS Programmer's Guide.
From the top of p41:
"Event procedures are SUB procedures found in form modules that are executed
when a user action or system event occurs. You can also explicitly call an
event procedure by using the CALL statement."
The capability in that last line has always escaped me. I have tried a variety
of CALL constructions without any joy, invariably attracting a "syntax error"
message.
So were the MS documenting committe on something when they wrote that, or can it
be done? If anyone can provide me with a working CALL construct to invoke say a
SUB cmdOK_Click () I'd appreciate it.