General information
Category:
Forms & Form designer
The best place for this behavior is the GotFocus event for the form. You will only want to do this on the first occurance however. Just set a form property (form.Comment) to determine if further gotfocus events should call the firstfocus method/procedure. If the focus is set in any event prior to Form::activate the form instanciation sequence is skewed.
Glenn
>Where is the best place to set the focus for the first field on my form?
>
>My form contains a class thats placed on the form, I'm assuming that this is interfering with the set focus.
>
>Any ideas?
>
>RC
>BSS
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