Hi,
I have two UniContainerPanels with different components. The Layout of the Panel is column. Depending on the situation some of the components has to be switched from one Panel to the other.
How can I change the CreateOrder at runtime.
Best regards
Solution, try:
1. UniFormCreate ->
procedure TUniForm2.UniFormCreate(Sender: TObject);
begin
inherited;
UniButton3.JSInterface.JSAssign('_createorder', [1]);
UniContainerPanel2.JSInterface.JSAssign('_createorder', [2]);
UniButton1.JSInterface.JSAssign('_createorder', [3]);
UniButton2.JSInterface.JSAssign('_createorder', [4]);
end;
2. UniContainerPanel1.ClientEvents.ExtEvents ->
function boxready(sender, width, height, eOpts)
{
(function() {
var arr = []