Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating Grid Columns
Message
From
07/10/1998 00:06:34
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144438
Message ID:
00144454
Views:
17
>>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
Map
View

Click here to load this message in the networking platform