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
Why this code is working ...
by
Tommi
[
Today
at 09:53:10 am]
BalloonHint in Trayicons ...
by
CM630
[
Today
at 09:47:18 am]
Lazarus Bugfix Release 4...
by
EganSolo
[
Today
at 09:40:12 am]
About ORM framework
by
cdbc
[
Today
at 09:27:58 am]
Need help with compiling ...
by
Thausand
[
Today
at 08:33:29 am]
$ifdef highlighting
by
Thaddy
[
Today
at 08:33:12 am]
Need help converting a C+...
by
Thaddy
[
Today
at 08:28:50 am]
TMSSQLConnection in MacOS...
by
Zvoni
[
Today
at 08:26:26 am]
[SOLVED] Assembler error ...
by
Thausand
[
Today
at 08:22:45 am]
Recomendations for conver...
by
paweld
[
Today
at 07:44:53 am]
Possible LMAX Disruptor (...
by
Thaddy
[
Today
at 07:39:42 am]
How to load read large CS...
by
Xenno
[
Today
at 04:43:12 am]
Need help to build FPC fo...
by
dbannon
[
Today
at 04:00:40 am]
fishing problem ;)
by
speter
[
Today
at 03:20:14 am]
Anchoring controls with d...
by
jamie
[
Today
at 02:54:45 am]
Hints in TTrayIcon
by
dbannon
[
Today
at 02:11:20 am]
Just Curious: When has an...
by
Martin_fr
[December 04, 2025, 11:28:44 pm]
Cannot find Online Packag...
by
dseligo
[December 04, 2025, 10:57:42 pm]
Compiled package
by
Ed78z
[December 04, 2025, 10:26:14 pm]
ddebian 12 input err!
by
PascalDragon
[December 04, 2025, 09:39:53 pm]
unusual static FPC
by
PascalDragon
[December 04, 2025, 09:38:46 pm]
Lazarus IDE problem?
by
BrunoK
[December 04, 2025, 05:52:48 pm]
Qt6 / X11: problem with G...
by
zeljko
[December 04, 2025, 04:18:33 pm]
How to use nested classes
by
440bx
[December 04, 2025, 01:59:08 pm]
Qt6 / X11 session: strang...
by
AlexTP
[December 04, 2025, 01:04:31 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: WMPaint is never called for TEdit (Read 906 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: 1810
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