Hi Byteway,


There's a good example of what I think you need here: Master planning, Periodic, Master scheduling. Try to fill in a master plan and and see what happens. The corresponding class is ReqCalcScheduleItemTable. Have a look in the dialog method, line 11 and the method called dialogSelectCtrl. There's plenty of dialog<something> methods on RunBase for you to play with for hours.. ;o)


//Lars


-----Original Message-----
From: byteway_so [mailto:[EMAIL PROTECTED]
Sent: 22. juli 2004 16:56
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: Dialog


Probably the question is a bit to complex?
I thought it could be done by:

Adding a radiobutton control to the dialog, based on a baseEnum.
Then add a default combobox.
Then add a function to the dialog which is tied to the
selectionChange of the radioButton.
And then the fun part ofcourse is to see something changing when
hitting another radioitem.

public int selectionChange()
{
    int ret = this.selection();
    ;
   
    combobox.clear();

    switch (ret)
    {
        case 0:
            combobox.enumType(enumnum(MyBaseEnum));
            break;

        case 1:
            break;
    }



But the thing is.....
How do I tie this function to the fresh added radiobutton control of
the dialog? Please, could some one take a look at this?

/b




Yahoo! Groups Sponsor     

ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=129sggf54/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1090594782/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com> click here     
  <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=625437830>      


  _____ 

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/ <http://groups.yahoo.com/group/development-axapta/>
 

*      To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
 

*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to