|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered User
![]() ![]() Join Date: Aug 2003
Posts: 233
|
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 |
|
|
|
|
|
#2 (permalink) |
|
Rosen Ritter
![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|