Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox click()
Message
From
11/06/2001 15:53:33
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00518019
Message ID:
00518054
Views:
8
HI Nadya,
Thank you for jumping in. Here is the code :

LOCAL nRow
This.Parent.TxtTtlLockerRent.Value = 0
FOR nRow = 1 to This.ListCount
IF This.Selected(nRow) THEN
This.Parent.TxtbaseTtlLockerRent.Value = This.Parent.TxtbaseTtlLockerRent.Value + VAL(This.List(nRow,2))
ENDIF
NEXT nRow

I tried to put it in the When Event with the same results than in the Cklick() event.

Thank you,
Christian Cote
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform