Hi,

First you need to declare or autodeclare the property of the field/grid , on the form.
If you need to always set focus to a control when the form opens then you should use the method "firstField" and here u write to setfocus the required field say grid.setfocus(); (after the super()). similarly set focus to the next object , on the method activated when the control leaves the field.


cheers,
Girish

-----Original Message-----
From: Ferry Widjaja [mailto:[EMAIL PROTECTED]
Sent: 15 September 2003 08:11
To: Development-Axapta
Subject: [development-axapta] Method for Set Focus a control



Hi guys,

Is there anyone that can help me for making a method to set focus a control
when a form is opened? And, how to make a method to set focus to another
control when the cursor leaves a control? Thank you.


Rgrds,


Ferry



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to