Hello Lazarus-List, Friday, February 5, 2010, 2:41:16 PM, you wrote:
>> The problem is that in GTK2 this effect is not obtained as the >> EraseBackground is never called and message WMEraseBackground is never >> called also. PI> EraseBackground message is only send for TCustomControl descendants. PI> Therefore you get no message for TEdit. Yes but in Windows the EraseBackground method is being called for TEdit, not the message. I'll put some writelns here and there and perform a bit more checks, like painting everything in WMPaint :-? -- Best regards, JoshyFun -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus