Jasinski Technical Wiki


Home Page
All Pages

Quick Search
Advanced Search »

Contributor Links

Create a new Page
File Management
Your Profile

Other Wiki Sections



Procedure Attributes - VB6

Modified on Fri, Feb 06, 2009, 10:45 PM by Administrator Categorized as Visual Basic 6
To set the Procedure ID for a procedure in Visual Basic 6.0, on the Tools menu, select Procedure Attributes. Doing so will bring up the following dialog. The dialog is shown after the Advanced >> key is clicked.


In addition to the items listed in the Procedure ID box - (Default), AboutBox, and Refresh - you can specify that the procedure is an Enumerator Function by manually typing -4 (negative 4) in the box. This apparently is a "magic number" to enable the feature. An Enumerator Function is used in a Collection class to allow an instance of it to be used within a For Each loop.

ScrewTurn Wiki version Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2023, Patrick Jasinski.