Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who called me
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131818
Message ID:
01131822
Views:
12
>>Hi everybody,
>>
>>While working with the combobox I'd like to see which method called the current method. In particular, the combobox has the same code in Click, InteractiveChange and even in LostFocus. I want to make sure I'm not executing this method more than once if I click on the item or change something.
>>
>>Do you have ideas how can I make sure that the method called only once when some action is taken (like changing the value)?
>>
>>Thanks in advance.
>
>Didn't ASTACKINFO( ) or PROGRAM() work?
>I would do something different. In this method I would do:
>
>
>IF NOT ...Combo.Tag == TRANSFORM(...Combo.value)
>   ** Do whatever you want to do
>   ...Combo.Tag = TRANSFORM(...Combo.value)
>ENDIF
>
Great minds <g> I'm currently working on the same idea using CurrentlySelectedValue as a new property that I add in Init's method.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform