PDA

Click to See Complete Forum and Search --> : Simple question about ActiveX controls


PaulB
Sep 25th, 2002, 08:21 AM
Hi

I've created a few activex controls before. I'm now working on a grid control.

There's one thing that puzzles me.

How can a make a public property be available only at run-time?

crptcblade
Sep 25th, 2002, 10:14 PM
Public Property Get SomeProp() As Long

If Not Ambient.UserMode Then Err.Raise -60001,Description:="This property not available until run-time"

SomeProp = mSomeProp

End Property



Something like that.

:)