Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox with MoverBars - How do I test for order change?
Message
 
To
09/03/2005 09:33:32
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00993763
Message ID:
00993995
Views:
29
It works for me. Try this:
PUBLIC oform1

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


	**************************************************
*-- Form:         form1 (d:\all_zapl\tte.scx)
*-- ParentClass:  form
*-- BaseClass:    form
*-- Time Stamp:   03/09/05 04:41:10 PM
*
DEFINE CLASS form1 AS form


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


	ADD OBJECT list1 AS listbox WITH ;
		Height = 170, ;
		Left = 29, ;
		MoverBars = .T., ;
		Top = 21, ;
		Width = 287, ;
		Name = "List1"


	PROCEDURE Init
		FOR asd = 1 TO 15
		    thisform.List1.AddItem(TRANSFORM(asd))
		NEXT
	ENDPROC


	PROCEDURE list1.OnMoveItem
		LPARAMETERS nSource, nShift, nCurrentIndex, nMoveBy
		WAIT WINDOW "I like to moved. moved :o)))"
	ENDPROC


ENDDEFINE
*
*-- EndDefine: form1
**************************************************
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform