Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus to the visible first column, not the defined 1s
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01154356
Message ID:
01154548
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Hi Borislav

>O!
>I missed that part :-( sorry, Change the code in ADD button to be:

Saturday Night, eh! *vbg*

I have mixed matched both your codes for the working code below, for your feedback
THISFORM.LOCKSCREEN = .T.

THIS.PARENT.New()

WITH THIS.PARENT.grd
	FOR lnI = 1 TO .COLUMNCOUNT
		IF .COLUMNS(lnI).COLUMNORDER = 1
			cName = .COLUMNS(lnI)
		ELSE
			.DOSCROLL(4)
		ENDIF
	ENDFOR

	cName.SETFOCUS()
ENDWITH

THISFORM.LOCKSCREEN = .F.
I have also another thread regarding a mover container, the grid having columns that fit well within the width of the grid will by magic have horz. scroll bar and will scroll to the right most blank area. If I exit the mover and start it again the grids are behaving the way they should. This is purely VFP9 prob. I ran the same in VFP6 and this behaviour is not to be seen (Thread #1153984)
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform