Jump to content
stacker_liew

TFrameStand Question

Recommended Posts

here:

  •  if (Key = vkHardwareBack) or (Key = vkEscape) then
    • MSWindows10 - working   
    • Android 11 64bit - working
  •   ShowMessage(ActiveControl.Name);
  •  if not((FService <> nil) and (TVirtualKeyboardState.Visible in FService.VirtualKeyboardState)) then
            begin
              Key := 0;
              Memo1.Lines.Add('TVirtualKeyboardState.Visible in FService.VirtualKeyboardState');
              //...
  • TStandFrame downloaded from github : https://github.com/andrea-magni/TFrameStand

 

NOTE: when none Frame is showed and you try "drag to left" again.... (on main screen)... I receive a exception:  External Exception E8. Maybe you need verify if you are in main screen in your KeyPress event..

Edited by programmerdelphi2k

Share this post


Link to post

Why when none frame is shown, I tried to click back key or (press the escape) I'll get av but not with the Windows's close button?

Share this post


Link to post
On 1/2/2023 at 2:32 AM, programmerdelphi2k said:

here:

  •  if (Key = vkHardwareBack) or (Key = vkEscape) then
    • MSWindows10 - working   
    • Android 11 64bit - working
  •   ShowMessage(ActiveControl.Name);
  •  if not((FService <> nil) and (TVirtualKeyboardState.Visible in FService.VirtualKeyboardState)) then
            begin
              Key := 0;
              Memo1.Lines.Add('TVirtualKeyboardState.Visible in FService.VirtualKeyboardState');
              //...
  • TStandFrame downloaded from github : https://github.com/andrea-magni/TFrameStand

 

NOTE: when none Frame is showed and you try "drag to left" again.... (on main screen)... I receive a exception:  External Exception E8. Maybe you need verify if you are in main screen in your KeyPress event..

        if TFrameStandDemoFrameStand.FrameInfos.Count > 0 then
        begin
          if TFrameStandDemoFrame.IsVisible then
          begin
            TFrameStandDemoFrameStand.HideAndCloseAll([TTFrameStandDemoFrame]);
            Exit;
          end;
        end;

Change the source to this will fix the av.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×