Activate Tabpage

ajerome31ajerome31 Member Posts: 6
edited 2009-09-26 in Dynamics AX
Hi,

I'm trying to find a way to activate a tabpage when the form is opening.

I've tried this (in the form's init method) without success:

element.design().controlName("Cycle").displayControl();

thanks for you help.

Comments

  • kranthikranthi Member Posts: 72
    Hi,

    In the TabPage properties change Auto Declaration - Yes
    In the run method of the form,
    copy the tabpage name from properties.

    eg: if tabpage name is "General".

    General.activatePage();
    Kranthi
  • ajerome31ajerome31 Member Posts: 6
    yes i've found it !

    thanks for your help !
Sign In or Register to comment.