This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
Flicking TElEdit-Controls
The TElEdit-Controls are flickering very strong even in simple resizable forms.
See attached Test-project.
See attached Test-project.

Comments
Even when setting DoubleBuffer = True, it flickers.
And it flickers very strong in complex GUIs.
I try to active VCL-Theming and Flickering disapear.
But it crashes my real application on startup with activate of VCL-Theming :-(
procedure WMNCPaint(var Msg: TMessage); message WM_NCPAINT;
procedure TCustomElEdit.WMNCPaint(var Msg: TMessage);
var
WS: DWORD;
begin
WS := GetWindowLong(Handle, GWL_STYLE);
if WS and WS_BORDER <> 0 then
begin
FPreventStyleChange := True;
SetWindowLong(Handle, GWL_STYLE, WS and
not WS_BORDER);
end
end;
begin
end;