>>
** hover mouse cursor over the button then
>>ox = SYS(1270)
>>ox.WriteMethod("Click","thisform.Release()")
>
>I tried this:
>zForm.cmd1.writemethod=("click","release thisform")
>
>but that got me the error "function name is missing"
I'm not clear that you are trying this at design time, so I'll repeat - this is a design-time only feature.
note: In the example code I gave you,
ox
is an object reference to the button on a form in the form (or class) designer.
Insanity: Doing the same thing over and over and expecting different results.