I'm referring here to code such as this:
which is inserted into the WM_COMMAND messages for controls by PBForms and is in the sample code. I understand that it's to avoid responding at the wrong time.
I don't understand why that happens and just when I do and don't have to check for it and just what I have to check for in which situations.
I left that out before PB9 because I didn't know when to put it in and it didn't seem to matter, but I read somewhere, and I can't remember where, or find it now, that those checks have become necessary with PB9 so I want to start using them, only I really don't know what to check for when or why. I don't know the principles involved. I haven't found anything in the help about it. Maybe I just don't know where to look.
Any explanations or any pointers to discussions or text about this would be very much appreciated.
By the way, I'm really enjoying PB9. This is nice.
Thanks,
Barry
Code:
IF CBCTLMSG = %BN_CLICKED OR CBCTLMSG = 1 THEN
I don't understand why that happens and just when I do and don't have to check for it and just what I have to check for in which situations.
I left that out before PB9 because I didn't know when to put it in and it didn't seem to matter, but I read somewhere, and I can't remember where, or find it now, that those checks have become necessary with PB9 so I want to start using them, only I really don't know what to check for when or why. I don't know the principles involved. I haven't found anything in the help about it. Maybe I just don't know where to look.
Any explanations or any pointers to discussions or text about this would be very much appreciated.
By the way, I'm really enjoying PB9. This is nice.

Thanks,
Barry
Comment