Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Guy  
#1 Posted : Thursday, December 13, 2012 8:38:38 AM(UTC)
Guy

Rank: Newbie

Groups: Registered
Joined: 12/7/2012(UTC)
Posts: 6
Location: Germany

Good evening,

I am using one iGrid displaying several iGRows for several differnt options to choose from. In certain cases I need one iGRow to display two ellipsis buttons in two different iGCells with different glyphs and optionally triggering differnt events? Up till now I have not found any solution to this problem. Is this possible at all? If it is can someone point me out into the right direction or provide an example?

Thanks

Edited by moderator Monday, February 25, 2013 12:29:47 PM(UTC)  | Reason: Not specified

Igor/10Tec  
#2 Posted : Thursday, December 13, 2012 12:38:51 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,114

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
If you place ellipsis buttons in different cells, the parameters of the EllipsisButtonClick event allow you to know what button has been clicked.

To draw individual glyphs on them, use the CustomDrawCellEllipsisButtonForeground event. Its parameters, RowIndex and ColIndex, also tell you what ellipsis button is about to be drawn. If you need a custom image in it, draw it using usual GDI+ methods and set the DoDefault parameter to False to prevent iGrid from drawing the standard image.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.