On Wednesday 27 April 2016 15:28:58 Krzysztof wrote:
> 2016-04-27 15:17 GMT+02:00 Martin Schreiber <[email protected]>:
> > Probably, but if is a usefull extension I'll add that option. What do you
> > think?
>
> If it's not a problem then why not :)
>
git master d3c83b58ac422ee5b8e599c82a3f5ce50efe5335 has
dco_nodisabledsortindicator and dco_wholecellsortclick.
> BTW: I'm drawing text by my self so double click on column resize
> point is not handling text width and column is collapsed. Is there any
> event for that? Some kind OnGetColumnSize?
>
Please use T*Grid.DataCols[n].OnBeforeDrawcell, OnDrawCell or OnAfterDrawCell:
"
procedure tmainfo.drawcell(const sender: tcol; const canvas: tcanvas;
var cellinfo: cellinfoty);
begin
if cellinfo.calcautocellsize then begin
cellinfo.autocellsize.cx:= TheCellWidth;
end;
end;
"
"const" has been changed to "var" for OnDrawCell.
Martin
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk