|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Mar 12, 2008 - 11:46 AM
|
Hi,
I am trying to hide a column, and for that I set its extent to 0 in all 3 value (0,1, and -1) Before I set it all to 0, I first store the original values so that I can restore the column later. I use ExtentGet to get these values, while passing 0,1,and -1 in the second parameter. Even though the column is completely draggable and I am sure I did not set extern but to the 0 value, ExtentGet return the same value in all 3 types.
Please check what is the problem with ExtentGet - it was supposed to give a small value if -1, and a big value for +1.
Regards, Ron.
|
|
Offer Har
|
Mar 17, 2008 - 5:46 AM
|
Please ignore this one, my bad... found the problem - It works well... Thanks, Ron.
|
|
Offer Har
|
Mar 17, 2008 - 5:08 AM
|
Well.... please Call ExtentGet and see what happens.... all of them give the same value.
|
|
Technical Support
|
Mar 17, 2008 - 5:05 AM
|
Actually ExtentGet() is used very often in our grids so we cannot yet confirm that it has a bug. You can run your application in the debug mode and set a breakpoint in the CExtGCE::OnQueryExtent() method to see when the m_nItemExtentCurrent , m_nItemExtentMin and m_nItemExtentMax values change.
|
|