Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column order changes
Message
De
21/08/2006 23:47:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Column order changes
Versions des environnements
Visual FoxPro:
VFP 6 SP3
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01147478
Message ID:
01147478
Vues:
56
Dear Experts

Grid1 has 15 columns in original column order from 1 to 15.
The left most two columns are freezed.
While scrolling cursor in grid, the column order is changed.
How to keep coloumns in their original columns order set.
I have following codes on AfterRowColChange.
Please help
thisform.lockscreen = .T.
IF This.Column1.ColumnOrder <> This.LeftColumn THEN
	this.Column1.ColumnOrder = This.LeftColumn
	this.Column2.ColumnOrder = This.Column1.ColumnOrder + 1   && left 2 column to be freezed
ENDIF
*----------------------------
IF dodefault( nColIndex)
	this.nCurrRec = RECNO()
this.Refresh()
ENDIF
*----------------------------
thisform.lockscreen = .f.
thisform.REFRESH
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform