Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
How to get X, Y coordinates for a cell in UltraWinGrid
posted

Hi,

I am having problem getting x, y coordinates for a cell in UltraWinGrid. I need these to perform Drag and Drop operation between two grids.

If anyone has come across this type of problem please help me out

Thanks,

Srini

 

 

 

Parents
  • 7695
    Suggested Answer
    Offline posted

    Hi Srini,

        This was an unknown limitation of the TestAdvantage UltraGridProxy that was resolved in the service release of TestAdvantage 2008 Volume 1 forward and in the release build of TestAdvantage 2010 Volume forward. In the stated releases you can now use :
         GetCellProperty(objRow, objColumn, strPropertyName)

    using the following new properties :

         "X" - X coordinate of the UltraGridCell UIElement
         "Y" - Y coordinate of the UltraGridCell UIElement
         "width" - width of the UltraGridCell UIElement
         "height" - height of the UltraGridCell UIElement

         It should be stated that in the process of retrieving the property values it will bring the cell into view.

    I hope this answers your question,

     

Reply Children