Results 1 to 3 of 3

Thread: [RESOLVED] Transfering stats from one form to another?

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2012
    Location
    Georgia, USA
    Posts
    44

    Resolved [RESOLVED] Transfering stats from one form to another?

    Ok i have my stats on my character creator set to on the frmRace you chose your race and get + So many stats per race you chose. Then you go over to the frmRoller and roll your stats. I would like to combine those on frmCreatetionEnd. Do i need to use a module since there on 2 differnt windows? and how would i have the module read the forms?
    --------------------------------
    These are on the frmRace Form.
    The code for the bonus stats are :
    lblStrBonus
    lblIntBonus
    lblDexBonus
    lblConBonus
    lblWisBonus
    lblLucBonus

    --------------------------------
    These are on the frmRoller form.
    The code for the rolled stats are :
    lblStr
    lblInt
    lblDex
    lblCon
    lblWis
    lblLuc




    Ty for your time.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Transfering stats from one form to another?

    A basic example:
    Code:
    'on Form1
    Label1.Caption = Form2.Label1.Caption

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2012
    Location
    Georgia, USA
    Posts
    44

    Re: Transfering stats from one form to another?

    Awsom ty worked perfect

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width