Thread: Passing Variables

  1. #1
    Registered User
    Join Date
    Sep 2006

    Passing Variables

    hello good people,

    I was wondering if it is possible to pass variables from one form to another as i am finding it difficult?

    i have two forms test.cpp and addsystem.cpp... and need to call some variables across.

    thanks to anyone who can help


  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    What library are you using to have "forms" ? .NET ? MFC ? ATL ? Something else ?

    Basically you have a dialog/form class. To retrieve a variable, you write a GetXXX function that is then called from the instance that created the dialog.

    Give some more details please.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    hello good people,
    Interesting greeting...

    How about using atoms?
    Last edited by Queatrix; 09-14-2006 at 09:15 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems passing values from function to main variables
    By ERJuanca in forum C Programming
    Replies: 18
    Last Post: 06-12-2009, 07:13 PM
  2. Passing variables to a subroutine
    By shaig in forum C Programming
    Replies: 5
    Last Post: 03-16-2009, 06:21 PM
  3. C# in ASP.Net - Passing complex variables
    By Llam4 in forum C# Programming
    Replies: 3
    Last Post: 01-19-2008, 02:53 AM
  4. question on passing variables
    By dirgni in forum C++ Programming
    Replies: 5
    Last Post: 12-04-2002, 04:36 PM
  5. functions to return 2 variables?
    By tim in forum C Programming
    Replies: 5
    Last Post: 02-18-2002, 02:39 PM