Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ControlSource X Value
Message
From
13/12/2000 21:52:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00453209
Message ID:
00453214
Views:
26
>Hi...
>
>I still have a problem... I think it's a VFP's bug!
>
>Create a Form and put one Textbox.
>
>ThisForm.TextBox.ControlSource = "Table.Field"
>
>ThisForm.KeyPress:
>If nKeyCode = -7 && F8
> MessageBox("Value: "+ThisForm.TextBox.Value)
> MessageBox("Table.Field: "+Table.Field)
>EndIf
>
>Save and RUN...
>
>Type "something" in Textbox and press F8...
>
>The Value contain SOMETHING, but the field not...
>
>Is it a VFP's Bug?
>
>[]'s
>
>Rodolfo Duarte
>Brazil.

Not a bug - maybe not the way it should work, but not a bug :)

The object doesn't write out to it's ControlSource until it loses focus somehow.

Since you are hitting a hotkey to do this, it isn't losing focus.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform