Posted by: Dave Rabelink
Run the sample (created in TD4.2) in TD5.0.
The button toggles the states of the two checkboxes and option buttons
1) In TD5.0 the optionbuttons get toggled ON but never to the OFF
2) The ON state of option buttons have a visual bug. See the
difference between TD4.2 and TD5.0 in the screenshot
Another thing which seems not ok.
When you run an application from IDE, created windows do not appear on
the taskbar (as in all other TD versions) when they have hWndNULL as
parent (owner). Seems the windows have the IDE/MDI as owner.
This makes finding the window by clicking on it on the taskbar
Also it could break applications which rely on finding windows and
relationships between them in debugmode. This means when running the
application from exe it has different behaviour than running it in
debugmode. That is not good !
Also in debugmode there is no way to determine how the window text
will appear on the taskbar and how the window will be handled by the
context menus of the taskbar on the window icon.
So when running the application from IDE (debugmode), the window
creation should be the same as if it was run from exe, so the windows
should have the Windows desktop as owner when they are created with
hWndNULL als parent in SalCreateWindow and also when the window is