Eurico Chagas Filho wrote: > Hi > > The first time a combo box(style 2) opens it's text box is empty. > After I choose an item from the drop down list, it shows up > in the text box. How can I empty the text box after I've chosen > an item and want to disregard it ? > >
I like to put this code in the rightclick event of the combobox: this.value = 0 or if it's a character field: this.value = "" Add tooltiptext to inform the user that right-clicking the object will clear the value. You could design something similar for keyboard users in case a mouse is not available/preferred. hth, --Michael _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

