Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old March 20th, 2004   #1 (permalink)
Registered User
 
Join Date: Aug 2003
Posts: 233
Question programming help for J#

hi I am trying to make a breakout game ( its for my class project)...now i am trying to make a groupbox to appear but it keeps on telling me

C:\Documents and Settings\Tajo\My Documents\Visual Studio Projects\FixedStudentBreakout3\StudentBreakout\Frm Ball.jsl(491): Cannot find field 'get_Enabled' in class 'System.Windows.Forms.GroupBox'
C:\Documents and Settings\Tajo\My Documents\Visual Studio Projects\FixedStudentBreakout3\StudentBreakout\Frm Ball.jsl(493): Cannot find field 'get_Visible' in class 'System.Windows.Forms.GroupBox'

now i made everything all the buttons, labels, picture box and groupbox but i can't seem to set the grpbox to appear. the game compiles and ran before i tried to put the grpbox code (to make it disappear). can someone pls help me
hbk0259 is offline   Reply With Quote
Old March 21st, 2004   #2 (permalink)
Rosen Ritter
 
Badaro's Avatar
 
Join Date: Apr 2001
Location: Brazil
Posts: 3,394
Well, according to the documentation there is no get_Enabled() or get_Visible() method, only the Visible and Enabled properties. At least in C#, you should use:

enabled_value = groupbox_object.Enabled;
visible_value = groupbox_object.Visible;

And:
groupbox_object.Enabled = false;
groupbox_object.Visible = false;

http://msdn.microsoft.com/library/de...mberstopic.asp

[]s Badaro
__________________
My old signature became obsolete and I lack imagination to make a new one.
Badaro is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 13:50.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5