Search code examples
vb6pictureboxobjectbrowser

VB6: Why is Picturebox.Print() hidden from the Object catalogue?


the title already tells the question: you can successfully call the Print-Method on a PictureBox-instance. But it is not shown in the object browser.

same applies for some other methods, Pset() for example is listed but the syntax is not completely correct.

Edit: The methods Ubound() and LBound() for inspection of array bounds is not listed anywhere. And in the IDE, auto-completion doesn't show it as tooltip either.

Does anybody know the reason for this?


Solution

  • Some of the VB methods and functions from back in the day (like stuff that was available in QuickBasic or PDS or GWBasic) never appeared in the intellisense. Not sure why. Maybe because they are not on any object tree but static functions long ago defined in the runtime. Then again, I could be completely wrong.