johnf wrote: > On Thursday 12 June 2008 11:24:29 pm Uwe Grauer wrote: >> johnf wrote: >>> It seems that everyone needs a lookup control. I created my own and so >>> has Nate. I'm sure Paul has too. Does anyone believe that a generic >>> lookup control can be created for Dabo? >> Can you explain what exactly you mean? >> Do you think of a generic combobox which is able to lookup string >> entries for a given foreign Key of a record or are you after a lookup >> dialog which for example is able to add a adress record to a person >> record? >> >> Uwe > > Not only FK's but PK's too. > > The classic: > > You have a customer screen and need to retrieve the info. Or lookup a > invoice > number to retrieve the detail lines. > > In my case I have a class that uses a table containing meta data. The table > has the name of the required table, the associated field name, etc.. Then > the class determines the size of the grid for the display. > > But if you think about it almost every app needs a why to do a lookup .
I don't think that your method of using a "metadata table" is generic enough to develop a lookup control for Dabo which is of enough help for other people. Your "metadata table" is too application specific for your use case. A special use case doesn't fit into a generic framework. Uwe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
