Search found 3 matches

by DIYTinkerer
Tue Jun 10, 2025 12:51 pm
Forum: Beginners
Topic: Creating a class requirig mandatory parameters
Replies: 5
Views: 1277

Re: Creating a class requirig mandatory parameters

Now let us discuss what a "class" is, what it's attributes, methods¸ signals (events) are and what it is not. As others have raised, a class is no something that you can "create" on the fly (well it can be, but not until postgrad work). A class for want of a better word is a &qu...
by DIYTinkerer
Tue Jun 10, 2025 12:49 pm
Forum: Beginners
Topic: Creating a class requirig mandatory parameters
Replies: 5
Views: 1277

Re: Creating a class requirig mandatory parameters

Ah got-it, the penny has dropped :-) Thanks so much :-)
by DIYTinkerer
Mon Jun 09, 2025 5:23 pm
Forum: Beginners
Topic: Creating a class requirig mandatory parameters
Replies: 5
Views: 1277

Creating a class requirig mandatory parameters

Hi, I'm trying to create a new class something that requires 3 parameters i.e. Public centerX As Integer = 400 Public centerY As Integer = 400 Public radius As Float = 400 Public corrector As New OPC(centerX, centerY, radius) in a separate class file in the project I've defined the class as follows....