On 12/1/10 8:08 AM, Sibylle Koczian wrote: > Hello, > > I'd like to use the AppWizard and then change more things in the result > than those shown in the tutorial. But I don't find the right places to > do it. > > First there are some small lookup tables which I might want to edit in > the application, but select/browse/edit pages are overkill. Ideally a > listbox or a grid with only one column (or two for tables with mnemonic > primary keys) would do. I suppose I could put a dForm into the > application or use a datanav.Form with SelectPageClass and EditPageClass > set to None. What would be the better choice?
You really have to experiment to find the best choice for you. My main application was originally generated from AppWizard and all my main forms ultimately derive from datanav.Form. I made a PanBrowsePick composite class that has LookupBiz property, and does Quickfill on your typing, and also comes with a "..." button which, when clicked, opens a datanav.Form with FormType="PickList". This lets the user set selection criteria, and/or sort the browse grid and press enter to select a record or escape to cancel the pick operation. Here's an example of it in operation: http://www.youtube.com/watch?v=u8lRjUO7SqY (low quality) -- or -- http://paulmcnett.com/PanBrowsePick.mov (requires quicktime) > And is there any example for using a datanav.Form with FormType not > Normal? Could a PickList be used for editing the table it shows? A PickList has Select and Browse pages, to pick an item from the list. The edit page isn't created. An Edit form has no select or browse pages, to edit the current record. Not sure if that was ever implemented though. Both picklist and edit produce modal forms. I have a hunch you want to leave FormType alone and just play around with tweaking a Normal datanav.Form. > More questions to come, but I'll experiment first. Okay! 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]
