>>I'm using toolbar on my data entry form for rec navigation and saving/deleting etc..
>>
>>As toolbars don't receive focus, i use a generic routine to set focus again on the current control for the value to get updated...
>>
>>Now problem is, there's valid code in column 1 of grid, if the focus is on column 1, and I try to add a new record, which adds a blank record and requeries the view (on which grid is based) and make it empty, my valid condition fires and warns that value is invalid..(cos it is empty ) and not leaving grid's column 1....
>>
>>Can anybody help me on this ??
>
>Hi, I don't know if it will help but I had the same problem. So I put a patch button in my form class. I put a procedure to set focus the button if a toolbar click fires or a shortcut key was used. That way, the value of the current control is updated and I can setfocus to the first control.
Is ur command button visible ?? (visible=.t.)
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