10-08-2016, 03:57 AM
I wonder whether it is possible to have a Grid control (QM_Grid) with an icon in the rows of another column, than the first one.
Many thanks in advance
Many thanks in advance
Grid control(QM_Grid) with icon in another column than first
|
10-08-2016, 03:57 AM
I wonder whether it is possible to have a Grid control (QM_Grid) with an icon in the rows of another column, than the first one.
Many thanks in advance
10-08-2016, 06:07 AM
10-08-2016, 06:29 AM
Thank you! Have a nice weekend!
10-08-2016, 06:35 AM
I did not test it, possibly does not work with QM_Grid. This code is for a non-virtual listview.
10-08-2016, 06:47 AM
Thank you for this explanation. I will test it in a while and I will let you know. By the way I have seen somewhere else, very likely in a topic of QM-Forum by you, that it is the LVITEMW technique that may be used in such cases.
10-08-2016, 06:53 AM
This is for QM_Grid and other virtual listview controls. Need to set image in LVN_GETDISPINFO.
Function grid_subitem_images str dd=
10-08-2016, 07:14 AM
Yes ! The later works perfectly !!!
10-08-2016, 07:43 AM
I have experienced that :
(1) If you do not need at all icons in column 0, then you have to change: Quote:qmg3x= (2) If you need icons only in column 2, then you have to change to : Quote: if u.iSubItem=2 ;; Select column to show icon here I would appreciate it if you could kindly confirm or advise respectively.
12-27-2016, 02:08 PM
In the case of a grid with icons in two (or more) of its columns, I wonder whether it is possible to get the icons data (g.SetImagelist) from two different imagelist files, one for each column. Thanks for your advice, in advance.
12-31-2016, 07:52 AM
|
« Next Oldest | Next Newest »
|