Hello,
I am getting wrong results when using this code:
Call SendMessage(HWND_REPORTE_EGRID321, %EG_SETEDITLOCK, %TRUE, 0)
This command is supossed to lock the Grid so the contents cannot be modified at user level,
but the grid stays open for edition.
I tried the following code in a non-firefly example and it works as expected:
CALL SendMessage(HGRID1, %EG_SETEDITLOCK, %TRUE, 0)
Maybe the command is intercepted and discarded somehow?
Quote from: Elias Montoya on February 16, 2010, 11:23:15 PM
Maybe the command is intercepted and discarded somehow?
Nope. FireFly does not intercept SendMessage calls to controls. Must be something else.
Elias,
I've tried a quick example and it is working.
If you want I can send the project and exe, but it is really just a form with EGRID and the sendmessage in the WM_create of the form.
Are you sure the Sendmessage is in a function being called?
Is the HWND to the correct grid control? Do you have more than one?
I can't think of anything else.
Brian
Well it is still happening. I dont know what is wrong.
I will check this problem later today. Thanx for the feedback.