Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox behavior - not responding
Message
De
09/06/2018 11:20:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Listbox behavior - not responding
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01660652
Message ID:
01660652
Vues:
91
Hi,

I have a form on which I create a LIstbox - Fill the data with following code:
Select curList
	With Thisform.ggListbox
		.RowSource = m.lcSQL
		.RowSourceType = 3
		.Requery()
		.ListIndex = 1
		.Visible = .T.
		.SetFocus()
	ENDWITH
It shows the listbox with all the content correctly, however I cant do anything with it. Click on any Item, it does not respond.

So for testing I had added a combobox with following code
With Thisform.ggListbox
		.RowSource = m.lcSQL
		.RowSourceType = 3
		.Requery()
		.ListIndex = 1
		.Visible = .T.
		.SetFocus()
	ENDWITH
	**FOR testing purpose I had added a combo gglCombo1
	With Thisform.gglcombo1
		.RowSource = m.lcSQL
		.RowSourceType = 3
		.Requery()
		.ListIndex = 1
		.Visible = .T.
		.SetFocus()
	Endwith
And the combo 'works' viz I can select a.s.o.
What should I change to my code so that the Listbox will also allow an item to be selected?

Regards,
Koen
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform