On Saturday, August 06, 2011 01:09:04 pm bob k. wrote:
> is it possible to add an image to a bitmap button.  The Object Info shows a
> ‘picture’ field but I’m unable to edit.
> 
> bob k.

dabo.ui.dBitmapButton(self, TabStop = False, RegID="btnSaveID", 
Picture="document-save.png",BorderWidth=1,ToolTipText="Save or 
Update",OnHit=self.onSave)

The "Picture" the file name.

I think there is a second way too - but can't recall!

Johnf
_______________________________________________
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]

Reply via email to