Hi Martin

If you implement the void dialogSelectCtrl() in your class and call
dialog.allowUpdateOnSelectCtrl(true); in yout Dialog() method, your
dialogSelectCtrl() will be called when a control in the dialog gets
focus.

You might utilize this for your purpose.

Regards
Lennart Conrad

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Sujkowski
Sent: 18. januar 2006 19:03
To: [email protected]
Subject: [development-axapta] Dynamically disabling a control on
RunbaseReport subclass

Hello everyone,
i have subclass of runbaseReport that is supposed to collect
parameters and execute a report. The report in question can run in two
couple of modes. There are some parameters that dont apply depending
on which mode is chosen. I want to disable controls that do not apply
to the current mode. This is where i'm having problems.
The report mode is determined by a single checkbox on the dialog.
When the user checks/unchecks the checkbox i want to disable/enable
another control on the dialog. Unfortunately i do not seem to be able
to find any sort of state change event on the checkbox that i could
intercept. Anyone have any idea what to do?
Any help would be greatly appreciated.

Martin









Yahoo! Groups Links












SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to