Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG#6: Scrollbug with Invisible columns in grid
Message
De
19/02/2003 14:00:52
Walter Meester
HoogkarspelPays-Bas
 
 
À
19/02/2003 13:56:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00754850
Message ID:
00755101
Vues:
29
Jim,

Thanks for the workarround, this should do nicely...

Walter,
>DEFINE CLASS grd AS grid
>    columncount = 6
>    procedure init
>    	procedure init
>		FOR EACH oColumn IN this.Columns
>			* can bind props also
>			BindEvent(oColumn,'visible',this,'vischeck')
>		ENDFOR
>	endproc
>	
>	procedure visCheck
>		AEvents(aCol,0) && populate array w/ eventsource
>		with aCol[1]  	&& first element is eventsource obj
>			if .&aCol[2]. && 2nd element is bound PEM
>				.tag =  Transform(.Width)
>				.Width = 0
>			else
>				.Width = Val(.tag)
>			endif
>			this.scrollbars = this.scrollbars
>		endwith 	
>	endproc
>ENDDEFINE
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform