On Dec 4, 2007 10:45 AM, Paul McNett <[EMAIL PROTECTED]> wrote: > Nate Lowrie wrote: > > > thanks... I feel dumb at the moment... > > > > On Dec 4, 2007 10:41 AM, Ed Leafe <[EMAIL PROTECTED]> wrote: > >> On Dec 4, 2007, at 12:36 PM, Nate Lowrie wrote: > >> > >> > I know I have done it before somewhere. What is the syntax to put an > >> > Image in a button? Couldn't find anything in the code... > >> > >> Use dBitmapButton, not dButton. > > Actually, this has bothered me from the beginning: we should really have > a single class, dButton, which can display text and/or pictures. This > will probably wait until our redesign - if it happens - which uses > proxying to the underlying wx layer. > > But at the very least we should have named it 'dImageButton' or > 'dPictureButton'.
It is misleading because you can use picture formats other than bmp in the button. I agree with you on the single class. _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/dabo-users/[EMAIL PROTECTED]