Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move by splitbar and column visible=.f. with grids
Message
De
07/04/2005 07:38:53
 
 
À
07/04/2005 07:19:26
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01002174
Message ID:
01002200
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>No my problem not about that. In vfp9 visible really enough for hide column. I think about there is a bug. Columns mixed when using vertical splitbar...:
>
>I'll draw:
>
>
>think it a grid:
>
>Name Surname City Address .......
>
>
>I'm using horizontal splitbar for move left-right, then grid become:
>
>
>Name Name Name Surname City Address .......
>
>
>If I use keyboard for move it doesn't occurs. If I press each name header, my grid will recorrected.


Oh, I see what you mean now

Cannot reproduce this in vfp6, so I cannot be of much help

Maybe the scrolled event of the grid can help

(this is a trick I use to force re-evaluation of DynamicBackColor and the like, adapted a bit)
** grid init
    =m.this.AddProperty('HeightDelta', -1)


** scrolled
LPARAMETERS nDirection

    ** I would first try with
    =m.this.ShowMeProperly()

       ** next, if this works, add inlist(m.nDirection, 6, 7)
    && =inlist(m.nDirection, 6, 7) and m.this.ShowMeProperly()

** 
** ShowMeProperly

        local LockScreen

	LockScreen = m.thisform.LockScreen
	thisform.LockScreen = TRUE

	this.Height = m.this.Height + m.this.HeightDelta
	m.this.HeightDelta = -m.this.HeightDelta

	thisform.LockScreen = m.LockScreen 
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform