Subject Re: Column Sequence in Grid
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Thu, 22 Sep 2022 10:29:45 -0700
Newsgroups dbase.getting-started

On 9/22/2022 9:50 AM, Milind Nighojkar wrote:
> Can somebody help me with coding pointers..?

Sorry, it seems we're getting confused in here between you and Michael Lind.

Michael is doing web forms.

Milind --

I have tried to capture the current column settings if a column gets
moved and I cannot figure it out. The method that makes the most sense
is to loop through the array of columns:

    function GRID1_onClose()
       ? "The Grid columns are:"
       for i = 1 to this.columns.size
           ? this.columns[ i ].datalink.fieldname
       next
    return

But the columns don't appear to have changed at all. So I don't have any
pointers for you.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm