Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox with MoverBars - How do I test for order change?
Message
 
À
09/03/2005 09:33:32
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00993763
Message ID:
00993995
Vues:
26
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform