Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
06/11/2006 01:11:40
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
05/11/2006 22:55:49
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grid
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01167233
Message ID:
01167251
Views:
14
Ed,

it sounds like you change the recordsource of the grid like
*your query
.grid.recordsource = 'curSorName'
this will remove all columns and create new one. The newly created will know nothing about your preset.

consider the use of a CursorAdapter and bud the cursoradapter.alias to the grid.

Agnes
>Dear all,
>
>I have made a form with a grid on it and fixed all column width, but everytime I run the form with some query on data and programatically addressed the result query to be the grid recordsource, the columns width will change based on the fields length. Anyway to prevent this?
>
>Thanks in advance.
>
>Ed
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform