Piotr, I don't know if it's the "Easy" way, but I use On Getting/On Losing Focus to change backgrounds, etc during data entry.
e.g. Pseudo Code Case of : (Form event=On Getting Focus) $foregroundColor:=00x000000FF // Blue $backgroundColor:=00x00FFFF00` Yellow OBJECT SET RGB COLORS($object_Ptr->;$foregroundColor;$backgroundColor) : (Form event=On Losing Focus) $foregroundColor:=00x00000000` Black $backgroundColor:=00x00FFFFFF` White OBJECT SET RGB COLORS($object_Ptr->;$foregroundColor;$backgroundColor) End case Randy Engle XC2 Software LLC -----Original Message----- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Piotr Chabot Stadhouders via 4D_Tech Sent: Tuesday, March 21, 2017 11:26 AM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Piotr Chabot Stadhouders <p.stadhoud...@timeff.com> Subject: Entry Field questions Hi, I have 2 questions about entry fields : 1. Although I know the best answer on forehand (Use system behavior), is there an (easy) way to customize entry fields (fields and variables). For example rounded borders, yellow background when having focus instead of blue border? 2. What is the best way to prevent users to copy / paste values with crlf in it? Thanks in advance, Piotr ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************