Search found 88 matches: hgray

Return to advanced search

print lines

I need to print dotted lines but I not remember how I can make it with oprn object no report
an help please

I use
oPenTratt := TPen():New(PS_DOT, 1, CLR_HGRAY, oPrn )
oPrn:Line(aDes[1],aDes[2],aHas[1],aHas[2],oPenTratt)
by Silvio.Falconi
Mon Nov 21, 2016 11:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: print lines
Replies: 6
Views: 1075

Re: Forma correcta de configurar clase TSBUTTON...alguna ayuda?

Compiling... Harbour 3.2.0dev (r1506171039) Copyright (c) 1999-2015, http://harbour-project.org/ Compiling 'tsbutton.prg' and generating preprocessed output to 'tsbutton.ppo'... Lines 3892, Functions/Procedures 2 Generating C source output to 'tsbutton.c'... Done. .\..\include\hbsetup.ch(66) Warning...
by Compuin
Mon May 02, 2016 12:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forma correcta de configurar clase TSBUTTON...alguna ayuda?
Replies: 14
Views: 4120

Re: Urgent : Listbox problem in FWH 15.09

Hello,

Meanwhile, I noticed what has been changed.

I have defined this : cLbx:nClrPane := CLR_HGRAY.

If the field is empty, nClrPane becomes white, if I put one blanc into the field, nClrPane becomes gray again.

In 15.08, nClrPane was always gray, even if the field was empty.
by driessen
Mon Sep 28, 2015 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Urgent : Listbox problem in FWH 15.09
Replies: 25
Views: 4886

Re: Input form

Vytas, This syntax is incorrect: REDEFINE GET oLand_Cover VAR LAND_COVER ID 1009 OF oEdit UPDATE VALID oEdit:oLand_Pos:setColor(CLR_HGRAY, CLR_HGRAY) It should be something like this: REDEFINE GET oLand_Cover VAR LAND_COVER ID 1009 OF oEdit UPDATE ; VALID (oLand_Pos:setColor(CLR_HGRAY, CLR_HGRAY), ....
by James Bott
Thu Jul 23, 2015 11:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Input form
Replies: 8
Views: 1734

Re: Input form

The VALID clause must return a logical value:

VALID ( oEdit:oLand_Pos:setColor( CLR_HGRAY, CLR_HGRAY ), .T. )

With the current FWH version, what you want to do is already implemented and it is as easy as:

SetGetColorFocus( CLR_YELLOW ) // or whatever color you may want to use for the focused GET
by Antonio Linares
Thu Jul 23, 2015 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Input form
Replies: 8
Views: 1734

Re: Input form

Hi Again, What am I doing wrong? I have tried various variables in the two valid statements and cannot get anything to work. I searched the web without any luck in finding any sample code doing what I want to do. Thanks again, Vytas ... DEFINE DIALOG oEdit RESOURCE "ATTRIBUTES" REDEFINE SA...
by Vytas
Thu Jul 23, 2015 6:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Input form
Replies: 8
Views: 1734

GEt change colors

If a get is readonly not is colorized as I wish for a sample : If I have for a sample a get @ nrow, ncol get aGet[1] var ix9 pict "9" PIXEL SIZE SIZEX,SIZEY OF oDlg NOBORDER FONT oFontNumeri UPDATE and then I call aGet[1]:setcolor(CLR_BLACK, CLR_HGRAY) it is colorize if I call the command ...
by Silvio.Falconi
Fri Jan 16, 2015 12:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GEt change colors
Replies: 1
Views: 389

Small correction in TBTNBMP Class to paint Disabled BtnText

Mr.Antonio, I was trying to change the Disabled Button Text Color, But it is always taking the Disabled Text Color as CLR_HGRAY Line 1367 in METHOD PaintCaption() CLASS TBtnBmp needs to be modified as under. //nClr = If( ::IsEnabled(), ::nClrText, If( ::lDisColor, CLR_HGRAY, ::nClrTextDis ) ) nClr =...
by RAMESHBABU
Thu Jan 15, 2015 5:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small correction in TBTNBMP Class to paint Disabled BtnText
Replies: 2
Views: 466

oget:bchange

how I can change a get on line when it is changed by user or update from a function called ? I have this get @ nrow, ncol get ax1 pict "9" PIXEL SIZE SIZEX,SIZEY OF oDlg NOBORDER CENTER ; VALID ax1 $ " 123456789" .and. Verifica_tutto(ax1,1,1,1) COLOR CLR_BLACK, CLR_HGRAY ; FONT o...
by Silvio.Falconi
Wed Jan 14, 2015 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oget:bchange
Replies: 7
Views: 1543

Re: Wbrowse Mejorado para probar

Buenas tardes, Os pongo una nueva versión compatible con usar wbrowse con oTree . Comentar que está implementado el cambiar el color del texto o fondo de una sóla columna asignándole un color o un codeblock, lo cual nos permite por ejemplo, que la columna importe se pinte en rojo si es negativo o ve...
by jmartial
Wed Sep 17, 2014 12:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Wbrowse Mejorado para probar
Replies: 5
Views: 1088

BUG msgitem (Antonio)

Hola, En un mensaje anterior del que nadie comentó nada, dije que cuando asignaba un tooltip a un msgitem, ni salía el cursor dedo del ratón al ponerse encima ni mostraba el tooltip. Me he dado cuenta que es un bug en la clase msgitem. No funciona el tooltip, si no está definido una ACTION. DEFINE M...
by jmartial
Mon Sep 08, 2014 10:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BUG msgitem (Antonio)
Replies: 1
Views: 439

Problema MESSAGE BAR

Hola, Antes de esta versión tenía este código: DEFINE MESSAGE BAR oMsgprin OF oWnd PROMPT "Terminal "+; terminal+" de "+alltrim(str(aValor[3]))+" "+If(substr(aValor[5],1,1)=="D","*","")+" "+aValor[4]+" ["+M->oPublic:c...
by jmartial
Sat Sep 06, 2014 6:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema MESSAGE BAR
Replies: 0
Views: 321

Re: Mixing colors. Mr. Ukoenig

Mr. Ukoenig, My second requirement is how to getting a certain amount of brightness from a base color: to make a function Get_MixColorBrightness() nBrightness: = Get_Brightness (CLR_HGRAY) nColor: = Get_MixColorBrightness(CLR_GREEN, nBrightness) // nColor will be green but with Brightness nBrightnes...
by hmpaquito
Tue Aug 05, 2014 7:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mixing colors. Mr. Ukoenig
Replies: 4
Views: 772

Mixing colors. Mr. Ukoenig

Hi Mr. Ukoenig and all: I would need to replace one color with another in a rgb color. EXAMPLE. If I have color CLR_HGRAY and I use ChangeColor(CLR_HGRAY, CLR_BLUE) I would expect to get something like a CLR_HBLUE result. That is, the "H" part of CLR_HGRAY (light) give light to CLR_BLUE Ch...
by hmpaquito
Wed Jul 30, 2014 12:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mixing colors. Mr. Ukoenig
Replies: 4
Views: 772

Greek Fonts in dialogs

Hi, How can I get greek fonts in a dialogue? I have a very small sample here but I can not see the greek characters FUNCTION parts(nRc,ooDlg) *------------------------------------------- LOCAL aRc:={space(5),space(25),0,0,0,0,0,0,space(30),space(15),space(15),space(30)} local oDlg, oFont if !empty(o...
by jorjio
Sun Jun 15, 2014 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Greek Fonts in dialogs
Replies: 6
Views: 998
PreviousNext

Return to advanced search