Search found 498 matches: setcolor

Return to advanced search

Re: Create a Panel width a text

... IF oDlgBacheca:nresult == IDOK aDim = GetLabelDim( oPanel2:hWnd, cMessage , oFont:hFont ) oPanel:setsize(aDim[ 1 ] + 60, aDim[ 2 ] + 50) oPanel:SetColor( "N/W*" ) oPanel:bPainted = { | hDC | DrawTextTransparent( hDC, cMessage , { 10, 10, aDim[ 1 ] + 100, aDim[ 2 ] + 100 }, 1 ) } ENDIF ...
by Silvio.Falconi
Sat Jan 06, 2024 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3185

checkres.txt

... los eliminé a todos. Pero el checkres.txt me sigue saliendo esto 31/08/2023 18:01:13: C:\Fuentes\Alfainmo\alfainmo.Exe -- BRUSH,286265516,TDIALOG:SETCOLOR(2900)->TDIALOG:NEW(219)->MSGRUN(38)->MSGWAIT(64)->MAIN(0) 31/08/2023 18:01:13: C:\Fuentes\Alfainmo\alfainmo.Exe -- ==================================================================================================== ...
by D.Fernandez
Thu Aug 31, 2023 9:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: checkres.txt
Replies: 4
Views: 377

Re: ERROR XBROWSE CON MERGEVERT

... := 3 olbx1:lcoldividercomplete:=.f. olbx1:acols[1]:lAllowsizing:=.f. olbx1:nRowDividerStyle := LINESTYLE_BLACK olbx1:lallowrowsizing :=.f. olbx1:setcolor(rgb(0,0,0),rgb(255,255,206)) olbx1:nRowHeight := 27 oLbx1:acols[1]:lMergevert:=.t. Imagen https://drive.google.com/file/d/1BZfNI0KHL-ax-1n5aYod_eDHdac1lvnR/view?usp=drive_link ...
by elmoiquique
Mon Aug 28, 2023 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR XBROWSE CON MERGEVERT
Replies: 8
Views: 568

Re: SAY dentro de BUTTOMBAR??

... oBar,; ,; ,; {aAcciones[i][6],aAcciones[i][2]},; ,; ,; (aacciones[i][4]),; ,; (aacciones[i][3]),; ,; ,; ,; .F. ) next AEVAL(oBar:aControls,{|o,n|o:SetColor(CLR_BLACK,CLR_BLUE)}) oBar:bPainted := {|| oBar:SayText( "Prueba", nil, "R" ) } //* los 2 primeros array marcan los colores ...
by José Camilo
Sat Jun 03, 2023 6:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SAY dentro de BUTTOMBAR??
Replies: 4
Views: 212

Re: Cambiar color a CheckBox en tiempo de ejecucion

carlos vargas wrote:Siempre y cuando no uses themes, todos los controles de fw tienen un metodo para eso.
Setcolor


Lo intente con SetColor y ON CHANGE ON CLICK pero no me funciona
by Compuin
Wed Mar 08, 2023 2:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar color a CheckBox en tiempo de ejecucion
Replies: 3
Views: 243

Re: Cambiar color a CheckBox en tiempo de ejecucion

Siempre y cuando no uses themes, todos los controles de fw tienen un metodo para eso.
Setcolor
by carlos vargas
Wed Mar 08, 2023 2:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar color a CheckBox en tiempo de ejecucion
Replies: 3
Views: 243

TSAY background color

Hi,

If the TSAY control is on the Dialog window, then I can change its background
Code: Select all  Expand view
oSay:SetColor(CLR_BLACK, CLR_RED)
 oSay:Refresh()

If the control TSAY is on TFolderEx:aDialogs[1], then oSay:SetColor() does not change the background color. Why?t
by Natter
Thu Dec 29, 2022 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TSAY background color
Replies: 2
Views: 253

Re: Dark-Mode and CHECKBOX

hi Antonio, Have you tried oCheckBox:SetColor( nClrForeground, nClrBackground ) ? No, i have used COLOR BFcolor, BGcolor but Result is same https://i.postimg.cc/gjwLD7g1/Set-Color-Checkbox.png the Caption is always BLACK so ...
by Jimmy
Sun Nov 27, 2022 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark-Mode and CHECKBOX
Replies: 16
Views: 937

Re: Dark-Mode and CHECKBOX

Dear Jimmy,

Have you tried oCheckBox:SetColor( nClrForeground, nClrBackground ) ?
by Antonio Linares
Sun Nov 27, 2022 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark-Mode and CHECKBOX
Replies: 16
Views: 937

Re: show a btnbmp pressed

... ".\bitmaps\plus.bmp" OF ::oBar ; TOOLTIP "plus numbers" ; ACTION (oSelf:oPlus:lPressed:=!oSelf:oPlus:lPressed,; oSelf:oPlus:setcolor( CLR_BLUE, If( oSelf:oPlus:lPressed == .t., CLR_RED, CLR_BLUE )) ,; oSelf:oPlus:refresh() but not run ok
by Silvio.Falconi
Mon Oct 17, 2022 10:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a btnbmp pressed on buttonbar
Replies: 9
Views: 601

Re: Readonly and/or disable GETs background color

Ok, never mind, it was my fault, sorry. I can change the GETs color (normal, readonly or disabled) with the usual SetColor() function. I forgot to have some code that changed the color back. :-)

EMG
by Enrico Maria Giordano
Sat Aug 06, 2022 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Readonly and/or disable GETs background color
Replies: 15
Views: 848

Re: color of the checkbox / radiobox

In this case :setColor is not suitable - they can only change the background. I need to change the color of the element itself
by Natter
Tue Feb 15, 2022 3:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: color of the checkbox / radiobox
Replies: 5
Views: 312

Re: DBCMD/2001 Workarea not in use: ORDKEYNO

... ,oRad[6]:Enable(),oRad[6]:Disable()),; if( !empty(oDbf:Acctacte) ,oRad[7]:Enable(),oRad[7]:Disable()),; if( !empty(oDbf:efectivo),oSay[1]:SetColor(CLR_HRED,CLR_WHITE),oSay[1]:SetColor(CLR_BLACK,CLR_YELLOW)) ,; if( !empty(oDbf:Acdebito),oSay[2]:SetColor(CLR_HRED,CLR_WHITE),oSay[2]:SetColor(CLR_WHITE,METRO_OLIVE)) ...
by mterraz
Thu Jan 20, 2022 3:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DBCMD/2001 Workarea not in use: ORDKEYNO
Replies: 3
Views: 363

Re: Una mas de BTNBMP

... = 0            // Disponible               oBtn[nVez]:SetColor( CLR_BLACK, CLR_WHITE)            CASE oRsHab:Fields("HAB_STS"):Value = 1     ...
by Armando
Sat Dec 18, 2021 1:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una mas de BTNBMP (SOLUCIONADO)
Replies: 5
Views: 721

Una mas de BTNBMP (SOLUCIONADO)

...        DO CASE            CASE oRsHab:Fields("HAB_STS"):Value = 0            // Disponible               oBtn[nVez]:SetColor( CLR_BLACK, CLR_WHITE)            CASE oRsHab:Fields("HAB_STS"):Value = 1            // Ocupada               oBtn[nVez]:SetColor( ...
by Armando
Fri Dec 17, 2021 8:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una mas de BTNBMP (SOLUCIONADO)
Replies: 5
Views: 721
Next

Return to advanced search