From: Alexander S.K. <al...@be...> - 2015-07-16 10:12:08
|
Itamar M. Lins Jr. Lins пишет: > Hi! > Is normal behavior ? While browse go to append mode, the flag ON > LOSTFOCUS is activate. But browse not lost focus! > > For me, LostFocus should be activated only if all the browse object out > of focus. > Edition should not be treated with unfocused. > In fact, the browse control really lose the focus while field editing and Winapi generates the WM_KILLFOCUS message. As far as I understand, you want the :bLostFocus codeblock not to be called in this situation. The problem may be solved, if we introduce a new flag, :lEditing for example, which will be set in :Edit() method - and you will be possible to return from :bLostFocus if needed. Is it suitable ? Regards, Alexander. |