When hovering the mouse over datafields (any type, class, enabled/read-only) which are placed on tab pages, the mouse cursor is flickering between the edit cursor (dash line) and the selection cursor (the pointer) for a certain number of datafields.
When the mouse is hanging still over the datafield, the mouse cursor has the pointer shape. It should have the edit shape.
This makes the visualization during hovering very annoying but also displays the wrong pointer state when a datafield is pointed to.
Gupta assigned this defect for the issue:
Ticket 2938504 : TD-23339 : TabBar: datafields show mousecursor flicker and wrong shape
After investigation it seems that not all datafields have the issue. Newly added fields to TabPages do not have it.
Copy existing fields, re-ad them to tab pages does not solve it.
When looking at the faulty datafields, there is an extra data block in the sources which can only be seen using a text editor
Code: Select all
.head 3 + Data Field: dfFlicker
0000: 5400610062004300 680069006C006400 4E0061006D006500 73000000FFFE1800
0020: 5400410042005F00 470065006E006500 720061006C000000
Using TDAppTools Gui Inspector, this extra property can be inspected:
When adding new datafields to the form and place it on a TabPage, the property is not generated.
The application sources were ported from an older TD version to TD 6.1 initially.
Using the QuickTabs Migration Wizard, all QuickTabs were converted to the new TabBar control.
This tool does not remove the property which is part of QuickTabs by default but not used by TabBar.
At runtime TD is still referencing the property when the datafield is on a TabBar, causing the issue.
For now, until Gupta fixes this issue, you can manually remove the property from the sources using a text editor.
(remove the lines starting with ".data INHERITPROPS" up to the line ".enddata".)
This only applied to TabBar objects !!!
The ZIP file contains the testcase (TD 6.3 format).
Also a video showing the issue. ON the video the mousecursor flickering is not visible, but the wrong shape is.
The sample also contains TDAppTools Gui Inspector to be able to show the property.
(object menu->SAL Attributes)