|
-
December 2nd, 2004, 03:55 PM
#4
Re: Property access must assign to the property or use its value.
Thanks for the help. I tried that and it made things worse, because it seems I still don't understand. However, I have figured out that I may have been barking up the wrong tree yet. I thought it was the procedure causing the error. When I played with the call it removed the complaint from the task list tho'.
--
Public Sub mnuFileExit_Click(ByVal eventSender As System.Object, _
ByVal eventArgs As System.EventArgs) Handles mnuFileExit.Click
'Calls the prompted exit.
eventSender = CancelButton()
End Sub
--
Both lines eventSender =, or eventArgs =, seem to work. I don't know if this is proper procedure, or if it will work, but it does seem to stop complaining at least. Now to see if it will compile! :-)
Thanks again.
Dave
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
|