Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrollbar doesnt move on editbox.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00803654
Message ID:
00803905
Vues:
10
>I have an editbox in a grid with the column set to sparse=.T.
>When the control is enabled and I have enough text I can scroll with the
>wheel on the mouse but the scroll bar never moves also if I click the scroll
>bar the data scrolls but the bar stays stationary.

Hmmm. I can duplicate the behavior in a form, but it doesn't seem to want to happen with a code repro. Anyone have better code I can use?
CREATE CURSOR test (cField C(1), mField M)
INSERT INTO test VALUES ("A", REPLICATE("X", 100))

loform = CREATEOBJECT("Form")
WITH loForm
	.AddObject("Grid1", "Grid")
	WITH .grid1
		.RecordSource = "test"
		.RecordSourceType = 1
		.RowHeight = 60
		.ColumnCount = 2
		WITH .Column2
			.Sparse = .F.
			.Width = 200
			.AddObject("Edit1", "Editbox")
			.CurrentControl = "Edit1"
		ENDWITH 
	ENDWITH 
	.SetAll("Visible", .T.)
	.Show()
ENDWITH
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform