with, the class InventReport_dimparm dialog is this
public Object dialog()
{
;
dialog = super();
dialogDimGroup =
inventDimParm.addFieldsToDialog(dialog,"@SYS53654",true);
return dialog;
}
And your sub class you have done something like this
public Object dialog()
{
;
dialog = super();
dialogDimGroup.visible(false);
return dialog;
}
But it is failing to hide the DimGroup..I've gotten around this by adding a
dialog group to the base dialog like this
public Object dialog()
{
dialogGroup dlgGroup;//Added
;
dialog = super();
dlgGroup = dialog.addGroup();//Added
dlgGroup.frameType(formFrameType::None);//Added
dialogDimGroup =
inventDimParm.addFieldsToDialog(dialog,"@SYS53654",true);
return dialog;
}
An addition of a group like this should cause no visible changes in the base
class or any of the other derived classes, the one exception would be a name
collision, that is if you chose a name for the group that was already being
used in one of the other sub classes, do a compile forward after making the
change to ensure you haven't caused this), now in the sub class you can do
this
public Object dialog()
{
;
dialog = super();
dlgGroup.visible(false);
return dialog;
}
Hiding the group will hide everything in it .
G'luck
-Preston
_____
From: Alfonso Collados Arroyo [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 10:12 AM
To: 'Development-Axapta ([EMAIL PROTECTED])
Subject: [development-axapta] Field of Dialog invisible
Hi all,
I
I have a class that throws a report. This class extends from
InventReport_DimParm. The dialog of this class shows me all the fields to
choose in the InventDimParm Table.
I want to do invisibles some of these dialog fields , but only when I throw
my class, I don't want modified the parent class.
Regards,
Alfonso
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=1292hiars/M=298184.5584357.6650215.3001176/D=gr
oups/S=1705006764:HM/EXP=1100962600/A=2434971/R=0/SIG=11eeoolb0/*http:/www.n
etflix.com/Default?mqso=60185400> click here
<http://us.adserver.yahoo.com/l?M=298184.5584357.6650215.3001176/D=groups/S=
:HM/A=2434971/rand=114573000>
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
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!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor |
| Get unlimited calls to U.S./Canada |
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

