We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing cursor on GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

22742 Dec 21,2004 06:09 AM UTC Dec 21,2004 09:05 AM UTC WinForms 1
loading
Tags: GridControl
Sameer Patil
Asked On December 21, 2004 06:09 AM UTC

Hi I am trying to change the cursor on a GridGroupingControl. But it does not seems to work. this.portfolioHoldingGrid.Cursor = System.Windows.Forms.Cursors.WaitCursor; Even after this statement I see the cursor as the default arrow cursor. The cursor only turns to hourglass at the bottom edge and the top edge of the grid. What could be wrong? Thanks Sameer

Administrator [Syncfusion]
Replied On December 21, 2004 09:05 AM UTC

Tere is no property setting that will allow you to control the cursor. The TableControl in the GridGroupingControl manages the cursor through a mousecontroller architecture that allows it to manage the different mouse requirements. There are two options to control teh cursor. One is to write a mousecontroller and register it with the tableControl, and the other is to derive the TableControl and override OnSetCursor. The simplest of these options is to override tableControl.OnSetCursor. You also have to override teh GridGroupingControl to allow it to create an instance of your TableCOntrol class. Here is a sample. http://64.78.18.34/Support/Forums/Uploads/GGC_Cursor.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;