Keith777a
Novice

Making a Control on a Form Default.

Jump to solution

Hi All,

 

I suspect that this one is easy, I'm just missing something simple. 

 

I have three buttons on a form Yes, No and Cancel.

 

I simply want to make the No the default buttton when the form loads.

I can't see a default option in the Controls Properties, and I don't see one in the Transfer Data properties either.

 

At the moment it keeps defaulting to Yes, which in this case is not a good thing for my clients using the form.

 

Regards

Keith

 

2095i3B910FBF1FE060C1.jpg

0 Kudos
Reply
1 Reply
Keith777a
Novice

Re: Making a Control on a Form Default.

Jump to solution

Hi, I found it. Yes it was simple in the Forms Initializing Rule I used the 'Execute a control's method'

 

2096i09F183EFE330B2BC.jpg

 

In the Case of a Button Control it only has a Focus method.

 

2097i73E600667F6A9240.jpg

 

So now my No Button has the focus when the Form Starts, which eliminates the problem that was causing.

 

Thanks

Keith

 

0 Kudos
Reply