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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Barchart - why ist the fi...
by
Nicole
[
Today
at 05:30:29 pm]
Fpcupdeluxe and trunk
by
LemonParty
[
Today
at 05:10:08 pm]
Reducing the saturation o...
by
Handoko
[
Today
at 05:05:23 pm]
Convert this Python code ...
by
LV
[
Today
at 05:02:50 pm]
Testing with SQLite3DataS...
by
Hansvb
[
Today
at 05:00:15 pm]
Why isn't Lazarus / Free ...
by
marcov
[
Today
at 04:52:43 pm]
I get access violation wh...
by
440bx
[
Today
at 04:48:43 pm]
How to use MySQL by PHP ?
by
FMR
[
Today
at 04:44:31 pm]
New shader examples for r...
by
TBMan
[
Today
at 03:49:53 pm]
Macos Sequoia Lazarus 3.8...
by
turunk
[
Today
at 02:32:56 pm]
Compile Error on Assign f...
by
turunk
[
Today
at 02:30:39 pm]
Cannot execute Lazarus ID...
by
maurobio
[
Today
at 02:00:14 pm]
Writing a TMemo widget fr...
by
Martin_fr
[
Today
at 01:05:29 pm]
Koi Fish Fractal Tree (Us...
by
Boleeman
[
Today
at 10:43:45 am]
[solved] macro for code ?
by
alpine
[
Today
at 09:00:25 am]
Old MoveJOH_PAS_3 move me...
by
Thaddy
[
Today
at 07:47:03 am]
Amoeba Animated: Another ...
by
Boleeman
[
Today
at 07:18:57 am]
Seeing CLOUDS: But outsid...
by
Boleeman
[
Today
at 05:25:31 am]
Colored Triangled Tunnel ...
by
Boleeman
[
Today
at 01:30:13 am]
Animated Spinning Cluster...
by
Boleeman
[
Today
at 01:05:40 am]
Does anyone have the idea...
by
WayneSherman
[
Today
at 12:58:19 am]
Newbie in Web Programming...
by
Renat.Su
[April 24, 2025, 10:58:31 pm]
Uppercase in Keypress
by
Bart
[April 24, 2025, 10:32:13 pm]
Lazarus on Linux but Targ...
by
Sakkie
[April 24, 2025, 09:42:30 pm]
Package Use – Install ra...
by
paule32
[April 24, 2025, 09:15:29 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: WMPaint is never called for TEdit (Read 314 times)
7bit
New Member
Posts: 15
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: 1734
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