Does anyone know how to declare a MSFlexGrid Control. Ive got as far as Dim BomTable As MSFlexGrid
when i run the code it complains about the object not been set
ive tried set Flex1 = CreateObject( BomTable )
All i want to do is use the control
ie:= Flex1.clear
Im i close?
Please help Nick
Subject: Using MSFlexGrid Control
I suspect (but am not sure) that you’re in the wrong language. MSFlexGrid isn’t a valid data type in LotusScript, which I assume you’re using. If it’s available for use as an OLE object, then you can use it something like this:
Dim Flex1 as Variant
Set Flex1 = CreateObject(“whatever the class name is for MSFlexGrid”)
…but it’s not something that exists within Notes.
Subject: RE: Using MSFlexGrid Control
yep, you use createobject to instance OLE classes, but msflexgrid is a licensed control which requires a license (as well as a runtime) on the client which runs it, so you couldn’t expect to use it in a general-audience app.