Search found 21 matches: nclrfocus

Return to advanced search

Re: TGet():nClrFocus no me cambia el color

TGet():bColorBlock := { |oGet| IF( oGet:lFocused, { CLR_WHITE, CLR_HBLUE }, IF( .NOT. oGet:lActive, {CLR_BLACK, CLR_HGRAY}, {CLR_BLACK, CLR_WHITE} )) }
by Marc Venken
Wed Mar 24, 2021 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet():nClrFocus no me cambia el color
Replies: 3
Views: 357

Re: TGet():nClrFocus no me cambia el color

For global setting it is

setgetcolorfocus(rgb(209,224,252))

so maybe the nRgb should be rgb(40,255,255)
by Marc Venken
Wed Mar 24, 2021 10:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet():nClrFocus no me cambia el color
Replies: 3
Views: 357

TGet():nClrFocus no me cambia el color

Buenas buenas gente!

Intente con nRGB y RGB y no me cambia el color del foco. que hago mal?

Code: Select all  Expand view
  TGet():nClrFocus      := nRGB( 40, 255, 255)
 


Gracias!
by goosfancito
Wed Mar 24, 2021 8:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGet():nClrFocus no me cambia el color
Replies: 3
Views: 357

Re: Color del COMBOBOX?

March 2015
==========

* New: function SetCbxColorFocus( nClrFocus ) same as SetGetColorFocus() but for
ComboBoxes. We tried to take these functions into Class TControl may there are
many side effects for other controls.

* Enhancement: Class TComboBox support for color change on focus gain/loose.
by karinha
Fri Jan 12, 2018 8:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Color del COMBOBOX?
Replies: 7
Views: 1078

Re: SetCbxColorFocus( nClrFocus )

Thanks master. Perfecto! // adhemar.prg#include "FiveWin.ch"  function Main()   LOCAL oDlg, oCbx, cDia   LOCAL nOldColor   DEFINE DIALOG oDlg   @ 1, 3 COMBOBOX oCbx VAR cDia OF oDlg SIZE 100, 300 UPDATE          ...
by karinha
Thu Dec 15, 2016 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetCbxColorFocus( nClrFocus )
Replies: 3
Views: 400

Re: SetCbxColorFocus( nClrFocus )

Try    local nOldColor   .../...    @ 10, 10 COMBOBOX oCbx VAR cItem ITEMS { "Testing", "this", "ComboBox" }  SIZE 200, 460 OF oDlg PIXEL HEIGHTGET 18 UPDATE//;   nOldColor   := SetCbxColorFocus( CLR_YELLOW )   .../.....
by cnavarro
Thu Dec 15, 2016 5:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetCbxColorFocus( nClrFocus )
Replies: 3
Views: 400

SetCbxColorFocus( nClrFocus )

Code: Select all  Expand view

   SetCbxColorFocus( nClrFocus )
 


Algun ejemplo?
by karinha
Thu Dec 15, 2016 4:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SetCbxColorFocus( nClrFocus )
Replies: 3
Views: 400

New FTDN March/Marzo 2015 (FWH 15.03)

March 2015 ========== * New: function SetMGetColorFocus( nClrFocus ) same as SetGetColorFocus() but for GETs multilines. * Enhancement: Class TMultiGet support for color change on focus gain/loose. * New: function SetCbxColorFocus( nClrFocus ) same as ...
by Antonio Linares
Fri Mar 20, 2015 10:22 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2015 (FWH 15.03)
Replies: 16
Views: 7073

Re: ReadOnly Clause does not respect Color on Get or Say

... := .f. // Do Not Use standard disabled colors // I like to have light blue background on focused gets so next line is un-commented. // TGet():nClrFocus := 16577214 // use light blue color to use when GET is focused and lClrFocus is .T.
by Gale FORd
Thu Feb 16, 2012 8:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ReadOnly Clause does not respect Color on Get or Say
Replies: 8
Views: 3658

Finding out colors

... colors FW can display / use and get back the parameters or values to use it in out programs ? For example, if I want to pass the SetGetColorFocus([nClrFocus]) function a number that represent the old Clipper color "BG+/N" how do I find out the correct value ? Is like a Clipper color value ...
by HunterEC
Mon Jan 23, 2012 7:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding out colors
Replies: 4
Views: 1449

Re: How do I ... ?

I tested :

SetGetColorFocus( nClrFocus )

the first Time, but why it doesn't work with Multiline-Get ?


SetGetColorFocus( nClrFocus ) is available in FWH from October 2007.
This is intended for normal Gets only, not multi-line gets.
by nageswaragunupudi
Tue Sep 14, 2010 3:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I ... ?
Replies: 10
Views: 1965

Re: How do I ... ?

I tested : SetGetColorFocus( nClrFocus ) the first Time, but why it doesn't work with Multiline-Get ? Added SetGetColorFocus( 16577214 ) on Top of the Application http://www.pflegeplus.com/pictures/multiline.jpg That Works ...
by ukoenig
Tue Sep 14, 2010 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I ... ?
Replies: 10
Views: 1965

Re: How do I ... ?

HunterEC wrote:Guys:

On a dialog with a couple of says & gets, how can I:
1. Highlight in other color the current get ?
Thank you.


Use this function to Highlight color of current get:
Code: Select all  Expand view
SetGetColorFocus( nClrFocus )


nClrFocus parameter is optional and defaults to RGB( 235, 235, 145 )
by nageswaragunupudi
Tue Sep 14, 2010 2:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I ... ?
Replies: 10
Views: 1965
Next

Return to advanced search