0
I’m trying to use an inverted livebindigs, that is, I have a Boolean field that comes from the database and I have to make visible a button when it comes false.
I’m putting in the customformat
ifthen( owner.fieldbyname('tem_movimentacao').asboolean,false,true );
but is released an Exception "Evalerror in lpfVisible: Couldn’t find ifthen."
A legal option to avoid this type of error in the future is to go to Options > Formatter > Delphi > Capitalization and set Capitalization of other words to
As first occurrence
. So the next cases will be automatically adjusted when pressingCtrl+D
– Victor Tadashi
Taking advantage of @Hagahood’s topic, is it possible to treat Customformat in execution mode?... I created a topic for this but they didn’t solve my doubts. http://answall.com/questions/155978/t%C3%Adtulo-nos-campos-do-listview
– Jefferson Rudolf