>>What is the cleanest/best way to make sure that the contents of a textbox in a column of a grid get updated when the user clicks on the menu or toolbar?
>>
>>Thanks in advance.
>>
>>Sarosh
>
>Sarosh,
>
>Call its SetFocus method.
Thanks for your prompt reply.
I tried it out but it didn't seem to work.
in the writebuffer method
*-- some code here
if upper(thisform.activecontrol.baseclass) = "GRID"
ogrid=thisform.ActiveControl
ogrid.setfocus()
*ogrid.activatecell(ogrid.activerow,ogrid.activecolumn)
*-- tried both the above statements but no luck
else
*-- some code here
endif
*-- some code here
Sarosh
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