Click to See Complete Forum and Search --> : How can I give InputBoxes focus???


aussiecyclone
March 14th, 2001, 11:55 PM
Hi,

After making an exe file, ImputBoxes in my app do not have focus. They are shown and the curser is flashing in the text InputBox and I have to click on it to give it focus.

After lost focus on a combo, if a condition is not true I have the code, "Call Command1_Click"

Private Sub Command1_Click()

NEW_Value = InputBox("Please enter the New Value.")

This works ok in IDE, the inputBox has focus but not from the exe.

How can I give the inputBox focus when called?

Any help appreciated.

Regards,

Alan