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
750
which image clicked in button
posted

Hi!

I've combined zero or more bitmaps together (based on data retrieved from a database) to form one bitmap.  This new combined bitmap is then set as the image for a column in the grid:

                Bitmap dwpBitmap = ConstructDWPBitmap(dwpList, out typeListString, DWPType2BitmapList);
                if (dwpBitmap != null) {
                    detailsCell.ButtonAppearance.Image = dwpBitmap;


ConstructDWPBitmap is losely based on this really nice article your company wrote:

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6018

When the user clicks on the button with this image I want to know which image they clicked on. To save space I don't want to have to form multiple columns to house each bitmap separately. How can I know which image the user clicked on so I can take the appropriate action?

I can't seem to find the X,Y location of the click event in that button. Any suggestions are appreciated.

Thanks!

Craig

Parents Reply Children
No Data