Index
2011-08-06 16:09 – bob k. : [dabo-users] dBitMapButton
2011-08-06 16:12 – John Fabiani : Re: [dabo-users] dBitMapButton
2011-08-06 17:45 – bob k. : Re: [dabo-users] dBitMapButton
2013-06-15 18:54 – Ricardo Aráoz : [dabo-users] dBitmapButton
Back to top
[dabo-users] dBitMapButton

Author: bob k.

Posted: 2011-08-06 16:09:04   Link

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

©2011 bob k.
Back to top
Re: [dabo-users] dBitMapButton

Author: John Fabiani

Posted: 2011-08-06 16:12:26   Link

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

©2011 John Fabiani
Back to top
Re: [dabo-users] dBitMapButton

Author: bob k.

Posted: 2011-08-06 17:45:29   Link

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

©2011 bob k.
Back to top
[dabo-users] dBitmapButton

Author: Ricardo Aráoz

Posted: 2013-06-15 18:54:10   Link

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

©2013 Ricardo Aráoz