Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG in ListBox, mousemove fire ProgrammaticChange
Message
De
18/02/2004 06:18:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
BUG in ListBox, mousemove fire ProgrammaticChange
Divers
Thread ID:
00878222
Message ID:
00878222
Vues:
60
Fill a ListBox, hold down left mouse button,
and move on list Items:
multiple ProgrammaticChange occurs

correct is multiple InteractiveChange !

repro:
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show
RETURN

DEFINE CLASS form1 AS form

	ShowWindow = 2
	DoCreate = .T.
	Caption = "Form1"
	Name = "Form1"


	ADD OBJECT list1 AS listbox WITH ;
		RowSourceType = 1, ;
		RowSource = "AAAA,BBBB,CCCC,DDDD,EEEE", ;
		Height = 170, ;
		Left = 20, ;
		Top = 11, ;
		Width = 100, ;
		Name = "List1"

	PROCEDURE list1.ProgrammaticChange
           WAIT windows "programmaticchange   "+STR(m.this.ListIndex) NOWAIT	
        ENDPROC


ENDDEFINE
Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform