gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] small change to address postcode events.


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

There is a small change to business/gmDemographicRecord (new function ) and a small change to wxpython/gmDemographics , to let a user enter a postcode first, then pick from a restricted
urb
picklist ( 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.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]