Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

open new Screen

Hi,
 

I created 4 screens for Flexpendant in Visual Studio 2008. I created button. I want to open by buton new window. I download the files to Home directory and tested. But it did not open new window. I close the main window but did not open new window. Could you write me program code C#. How to open new window from Event method for button. 

 

Here is my program code for Event method:

 


private
void btRollDoors_Click(object sender, EventArgs e)
{
  TpsRollDoors windowTpsRollDoors =
new TpsRollDoors();


   windowTpsRollDoors.Show();
}

 

Thank you for answer. 

 

Radim

Comments

  • Hi,
     

    You have to use the method ShowMe. Examples are available in the RAB Help ..

     

    BR
    Carlos Martinez
    ABB
  • Hi,
      i've installed visualstudio 2008 and sdk 6.08.
    I've tried to open a new view called "TpsControl1", but I do not have a "showme" method.

    Does anyone know why?

    Tnx



  • Ok, the empty view isn't a form, so it's normal that "showme" method doesn't exist.

    But for empty view.. how can I change page? the show method doesn't work.