Over the years of being a applications developer ( Delphi, Powerbuilder, VB, Agile Outsystems..etc). I have learned many things and I may need to refer to them in the future. Some of the tips may not be relevant with the later versions of the software. I am still in the process of transferring all my notes.
Friday, April 27, 2012
How do I change the color of a column to let the user know it has been modified?
In the Color property of a column, enter the expression IF (column_name <>column_name.Original, RGB(255, 0, 0), RGB(0, 0, 0)).
This will change the color of the column to, in this case, red if the
user changes the value and black if the column has not been modified.
The trick here is that column_name <> column_name.Original compares the current column value with the original column value.
Labels:
Powerbuilder
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment