Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox value during the valid event
Message
 
To
18/03/2000 18:54:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00347363
Message ID:
00347608
Views:
22
It should work then. Try to add
this.value = this.value
before sending it as a parameter.

>Hi Nick
>
>The type of the bound column is integer.
>BoundTo is .T:
>
>Oscar
>
>>>I’m using a ComboBox with RowSourceType is 6 (fields). On its Valid event I send its Value property to a method as parameter. However, the value sent as the parameter (This.Value) from the valid event is not exactly the one to which its bound column is linked to. In other words, the Value property still doesn’t have the required value while the valid is in execution.
>>>
>>>
>>>How can I make sure that the value linked to the item chosen by the user is the one I’m’ sending as the parameter?
>>>
>>>
>>>Thanks in advance for any help.
>>
>>Oscar, what is the type of that field which goes to value and what is the setting of BoundTo property?
>>
>>Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform