miyako / 4d-plugin-kiosk

4D plugin to help 4D run as kiosk software by inhibiting certain user actions.
0 stars 4 forks source link

Windows 8 height is not fullscreen #1

Open ghost opened 9 years ago

ghost commented 9 years ago

With Windows height, there's always a gap in the bottom, not filling fullscreen.

Event if I resize window by programming or by hand, it will not hide about 100 pixels on the bottom. Any idea why?

Here's my code:

  // [Factures].Tickets.Button
  // Goal: Activate ou deactivate kiosk mode (blocked full screen)

C_LONGINT($KioskMode)

$KioskMode:=KIOSK Get mode 

If ($KioskMode=KIOSK_ON)
    KIOSK SET MODE (KIOSK_OFF)
    MINIMIZE WINDOW(Current form window)
Else 
    KIOSK SET MODE (KIOSK_ON)
    MAXIMIZE WINDOW(Current form window)
End if

Thanks for this very interesting plugin :+1:

miyako commented 9 years ago

Hello,

the plugin’s focus is to implement kiosk, not full screen.

for that you should first call AP FULLSCREEN (part of 4D Pack), and then call KIOSK SET MODE (KIOSK ON)

2015/05/09 0:30、Boris notifications@github.com のメール:

With Windows height, there's always a gap in the bottom, not filling fullscreen Event if I resize window by programming or by hand, it will not hide about 100 pixels on the bottom. Any idea why?

宮古 啓介 セールス・エンジニア

株式会社フォーディー・ジャパン 〒150-0043 東京都渋谷区道玄坂1-10-2 渋谷THビル6F Tel: 03-6427-8441 Fax: 03-6427-8449

Keisuke.Miyako@4d.com www.4D.com/JP

ghost commented 9 years ago

Juste note the syntax is AP FULL SCREEN.

Thanks, it seems better.