Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing text on a combobox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00801442
Message ID:
00802899
Views:
23
Thanks for your reply Jim, the problem was in the interactivechange event. There was a select to another table that was causing the combo to clear the displayvalue property.

Enmanuel

>Because you are blanking out the critical combo properties.
>
>I would accomplish this by having both a combo and a textbox in the fomr. The textbox is initially Visible = .F. the button click would be something like...
>
>
>WITH Thisform
>   .Lockscreen = .T.
>   .Textbox.Value = Thisform.combo.displayvalue
>   .Combo.Visible = .F.
>   .Textbox.Visible = .T.
>   .Lockscreen = .F.
>ENDWITH
>
>
>Now the user can edit in the textbox. When tyhey are done just reverse the sequence.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Reply
Map
View

Click here to load this message in the networking platform