|
From: | sjtan |
Subject: | Re: [Gnumed-devel] small change to address postcode events. |
Date: | Thu, 20 May 2004 10:00:32 +1000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 |
urbpicklist ( or accept the top item in the restricted picklist , which is default). To unset the urb picklist restriction , the postcode field has to be cleared.
- used existing gmMatchProvider.setContext code for the urb MP subclass.- also externally set input_was_selected flag if the urb field fills in the postcode field, so that tabbing past the postcode field from the urb field doesn't clear it because input_was_selected wasn't set by phraseWheel.SetValue() method. Maybe overload setValue() to do this, but input_was_selected flag may be for other things other then clearing the phrase wheel's text field.
In the context of urb field autofilling postcode field and having to navigate past postcode field , it seemed a good workaround without having to make it the default behaviour for phrasewheel.
[Prev in Thread] | Current Thread | [Next in Thread] |