On Sun, May 8, 2011 at 16:55, Stef Kariotidis <[email protected]> wrote: > Greetings to the list from a newbie and thanks for the creation of Dabo, > > This is my first time posting to the list so please bare with me > considering the following questions... > > I would like to ask two things: > > 1) I develop an application who monitors networked machines and i use > SQLite to save the state of the networked machines over time and some > statistics. I also have some modules > to handle the monitoring process and the logic of the app. My question > is, where is the right place to put the logic of the application in > respect to the Dabo application? I know that the database information > (***. cnxml) goes to db directory and that the modules that handle the > queries (bizobjs go to their directory (biz)). > Where is the right place to put the database file (***.sqlite) and the > rest of the python modules which are the logic of the application?
I normally put the database file in the db folder as well. You can put the python modules in the Lib folder (or at least that's what I do). > 2) I want to create a drop down box (combo box?) with intelligence > enabled; more specifically as the user types in, the control searches > data from a database table suggesting entries, > after finding the correct entry the user presses <enter > or <tab> to > accept the value and goes on with the rest of data entry. I would actually use a dTextBox and extend it so that the key down event renders a search which triggers a pop-up menu with the suggestions. The user can continue entering data or press the down arrow or tab to navigate into the pop-up menu and select an intelli-sense entry. You may want to take a look at the dEditor code for how it does intelli-sense with the editor window. Regards, Nate _______________________________________________ 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]
