Thema: Delphi KIOSK mode

Einzelnen Beitrag anzeigen

danten

Registriert seit: 19. Feb 2012
Ort: Czech Republic, Prag
126 Beiträge
 
Delphi 10.1 Berlin Architect
 
#3

AW: KIOSK mode

  Alt 21. Sep 2017, 09:40
Thanks,
tablet: Acer Iconia One 10 16GB Red

It only works in vhHardwareBack.

Delphi-Quellcode:
if (Key = vkMenu) or (Key = sgiUpRightLong) or (Key = vkHardwareBack) or (Key = vkVolumeUp) or
     (Key = vkVolumeDown) then
  begin
    TPlatformServices.Current.SupportsPlatformService(IFMXVirtualKeyboardService, IInterface(FService));
    if (FService <> nil) and (TVirtualKeyboardState.Visible in FService.VirtualKeyBoardState) then
    begin
      Exit;
    end else
    begin
      Key := 0;
    end;
  end;
Daniel
  Mit Zitat antworten Zitat