Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing grids
Message
 
To
24/09/1999 20:42:57
Criss Jensen
Injury Prevention Research Center
Iowa City, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00268722
Message ID:
00268868
Views:
20
>>>Hi All!
>>>
>>>I have a form with two grids on different pages. I create a cursor that is the record source for the grid on the second page based on the selection in the grid on the first page. I do this in the refresh of page 2, which specifically calls the grid's refresh. Both grids have only one column in which I have replaced the textbox with an editbox. The first time the grids are displayed, they are fine, but after refreshing, I seem to have a textbox again instead of my editbox, and despite resetting Sparse = .F. in the grid refresh, I only see "Memo" in that field. What am I missing?
>>>
>>>TIA,
>>>Criss
>>
>>Criss, you say "replaced" - did you actually remove it?
>>
>>Nick
>Yes, Nick. I deleted the native textbox and put my baseclass editbox in it's place. The column's currentcontrol is edtbase1. I did this visually, not with code.

This is strange. Did you try to see in the Watch window what the controls are in that column at the runtime?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform