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
340
how to show image in combobox
posted

hi,

i have 3 coloumns in the combo box, code, name, hold. for hold i want to show the image, if hold='Y' then show image otherwise show nothing.

also where i can set up the image properties.

thanks,

parv

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi Parv,

        It's hard to replace the text in a string cell with an image. What I would do is use the InitializeLayout event of the Combo to hide the actual Hold column and show an unbound column. Set the DataType on the Unbound column to Bitmap.

        Then you can use the InitializeRow event of the combo to set the Value of the unbound column to an image or null, depending on the value of the real Hold column. 

Children
No Data