Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7977

Re: SeUIXP SetBandBackground don't apply

Subject Re: SeUIXP SetBandBackground don't apply
From Camille Kater <katercam@pt.lu>
Date 2015-04-23 12:56 +0200
Message-ID <1429787570_5@vo.lu> (permalink)
References <e17102e2-74f1-48b7-8fc3-7b418a8791d1@googlegroups.com>
Newsgroups comp.lang.clipper.visual-objects

Show all headers | View raw


Hi Paulo,

I have the same problem when I try to use a colorobject.
Now I use a Bitmapobject with a background color. That works.
 > SELF:toolbar:SetBandBackground(,BKBlue{})

Camille

On 23/04/2015 12:17, Paulo Oliveira wrote:
> Hi all,
>
> ArtigosManut is a DataWindow, why oTB:SetBandBackground(,TBBackground{}) don't work in this context?
>
> METHOD SetToolbar() CLASS ArtigosManut
> 	LOCAL oTB AS SeToolBarXP
>
> 	oTB := SeToolBarXP{ }
> 	oTB:SetBandBackground(,TBBackground{})
> 	oTB:Bitmap:=ToolBarJanela16{}
> 	oTB:ButtonSize := Dimension{16, 16}
> 	oTB:ButtonStyle := TB_TEXTANDICON
> 	oTB:AppendItem(29,1,,1,"Gravar")
> 	oTB:AddTipText(29,1,"Gravar Artigo")
> 	oTB:AppendItem(11,3,,3,"Cancelar")
> 	oTB:AddTipText(11,3,"Cancelar Edição")
> 	oTB:Flat := TRUE
> 	SELF:ToolBar := oTB
> RETURN SELF
> TIA
> Paulo Oliveira
>


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

SeUIXP SetBandBackground don't apply Paulo Oliveira <paulo@clipinfor.com> - 2015-04-23 03:17 -0700
  Re: SeUIXP SetBandBackground don't apply Camille Kater <katercam@pt.lu> - 2015-04-23 12:56 +0200
    Re: SeUIXP SetBandBackground don't apply Paulo Oliveira <paulo@clipinfor.com> - 2015-04-23 04:23 -0700
      Re: SeUIXP SetBandBackground don't apply Camille Kater <katercam@pt.lu> - 2015-04-23 15:39 +0200

csiph-web