MSFlexGrid Control
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
MSFlexGrid Control

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
vbTorture
Guest





Posted: Wed Jan 05, 2005 12:52 am    Post subject: MSFlexGrid Control Reply with quote

MSDN help says that [ColIsVisible] property:
....
Returns or sets a value indicating whether a specified column is currently
visible.
Syntax

object.ColIsVisible(index) [=Boolean]

....

But when I'm trying to SET a value to a visible column to be not visible
(False) I'm getting this error message.
"Assignment to constant not permited"
The MSDN help says that I'm trying to set a value to a readonly property.
The column index is a valid number, by the way.

Back to top
vbTorture
Guest





Posted: Wed Jan 05, 2005 1:55 am    Post subject: Re: MSFlexGrid Control Reply with quote

Microsoft web help solve my problem. It says:

Returns a value indicating whether a specified column is visible currently.
A column is not visible when it is outside the client area of the control's
window - in other words, when it is scrolled out of view.

So I was misusing this property confusing with column-hide/show, desired,
properties



"vbTorture" <VB@C++Torture.com> wrote in message
news:41daf3f4$1_2@newsprd01...
Quote:
MSDN help says that [ColIsVisible] property:
...
Returns or sets a value indicating whether a specified column is currently
visible.
Syntax

object.ColIsVisible(index) [=Boolean]

...

But when I'm trying to SET a value to a visible column to be not visible
(False) I'm getting this error message.
"Assignment to constant not permited"
The MSDN help says that I'm trying to set a value to a readonly property.
The column index is a valid number, by the way.

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB