2
I have a problem that I cannot solve in any way. With the Delphi XE8
, have already done livebindings
to connect screen components TEdit
with non-visual objects, but I cannot connect screen components with objects contained in other objects:
Example:
TEstado = class
FUF: string;
end;
TCidade = class
FNome: string;
FEstado: TEstado;
end;
In this case I can connect the name of the city with some component of the screen, but I can’t get cidade.estado.uf
to show on screen.
When I need to edit that list? In case I have a button that updates this list with other values, which function do I call to update the visual component? Because if I just update the grid this way then I won’t update the visual component to show the data.
– Diron