Tk Library Source Code

View Ticket
Login
Ticket UUID: 1588808
Title: Combobox autocomplete won't turn on/off
Type: Bug Version: None
Submitter: daiei27 Created on: 2006-11-01 19:17:24
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-11-11 04:57:29
Resolution: None Closed By: dev_null42a
    Closed on: 2006-11-10 21:57:29
Description:
## Bug info
I'm making a tool that has a combobox.  I tried adding
an option to allow the user to turn autocomplete
on/off, but it doesn't seem to be configurable after
it's been created.  (Using Tcl/Tk 8.4.13 with BWidget 1.8)

The tool does this via the '$path configure
-autocomplete $value' command, where $path is obviously
to the combobox and $value is 0 or 1. Doing a cget
shows the value is changing, but the functionality of
autocomplete never changes.

## Patch info
I decided to take a peek into the code and found it was
easy to add.  While testing, I found autopost suffered
from the same problem so I added it as well.  I'm
attaching the patch to enable/disable both with the
configure command.

The patch was made from combobox.tcl in BWidget 1.8.0.
 Unless there is reason not to, I would appreciate it
if you would incorporate this patch to make
autocomplete/autopost configurable.

HTH,
Chris
User Comments: dev_null42a added on 2006-11-11 04:57:29:
Logged In: YES 
user_id=1381097

Patch merged.  Thanks.

daiei27 added on 2006-11-02 02:17:25:

File Added - 201004: combobox.tcl.patch

Attachments: