My boss is a keen coder, and just asked me whether or not I had come across the following. I hadn't, and I don't think it is possible (or not easy at least).
He wants to make a function that one argument has only a specific list of values, so that intellisense would only pop up with those values when coding to call the function.
Eg.
Has anyone done anything like this?Code:'--- defined in a module somewhere Public Function DoThatThang(byval lngThisThang as long) end function '---- called in code somewhere else DoThatThang(<intellisense list shown>)
If so, is it difficult to set up?




Reply With Quote