Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column shrinks
Message
From
29/11/2010 06:55:37
 
 
To
29/11/2010 06:49:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Miscellaneous
Thread ID:
01490843
Message ID:
01490856
Views:
55
Yes, I'm 110% as long as the grid is driven by a cursor. I do it all the time.

>Hey Tore Sure it will work ? I tried by zapping the grid source but the column width were resized after that.
>I will try again because it would be much better !
>>No. that's not the way to do it, at least not the best way. The way to do it, is what is called a "safe select"
>>Select whatever into cursor curdummy
>>Select CursorThatDrivesTheGrid
>>zap
>>append from dbf(curdummy)
>>yourgrid.refresh()
>>
>>>Maybe you are recreating the Grid controlsource. If so you should set it to blank
>>>and then reassign it after the cursor is created together with the single columns controlsource
>>>
>>>>Hello,
>>>>
>>>>When I run a form with 3 grids, in one grid, a column shrinks to about 2 chars, although its Width = 75.
>>>>The contents of the column(a datetime value) is there but I have to manually resize the column in order to see it.
>>>>
>>>>Any help is appreciated.
>>>>
>>>>Thanks.
>>>>
>>>>-gl
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform