- This topic has 18 replies, 2 voices, and was last updated 4 years, 1 month ago by Support.
-
AuthorPosts
-
August 30, 2020 at 12:32 pm #69387HeDiBoParticipant
Have a look at the screen capture below. It shows the MegaDemo with hints on the wrong place.
The radiogroup “Kind of hints” is clocked first, to make sure it has focus. Then the cursor is moved to hoover over “Disabled Edit” control. The hint comes at the previous mouse position.Attachments:
You must be logged in to view attached files.September 2, 2020 at 8:45 pm #69403SupportKeymasterI see it, thanks.
This issue will be solved in the nearest release.September 7, 2020 at 3:54 pm #69439HeDiBoParticipantNot solved in 15.15
September 9, 2020 at 4:36 pm #69502SupportKeymasterAre you sure? This issue is repeated in the latest AMegaDemo.exe?
September 9, 2020 at 6:46 pm #69517HeDiBoParticipantI still had it in my own project. In AMegaDemo I could not repeat it. However, if I repeat the actions from the Gif in the new AMegoDemo, I have no problem getting to a state where the two hints on disabled controls don’t show at all.
September 16, 2020 at 4:18 am #69543SupportKeymaster>> the two hints on disabled controls don’t show at all.
I saw it, this issue will be solved in the nearest release.
September 16, 2020 at 9:41 am #69556HeDiBoParticipantI have another situation where Hints appear at the wrong place: hints for column headers in a TcxGrid. Attached a GIF that shows it. It is always wrong, not related to HandleDisabledCtrls
- This reply was modified 4 years, 2 months ago by HeDiBo.
Attachments:
You must be logged in to view attached files.September 17, 2020 at 6:28 pm #69568SupportKeymasterYou should disable the AutoAlignment property in this case, because hint window is aligned to the control bottom/center in this case.
September 18, 2020 at 9:37 am #69575HeDiBoParticipantI would do that, if the AutoAlignment property could be set on an individual basis. But I like it almost everywhere, except here.
I think you should come up with a better solution.Even if AutoAlignment is off, the hints are still in the wrong place for grid headers. Have a look at the video. As you can see, the hint covers the header field completely.
Attachments:
You must be logged in to view attached files.September 19, 2020 at 2:02 pm #69583SupportKeymasterCoordinates and size of the hint window is defined by the DevExpress engine.
If TsAlphaHints component is not active, standard hints will be shown at the same place.
TsAlphaHints can’t control it there because hasn’t any information about the column header position.September 19, 2020 at 2:46 pm #69584HeDiBoParticipantAbout the cxGrid: you’re right. I didn’t know that.
However the AutoAlignment setting is still a problem. And since you’re saying that the coordinates of the hint window are determined by cxGrid, the AutoAlignment problem could be solved, I think.September 19, 2020 at 3:53 pm #69585HeDiBoParticipantIn order to get the hints on headers in cxGrid on the right position, you need to define a TcxHintStyleController and do some manipulations in its OnShowHint event.
Unfortunately, if SkinManager is active, that code is not executed.Enclosed is a sample project.
If you remove the TsSkinManager, TsSkinProvider and the TsAlphaHints components, the OnShowHint event is called and the hint is shown at the right position. As it is, the OnShowHint event is not called.Attachments:
You must be logged in to view attached files.September 22, 2020 at 8:11 pm #69615SupportKeymasterThank you for sample, I will check it.
September 25, 2020 at 12:55 pm #69650HeDiBoParticipantIn AC 15.16 the hints are positioned OK, but now they are not skinned anymore 😢
September 25, 2020 at 2:58 pm #69666HeDiBoParticipantI still think you should come up with a solution for the placement of hints on grid headers with AutoAlignment set to True. Maybe don’t honor it if the hint is for a grid header?
September 28, 2020 at 11:44 am #69680SupportKeymasterWhen hint is shown there, I have information about the control, but not about the cell or header which call the hint.
September 28, 2020 at 5:05 pm #69687HeDiBoParticipantI don’t know about that. All I know is that it’s unacceptable this way.
September 28, 2020 at 5:12 pm #69688HeDiBoParticipantMaybe as a last resort you could make a new TsHintStyleController that inherits from TcxHintStyleController. That’s a good idea anyway, because if a TcxHintStyleController is present, hints are not skinned at all.
October 3, 2020 at 8:46 am #69712SupportKeymasterI hope to find solution for positioning in the nearest release.
But, TcxHintStyleController should be removed, otherwise hints will not be skinned. -
AuthorPosts
- You must be logged in to reply to this topic.