Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to erase content of the last active combobox
Message
From
31/07/2002 10:40:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00684467
Message ID:
00684475
Views:
22
>It can be done. Just set the Combo.Value property to "", or 0, depending on the datatype of the Value property. I am assuming that "" and 0 are not the valid BoundColumn values of the List.

Let me give you more details on what I want to do.

I want the delete button to delete the content of the right combobox. You see from my example that now I have two comboboxes containing values. I just want to erase the content of the last accessed combobox.

>
>>VFP6
>>
>>Because I don't have much space on my screen here's what I'd like to be able to do
>>
>>Have four comboboxes and only one button to delete the content of a combobox
>>
>>Example : User selects something with combobox3 then user selects something with combobox1 but realizes he made an error and clicks on the delete button and this deletes the content of combobox1
>>
>>Can this be done? and how?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform