totidarmala Posted October 9, 2013 Author Share Posted October 9, 2013 hola everybody, can you help me please for adding Classes Description Logo.this tutor to add Description with Label : [http://www.eclipseorigins.com/community/index.php?/topic/132816-tutorial-description-of-classes/](http://www.eclipseorigins.com/community/index.php?/topic/132816-tutorial-description-of-classes/)```frmMenu.lblClassInfo.Visible = TrueIf newCharClass = 0 ThenfrmMenu.lblClassInfo.Caption = "The Warrior is blah blah blah"ElseIf newCharClass = 1 ThenfrmMenu.lblClassInfo.Caption = "The Wizard is blah blah blah"ElsefrmMenu.lblClassInfo.Caption = "Class without information"End If```and i try to edit it to : ```frmMenu.PictClasslogo.Visible = TrueIf newCharClass = 0 ThenfrmMenu.PictClasslogo.ClsElseIf newCharClass = 1 ThenfrmMenu.PictClasslogo.ClsElsefrmMenu.PictClasslogo.ClsEnd If```the image not changed if i change the job, help me pleasesorry for my bad english Link to comment Share on other sites More sharing options...
Stein Posted October 9, 2013 Share Posted October 9, 2013 All .cls does is clear the screen, it won't actually render anything on it. Link to comment Share on other sites More sharing options...
totidarmala Posted October 9, 2013 Author Share Posted October 9, 2013 so how do i make the description with image ? Link to comment Share on other sites More sharing options...
Stein Posted October 9, 2013 Share Posted October 9, 2013 Depends on your engine and graphics library, but all you need to do is load/display the appropriate images and text when the user selects a different class. Link to comment Share on other sites More sharing options...
coziboy Posted October 9, 2013 Share Posted October 9, 2013 > Depends on your engine and graphics library, but all you need to do is load/display the appropriate images and text when the user selects a different class.maybe he can usefrmMenu.PictClasslogo.picture = blablabla Link to comment Share on other sites More sharing options...
Stein Posted October 9, 2013 Share Posted October 9, 2013 Probably could, although endlessly loading a new image on run-time isn't exactly efficient. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now