General information
Category:
Forms & Form designer
I thought you couldn't call setfocus from lostfocus?
-Michelle
>What is 'header6' here?
>Hopefully, it's column, and if yes then try something like:
>thisform.grid.columnx.setfocus
>and if does not work try
>thisform.grid.columnx.setfocus
>NODEFAULT
>
>>I am afraid I may be referencing the text control improperly in the setfocus command.
>>
>>the way I am doing it is
>>
>>thisform.griddetail.header6.text1.setfocus
>>
>>>>I have a grid on my form with 6 columns of data.
>>>>
>>>>in the 6th column is a textbox which I want to make a required entry field if a certain condition is true. i have no problem checking for the condition in the lostfocus method. When i determine that there must be something in the text box I am haveing difficulty in setting the focus back to that specific field.
>>>>
>>>>Any ideas?
>>>>
>>>>Nick Berryman
>>>
>>>Do you mean than Column/Control.SetFocus does not work properly? Did you try to add NODEFAULT?
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