Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing text on a combobox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00801442
Message ID:
00802899
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform