Hello,
I think I might be overlooking something simple, but how do I call a FireFly generated function (e.g., FRMSEARCH_CMDDELETE_BN_SAVE)?
Thanks!
John
Quote from: jptchiHello,
I think I might be overlooking something simple, but how do I call a FireFly generated function (e.g., FRMSEARCH_CMDDELETE_BN_SAVE)?
That doesn't look like a FireFly generated function. Maybe you mean: FRMSEARCH_CMDDELETE_BN_CLICKED
I assume that you are trying to simulate the pressing of your cmdDelete command button. If that is true, then you would need to either use a SendMessage or PostMessage command to the button. You could also call the function directly if you prefer that method:
SendMessage HWND_FRMSEARCH, %WM_COMMAND, MakDwd(IDC_FRMSEARCH_CMDDELETE, %BN_CLICKED), HWND_FRMSEARCH_CMDDELETE
or
Call FRMSEARCH_CMDDELETE_BN_CLICKED ( 0, HWND_FRMSEARCH, HWND_FRMSEARCH_CMDDELETE, IDC_FRMSEARCH_CMDDELETE)
Thanks Paul!
That's exactly what I was looking for.
-John