Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
WMPaint is never called for TEdit
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
FPC Unleashed (inline var...
by
creaothceann
[
Today
at 05:36:21 pm]
RFC: Separation of MCU an...
by
ccrause
[
Today
at 05:16:03 pm]
Which Control should I us...
by
wp
[
Today
at 05:08:55 pm]
Codepage issue in console...
by
ASerge
[
Today
at 04:54:05 pm]
Just Question App paramet...
by
eldonfsr
[
Today
at 04:50:19 pm]
[New Component] ExtTabCtr...
by
wp
[
Today
at 04:39:40 pm]
Pdf Viewer in Pascal
by
Handoko
[
Today
at 03:55:42 pm]
Content is distorting / w...
by
Handoko
[
Today
at 03:53:02 pm]
ZxTune chiptunes player
by
Guva
[
Today
at 12:41:14 pm]
RunFormula: math expressi...
by
CM630
[
Today
at 12:17:34 pm]
Mundo Medieval 3D MMORPG ...
by
schuler
[
Today
at 12:02:50 pm]
Onscroll event for Tscrol...
by
laz_one_or2
[
Today
at 11:16:39 am]
Fpcupdeluxe
by
CharlyTango
[
Today
at 10:35:33 am]
Compiling Qt6 project on ...
by
wp
[
Today
at 10:14:53 am]
Error with last fixes_3.2...
by
HaraldNieswandt
[
Today
at 10:13:48 am]
What am I missing here? [...
by
loaded
[
Today
at 08:11:06 am]
IDE Editor (OS: Windows11...
by
keith
[
Today
at 07:36:18 am]
Single and Double, Conver...
by
avk
[
Today
at 06:55:03 am]
AI Assist Python - to - P...
by
kirtu
[
Today
at 12:57:01 am]
Instruction-level paralle...
by
LeP
[
Today
at 12:23:51 am]
Lazarus syntax helpers
by
Edson
[June 15, 2026, 10:34:34 pm]
Can /my/ AI help me with ...
by
microxa
[June 15, 2026, 08:25:36 pm]
[ANN] PasBuild v1.9.0 Rel...
by
Graeme
[June 15, 2026, 08:14:26 pm]
If FileExists(
by
Remy Lebeau
[June 15, 2026, 07:58:06 pm]
Implementing an Elo ratin...
by
Warfley
[June 15, 2026, 06:33:56 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: WMPaint is never called for TEdit (Read 1127 times)
7bit
New Member
Posts: 24
WMPaint is never called for TEdit
«
on:
February 23, 2025, 07:09:09 am »
The TEdit class has a protected WMPaint method that should be called when drawing a component, but this does not happen with QT5/QT6, GTK2 widgets. Why?
IDE: Lazarus 4.0RC2 (rev lazarus_4_0RC2-104-gb0513d9031) FPC 3.2.3 x86_64-linux-gtk2
«
Last Edit: February 23, 2025, 08:51:54 pm by 7bit
»
Logged
zeljko
Hero Member
Posts: 1959
Re: WMPaint is never called for TEdit
«
Reply #1 on:
February 24, 2025, 07:41:21 am »
Because TEdit does not have TCanvas and is not supposed to be painted by user. But if you need paint on then inherit TQtLineEdit and write paint code in paint event....
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
WMPaint is never called for TEdit
TinyPortal
© 2005-2018