Thank you Ed, I'll have a look at the mover class then. I think you got the idea of what I wanted to accomplish.
Cheers, Y.Chaouche ----- Original Message ---- From: Ed Leafe <[email protected]> To: Dabo Users list <[email protected]> Sent: Mon, November 1, 2010 12:44:03 AM Subject: Re: [dabo-users] How far can I customize the UI ? On Oct 31, 2010, at 9:36 AM, chaouche yacine wrote: > In the attached image, As you probably noticed, attachments are stripped from list mail. It's much better to post the image any of the free services out there, and include a link to it. > I want to drag'n'drop from the left grid to the right > grid. The left grid represents all available entries, possibly filtered using > one or more of the filters at the top (user checks each filter he wants to > activate, and then enter a value for that filter. An and is applied). > > Is this possible using Dabo ? I know you can add filters to bizObjs using > addFilter, is this the way to go ? Filters sound like the right approach. They're for when you don't want/need to constantly requery the database. > Do I have to attach a (empty ?) DataSet to the right grid ? Not initially, but you're going to have to when you want data to be displayed. > Is drag'n'drop supported ? Yes, but only for text and files. Dragging from controls requires the developer to handle the mouse events manually at the wxPython layer, and from experience, this is not very easy to do well. A better interface might be something like the 'mover' class included in the 'ide' directory. That uses a pair of lists, with buttons to move items between the lists. -- Ed Leafe _______________________________________________ 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] _______________________________________________ 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]
