Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Procedure Attributes - VB6

RSS
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.

Image

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 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.