Walter Meester
HoogkarspelNetherlands
Hi Chris,
>Not sure if this applies to your question, but I believe the way that the Mere Mortals .NET framework handles this is:
>
>1. The form has a FocusOnNewControl property, which is of type Control. I believe all windows controls are derived from this class.
>1. The form itself calls a business object to add a new record, typically after a button is clicked.
>2. After the business object (called a primary business object) has created the record, if the FocusOnNewControl is not null, the form calls the control's Focus() method.
>
>Not sure if I explained that very well, but I think that is the gist of it.
I think I understand how it is done. However it begs the question how do you set the forms FocusOnNewControl property in design mode ?? Of course this only works when each control does have a SetFocus method.
Thanks,
Walter,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only