Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can anybody help a newbie? II
Message
From
05/10/1999 17:56:13
 
 
To
05/10/1999 17:50:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00272960
Message ID:
00272963
Views:
20
Hi Jimmy,

>that would probably work if i could set up my variables correctly.
>where would i declare 'combo1+combo2+....+comboN = TheComboSums'
>combo1 is the NAME of my 1st combo box?

You can just hit reply at the bottom of my message to extedn your question. THat way it'll keep it in one thread, and will automatically notify my of your respnse. Anyway...

Do this:

Thisform.Text1.Value = Thisform.Combo1.Value + Thisform.Combo2.Value
Thisform.Refresh()

Thisform is a built in identifier to the form containing the object of the method or event you're in. Text1 is the Name property of the Textbox you want changed, as well as the Combos. I would put this in the InteractiveChange event of the two combos instead of the Click event of the Textbox.

Does this Help? And welcome to the Universal Thread, By the Way.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform