4 Replies - 454 Views - Last Post: 21 August 2013 - 05:40 AM Rate Topic: -----

#1 JimmyB  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 16-August 13

Changing Label Text depending on conditions

Posted 21 August 2013 - 02:42 AM

Hi, I am trying to make a simple stat system (for a small RPG) that shows what stats according to what class you are.
When you choose 'warrior' a label changes (in another form). Please bare with me I am relatively new with coding.

 MainMenu.Close()
        Dim Warrior As Warrior
        Warrior = New Warrior
        Label2.Text = Warrior.Gold & " GOLD"

        If Label11.Text = "Class:   WARRIOR" Then
            Label8.Text = Warrior.Health
            Label9.Text = Warrior.Attack
        End If

       
    End Sub



Is This A Good Question/Topic? 0
  • +

Replies To: Changing Label Text depending on conditions

#2 JimmyB  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 16-August 13

Re: Changing Label Text depending on conditions

Posted 21 August 2013 - 02:47 AM

For some reason this still posted even when I hit cancel, if someone could kindly delete this or my other thread. Thanks
Was This Post Helpful? 0
  • +
  • -

#3 DarenR  Icon User is online

  • D.I.C Lover

Reputation: 444
  • View blog
  • Posts: 3,084
  • Joined: 12-January 10

Re: Changing Label Text depending on conditions

Posted 21 August 2013 - 05:22 AM

They do not delete threads unless they are spam or duplicates.
Was This Post Helpful? 0
  • +
  • -

#4 _ELement_8215  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 34
  • Joined: 14-December 11

Re: Changing Label Text depending on conditions

Posted 21 August 2013 - 05:38 AM

this is a duplicate
Was This Post Helpful? 0
  • +
  • -

#5 ybadragon  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 193
  • View blog
  • Posts: 1,195
  • Joined: 11-May 12

Re: Changing Label Text depending on conditions

Posted 21 August 2013 - 05:40 AM

If you want your post deleted, you can contact a Mod, however chances are they will just close the topic so no-one else can post here. They normally don't delete posts just in case the information in them may be helpful to someone else having the same issue.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1