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

Custom cell properties - problems with drawing

Thread ID:





49522 Sep 20,2006 04:01 PM UTC Sep 20,2006 04:03 PM UTC WinForms 1
Tags: GridControl
Asked On September 20, 2006 04:01 PM UTC

A similar problem to my last post BUT different (I think).

I am using a custom control which displays items in a drop down menu, first a list of folders and then if you click on a folder a list of item in the folder (like the windows start button).

In the ondraw event of the renderer I populate the menu and then paint as appropriate. If I populate the menu with some hard coded vaules in the renderer I do not have this particular problem (for an example see the project in the previous post).

If, however, I use a custom property to store my menu items then I get some strange behaviour. If my list of menu items is too big for the screen there is an arrow up and down to scroll the items. If this is clicked then the folder menu items are re-drawn near the top left corner of the screen! :-(.

The project attached demonstrates the problem, build and run. The click on a button and go into a folder. Move the list of items up and down.

Any hints would be gratefully recieved!




Replied On September 20, 2006 04:03 PM UTC

when i said my last post, the one titled

Custom Cell Controls - what events cause them to move??


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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