On Wed, Mar 22, 2017 at 1:26 PM, Arnaud de Montard via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> >
> >> 2. What is the best way to prevent users to copy / paste values with
> crlf in it?
>
Assign an entry filter to field, variable in question using object set
filter which excludes CR, LF or any o
> Le 21 mars 2017 à 20:13, Dennis, Neil via 4D_Tech <4d_tech@lists.4d.com> a
> écrit :
>
>> 2. What is the best way to prevent users to copy / paste values with crlf
>> in it?
>
> [...] I lean more towards the a cleans method that I can call everywhere.
My choice, too.
--
Arnaud de Montar
> 2. What is the best way to prevent users to copy / paste values with crlf in
> it?
You can either put a filter method on the on data changed event to strip them
out, or create an entry filter to remove them on input. I find both acceptable,
but I lean more towards the a cleans method that I
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:=00x00FF // Blue
$backgroundColor:=00x0000` Yellow
OBJECT SET RGB COLORS($object_P
4 matches
Mail list logo