Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG in ListBox, mousemove fire ProgrammaticChange
Message
From
18/02/2004 06:18:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
BUG in ListBox, mousemove fire ProgrammaticChange
Miscellaneous
Thread ID:
00878222
Message ID:
00878222
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform