CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    Bangkok, Thailand
    Posts
    8

    How can I exchange data between two Property Pages?


    I've tried to pass the data from one property page(i.e : PageA) to another one (i.e. PageB)
    which are in the same property sheet , my problem is when I stored a data in PageA
    in a variable which is belongs to that page, the contents of that variable seems to disappear
    when I choose the tab of PageB (which macks PageA doesn't "Activate" )

    Please tell me just how can I deal with this???

    Thanks a lot for your useful answer.



  2. #2
    Join Date
    Oct 1999
    Location
    Germany
    Posts
    238

    Re: How can I exchange data between two Property Pages?

    Hi !

    Is that variable you are talking about linked to a control (DDX) ??
    Have you verified that the data is actually in the variable or
    is it just visible in the control ??

    If any of this points in the right direction, you will probably
    have to call

    PageA->UpdateData(FALSE);

    before changing to PageB.


    Regards,

    Matthias.

    I had a thought,
    You know, I thought it a lot,
    I thought I was smart,
    Now I know that I'm not

    - The Presidents Of The United States Of America

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

Featured