Paul McNett wrote: > Sibylle Koczian wrote: >> self.Choices = ["unknown"] + names >> self.Keys = [0] + pks >> >> That works, now "unknown" is selected and the info log message disappears. >> But >> does it really mean a dropdown list must have an entry with key 0, even if >> completely artificial? > > No, but thanks for finding the source of this message (I've been > wondering myself). Somewhere we are certainly saying "lst.Value = 0" > when in fact we should be saying 'lst.PositionValue=0'.
I didn't fix whatever something is setting lst.Value to 0, but I did clean up listbox behavior when its Value gets set to a non-existent key. Now, nothing is selected in that case. Please try out the latest subversion trunk. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
