Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7194 > unrolled thread
| Started by | dextrasistemas.jorge@gmail.com |
|---|---|
| First post | 2014-09-10 07:49 -0700 |
| Last post | 2014-09-11 16:35 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Push button , text, image etc dextrasistemas.jorge@gmail.com - 2014-09-10 07:49 -0700
Re: Push button , text, image etc "Willie Moore" <williem@wmconsulting.com> - 2014-09-10 10:28 -0500
Re: Push button , text, image etc D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-09-11 10:03 +0200
Re: Push button , text, image etc "Fred Killet" <info@killetsoft.de> - 2014-09-11 11:57 +0200
Re: Push button , text, image etc D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-09-11 16:35 +0200
| From | dextrasistemas.jorge@gmail.com |
|---|---|
| Date | 2014-09-10 07:49 -0700 |
| Subject | Push button , text, image etc |
| Message-ID | <5d8e41b7-9876-4103-b337-e91dc355bd02@googlegroups.com> |
hi I know there has been much talk on this subject ... finally .... what is the best way to display buttons with text and image (bitmap ico)? thanks in advance ! Jorge Accinelli
[toc] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2014-09-10 10:28 -0500 |
| Message-ID | <lupqmn$h90$1@speranza.aioe.org> |
| In reply to | #7194 |
Jorge,
In VO 2.8 there should already be text (in the self:caption) showing up on
your button. I use a method to remove the caption if the bitmap or icon is
displayed so it looks they way I wanted it to look.
Regards,
Willie
Vulcan VIP
CLASS wmPushButton INHERIT PushButton
METHOD __SetImage(oNewImage) CLASS wmPushButton
IF IsThemeEnabled()
IF IsInstanceOfUsual(oNewImage, #Icon) .OR.
IsInstanceOfUsual(oNewImage, #Bitmap)
SELF:ImageList := ButtonImageList{oNewImage}
SELF:Caption := "" // ADDED THIS LINE
RETURN TRUE
ENDIF
ENDIF
RETURN FALSE
METHOD init(oOwner, xId, oPoint, oDimension, cText, kStyle, lDataAware)
CLASS wmPushButton
SUPER:init(oOwner, xId, oPoint, oDimension, cText, kStyle, lDataAware)
SELF:SetStyle(BS_NOTIFY)
RETURN SELF
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2014-09-11 10:03 +0200 |
| Message-ID | <oml21ade8ppsq43g42q4uiocdaitravqp2@4ax.com> |
| In reply to | #7194 |
On Wed, 10 Sep 2014 07:49:34 -0700 (PDT), dextrasistemas.jorge@gmail.com wrote: > Hello Jorge, > >I know there has been much talk on this subject ... >finally .... what is the best way to >display buttons with text and image (bitmap ico)? >thanks in advance ! > I think in VO that's still Hoverbuttons. Dick
[toc] | [prev] | [next] | [standalone]
| From | "Fred Killet" <info@killetsoft.de> |
|---|---|
| Date | 2014-09-11 11:57 +0200 |
| Message-ID | <lurrmn$r96$1@news.albasani.net> |
| In reply to | #7194 |
Hi, texted and imaged push buttons with round, cartouche and other forms on transparent or collored backgrounds are provided by Graphics4VO. The special push buttons are easy to implement. Download the linkable test version or the runable examples program from our Graphics4VO site http://www.killetsoft.de/p_gvoa_e.htm. -- Fred Killet killet-nospam@killetsoft.de --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2014-09-11 16:35 +0200 |
| Message-ID | <glc31adanitoavkhik8hu4324bb2k1o9o6@4ax.com> |
| In reply to | #7199 |
On Thu, 11 Sep 2014 11:57:39 +0200, "Fred Killet" <info@killetsoft.de> wrote: Hello Fred, > >texted and imaged push buttons with round, cartouche and other forms on >transparent or collored backgrounds are provided by Graphics4VO. The special >push buttons are easy to implement. Download the linkable test version or >the runable examples program from our Graphics4VO site >http://www.killetsoft.de/p_gvoa_e.htm. I keep forgetting that (started with Hover buttons well before I bought Graphics4VO). ... So I restate my advise Jorge: buy Graphics4VO. Hoverbuttons work but are very old and non maintained code. Graphics4VO works excellent, is maintained and inexpensive and it can do a lot more than just the buttons. Dick
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web