|
-
Mar 15th, 2004, 10:57 AM
#1
Thread Starter
Hyperactive Member
Return more than one value with an 'Get' [RESOLVED]
He everyone,
Another question by me!
I've got this structure:
VB Code:
Structure Coordinates
Private intX As Integer
Private intY As Integer
'Set the X & Y of the Coordinate
Public Function SetXY(ByVal iX As Integer, ByVal iY As Integer)
intX = iX
intY = iY
End Sub
End Structure
But now I want to make the get function of this one wich returns both X and Y value how to do this... And how to call this function?! Or isn't this possible!
Thnx in advance,
Bloged
Last edited by Bloged; Mar 15th, 2004 at 12:16 PM.
-
Mar 15th, 2004, 11:04 AM
#2
PowerPoster
Look into the point structure:
System.Drawing.Point
Seems to be what you are doing anyway, maybe there is something there for you to use.
-
Mar 15th, 2004, 12:16 PM
#3
Thread Starter
Hyperactive Member
Thnx hellswraith,
That was the solution!
Grtz,
Bloged
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|