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.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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/CF630B94803E4061AE159B6BF6C3949E@BobHP
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: 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/201108061312.27028.johnf@jfcomputer.com
thank you.
-----Original Message-----
From: John Fabiani
Sent: Saturday, August 06, 2011 4:12 PM
To: Dabo Users list
Subject: Re: [dabo-users] dBitMapButton
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: 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/201108061312.27028.johnf@jfcomputer.com
_______________________________________________
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/3353886038824F779EFD5D17585799C1@BobHP
Hi, with a dImage I am able to scale an image to a certain size
(controlling with ScaleMode how it is resized). Now with a
dBitmapButton there is no ScaleMode and it will always clip the image.
Is there a way to stretch or resize proportionally the image in the button?
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/51BCFEA2.6030600@gmail.com