yangyxd / FMXUI

FMX跨平台基础UI库
MIT License
261 stars 96 forks source link

Get value from Frame after to use FINISH. #18

Closed andrecampestre closed 5 years ago

andrecampestre commented 5 years ago

I have two frames:

In the Frame_1, I did StartFrame(Frame_2). I need to go back to FRAME_1, but I need values from FRAME_2.

Somebody could to help me?.

KngStr commented 5 years ago

Simply, add a callback property to frame2

Like this


        with TFrm_Order(TFrm_Order.ShowFullFrame('激活会员')) do begin
          OnPayed := FramePayed;
          EnableWarning := False;
        end;
KngStr commented 5 years ago

Look at the new baseframe demo in beta