how to get Datagrid column header width

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bamse (bdaniel7&nospam&_at_yahoo.com)
Date: 09/13/04


Date: Mon, 13 Sep 2004 13:15:17 +0300

Hi, I need to retrieve the column header width to compare it with the column
width (and set the column width to the one which is bigger)

if (column header.width > column width)
column width = column header.width

there are some RowHeaderWidth props but no ColumnHeaderWidth, so is there a
workaround?

I'm using VS.NET 2002 + .NET Framework 1.0 (+ SP's)

Thank you,
Daniel



Relevant Pages

  • Re: Dr Brain Cox...
    ... Dave Budd wrote: ... Therefore Y is also bigger than something. ... If we say something is '3 units /big/', it is absolute. ... problem with taking the absolute size of X to compare Y to, ...
    (uk.rec.sheds)
  • Re: Date.equals() bug?
    ... No, I retrieve the date value using the RecordSet.getDatemethod, ... I compare this with the Date object as it ... > your database have special rules for logical comparison ... convert to String in the format yyyy-MM-dd) ...
    (comp.lang.java.programmer)
  • Re: Collection Look Up - By Key in an Excel VBA App.
    ... once one stores an object in a ... to retrieve it. ... The Lookup I havent been able to compare, ... > since I havent been able to Look up an Obj by key from a collection. ...
    (microsoft.public.excel.programming)
  • Re: Re : Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
    ... It is only that much bigger if you compare to 16 bits integer compilers, ... For romcc I had a 3x code bloat over had crafted assembler, ...
    (Linux-Kernel)
  • Re: 715
    ... compare the lack of interest in Bond's ... chasing Ruth and Aaron to the frenzy when Aaron was was approaching 715 ... Steve ... The steroid controversy will only make it bigger. ...
    (rec.music.gdead)