An icon instead a 'Memo' in grids.

Hi All;

Is there a way to have a grid display an icon instead of memo or Memo for memo fields I'd like to put an icon if the memo field is not empty.

Thanks,
Aleniko


Answer this question

An icon instead a 'Memo' in grids.

  • Minh Tran

    Alex.

    Thanks for your reply. My main problem though is how to have the functionality of showing the memo content when you hover over the button or control. VFP9 has this feature when you use the usual 'Memo' format.

    Thx.

  • Danny_40

    Change the default txtBox control in the column to an image control.

    What I sometimes do instead is to use a button (cmdBox) that says "Notes" as caption. It looks better than the word "Memo" and when you click on it a child form opens with an edit box with the memo contents (R/W). Just make the button belong to a special subclass that has the code necessary to open the memo when clicked. Then drop this special button subclass in the Memo column(s).

    You can also dynamically change the button's caption to show "Notes" in bold or in color if the memo is not empty.

    Just some ideas.

     


  • An icon instead a 'Memo' in grids.