Re: classes to perform functions for many forms
From: Steve Moores (byrequest_at_only.com)
Date: 04/09/04
- Next message: Alain: "ToolTip for a disabled control"
- Previous message: sudha: "Moving the controls at runtime"
- In reply to: polynomial5d: "Re: classes to perform functions for many forms"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 09 Apr 2004 06:48:50 GMT
Hi there,
You can also define class members as Shared, that way you don't have to
instantiate an instance of the class to use the public members you've set
up.
It's not a good practice, but it sort of mimics the direct
ClassX.FunctionName syntax you're use to in VB6.
"polynomial5d" <anonymous@discussions.microsoft.com> wrote in message
news:161E3059-0CE2-4BEE-B7C9-76ECEB26E747@microsoft.com...
> Thanks muchly. That answers my question. And while getting a class to do
work for many forms remains much more difficult than in vb6, at least it's
doable.
>
> polynomial5d
- Next message: Alain: "ToolTip for a disabled control"
- Previous message: sudha: "Moving the controls at runtime"
- In reply to: polynomial5d: "Re: classes to perform functions for many forms"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|