Dear Iris, another way is to define the codeblock like this: Extended literal code block. Syntax <| [<params,...>] | <programcode> > oBrw:bClrStd := <|| local aColors := { , } If (cust->resstatus = "###Cancelled" .and. cust->...
Iris, if the condition to set the colors is very complicated, I advise you to use a function that returns the corresponding color array oBrw:bClrStd := { || MyColors( oBrw ) }.../...Function MyColors( oBrw ) local aColors := { , } If (...
Dear community, I have tried to give a row another colour and it worked with this code. oBrw:bClrStd := { || If( (cust->resstatus = "###Cancelled" .and. cust->guarancode = " "), { CLR_WHITE, CLR_RED }, { CLR_BLACK,CLR_WHITE } ) } //@IA 2020030 How can I integrate another co...
... 1 and 2 the system-button is used for colour-changes You can make a border visible on button-focus. To hide the border just use the panel colour Colours are saved to a INI-file the new download : http://www.pflegeplus.com/DOWNLOADS/Panel3.zip http://www.pflegeplus.com/IMAGES/Panel20.jpg ...
... and paint the text and border of the cells the way you want. A border around each cell or only around the column :?: ( uses different colours as well on age ranges ) http://www.pflegeplus.com/IMAGES/Cellborder1.jpg regards Uwe :?:
... same button can be pressed again . I have noted that if I use BUTTONS , this problem does not arise , but I don't want to lose the graphics and colours of BTNBMP :( This is a sample , if you press quickly twice on the button 'Count' , the number increases by one #include "FiveWin.ch"function ...
... done : closing the program, the number of the last selected sample is saved to a INI-file and will be opened at the next start. Using different colours on each of the 3 samples A new empty dialog is added to include more tests. I couldn't find a replacement of h := FW_RecToHash() :?: replacement ...
... SetFocus but it jumps to the Exit button instead. (If I remove the second GET WHEN clause it will move to it but doesn't change to the gotfocus colours) TIA Peter #include "FWCE.ch"#include "vkey.ch"STATIC oWnd,oFont[3]STATIC oGetPass***********************FUNCTION ...
Cristóbal , using 2 different keywords and colours is working fine. I noticed a little problem to display more than one keyword in the same line Your included functions and new testdata. http://www.pflegeplus.com/DOWNLOADS/Richedit4.zip http://www.pflegeplus.com/IMAGES/Richedit5.jpg ...
... with full source for testing. http://www.pflegeplus.com/DOWNLOADS/Forum9.zip The source is kept small in size as possible ( no graphics and colours ) and works with the original forum-import samples1.dbf The keyword defined inside the browser ( xbrowse-keyword-field ) needed to be coloured. ...