Hello, I'm having a problem in a routine using the TcxGrid component, the field and of the type CheckBox, in the OnGetPropertiesForEdit event. This error is occurring because delphi was updated from version 2010 to XE7, the version of DevEspress used and 17.1.6.
Code example
Delphiprocedure TF_SeloDigital_Selar.cxGrid1DBBandedTableView1STATUSGetPropertiesForEdit(Sender: TcxCustomGridTableItem;
ARecord: TcxCustomGridRecord; var AProperties: TcxCustomEditProperties);
begin
if (not(RxServicosBaixarDATASELAGEM.IsNull) or (Dados.COMBINA_SELOS_AUTOMATICO and (RxServicosBaixarTIPOPAIFILHO.AsInteger = 2))) then
begin
AProperties.ReadOnly := True;
end
else
begin
AProperties.ReadOnly := False;
end;
end;
The message that appears is just an Access violation, does not appear the details.
Hello Louder,
Please use code brackets for your code. Thus, your code lines will be highlighted and your post will look more explicit.