Good point Richard... 8-)  FWIW was "redefining" the grid because I do not
create the cursor for the grid until the init of the form.  Had worked
before so I saw no reason to change per se...

How bizarre,  turns out (final proof pending) that I had moved a column,
using the mouse, to the far right and then deleted it by reducing the
number of columns in the layout section..  As I had mentioned the first few
columns were just fine at about the fourth column (where the moved column
was) column width abruptly changed to 1.  Followed Mr. Croziers advice,
Mr. Pearson's no joy.  Deleted the original grid,  recreated a new and now
have four good columns,  no issues,  same code (with fewer columns).

So my thinking is that removing the column the way I did caused the
problems?

Analysis paralysis perhaps?

Regards,
Desmond








On 5 September 2014 08:43, Richard Kaye <[email protected]> wrote:

> If you're going to the effort of building all this in code, why not just
> add setting width as part of your routine? Or did I miss something?
>
> --
>
> rk
> -----Original Message-----
> From: ProfoxTech [mailto:[email protected]] On Behalf Of
> Desmond Lloyd
> Sent: Friday, September 05, 2014 9:21 AM
> To: [email protected]
> Subject: Re: VFP6: Grid Column Width Issue
>
> Thank you,  however no joy...  What am I doing wrong?  (you're supposed to
> focus your attention to the west and figure it out! 8-))  I have another
> form that I am doing the same thing with and it works fine,  and I don't
> even blank the record source.  Create the cursor,  bob.recordsource =
> 'mycursor' bob.grc1.column1.controlsource = 'mycursor.field1' and off we
> go... The code is the same in the new...
>
> Interesting enough the first three columns are just fine...  Am going to
> reduce the grid to those first three columns and start building it up one
> column at a time...   But if anyone has any ideas I would be most
> interested...
>
> Regards,
> Desmond
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAAJXvaOnZmzn1J2_LmjVfby0tKEXxdozUbg+42Lt=mx1s+p...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to