Skip to main content
GameDev.net gamedev.net
🔒 Locked

Interaction

Started by Last Attacker Aug 15, 2003 at 7:41 AM 0 replies 500+ views
Original Post
Last Attacker
Last Attacker
Hey everyone, I recently had to do a project in VB.NET (kind of a task, actually) which contained object inheritance. I''ve no problem with that except they asked that we had to show when a class is constructed and destroyed by displaying for instance : "CPoint constructor : ...." I tried displaying this on a form''s textbox but I don''t know how to let a class interact with a form''s class. I then decided to use a console. I tried a shared function but the compiler said something of not being able to use a shared function without explicit definition and stuff like that. Can someone tell me how to let a class like CPoint access class frmCylinder''s txtDisplay to show "CPoint constructor : ..." or something. Thanks! // Last Attacker \\---=( LA )=---// LA Extreme \\

ICQ Number : 120585863

E-mail: laextr@icqmail.com

"Take delight in the Lord and He will give you your heart's desires" - Psalm 37:4My Blog

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.