If you do not have the Imports directive for the iGrid types in your code, you will get a compilation error. However, this should be
error BC30451: 'iGBool' is not declared. It may be inaccessible due to its protection level.
To solve this problem, add the following directive at the top of the form module:
Imports TenTec.Windows.iGridLib
If you do not do this, you can still solve your problem by prefacing the types from iGrid like this:
.Cols(x).Visible = TenTec.Windows.iGridLib.iGBool.False
But in this case you will need to write 'TenTec.Windows.iGridLib.' before every iGrid type you use in your code.
BTW, the light bulb helper in VS suggests the first way to solve your problem too:

Click to View Image161 View(s)
Let us know whether this helped to solve your problem.
Edited by user
2021-03-08T09:42:24Z
|
Reason: Not specified