in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Problem with MDI + CellHints

Last post 6/20/2007 8:12 AM by Konstantin Beliaev. 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 6/20/2007 7:53 AM

    Problem with MDI + CellHints

     I have a problem with QuantumGrid on MDI form when CellHints is on.

    When I switch from my Project1 (with QuantumGrid on MDIChildForm) to some other application (Firefox for example) and then move mouse pointer over the grid, the CellHint is triggered and Project1 for unknown reason goes to top, but focus remains on FireFox.

    The effect is random, but the reproducing sequence is like this:

    • click Project1 button on TaskBar,
    • click FireFox button on TaskBar (Firefox now has the focus)
    • move mouse cursor over the Project1's grid without pressing any button, until CellHint is triggered (Firefox goes back, but still having focus)

    How to fix this? I don't need to reorder windows on desktop.

    Occurs on Win2000, WinXP, with QG 5 and QG 6

  • 6/20/2007 8:12 AM In reply to

    Beer [B] Re: Problem with MDI + CellHints

    I think, I found the solution, reading https://www.devexpress.com/Support/Center/ViewIssue.aspx?issueid=DB33061

    function TcxCustomGridController.CanShowHint: Boolean;

    have always to return FALSE when Application.Active = false;

    PS. By the way, who wrote the code in TcxCustomGridController.CanShowHint

    Result := condition OR condition OR condition AND condition

    without brackets? Did he(she) sure in its evaluation sequence?

Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED