THAI INTER: Manage Instance case, change langs with helper, Set timeout

This commit is contained in:
Ittipat Lusuk 2025-04-30 15:39:36 +07:00
parent f9fea323bc
commit 8cae02a67a
13 changed files with 116 additions and 798 deletions

View file

@ -3,9 +3,11 @@
<Height> 1920 </Height>
<EventOpen>
RootLayoutVisible 3 "show"
If EnableBtnLangWithHelper = 1 Then
RootLayoutVisible 3 "show"
Else
RootLayoutVisible 3 "hide"
EndIf
RootLayoutVisible 13 "hide"
;OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
@ -34,5 +36,27 @@
TimerReset
</EventTimeout>
<EventLanguageOnChange>
If OpenFromPageBoard = 1 Then
Var OpenFromPageBoard = 0
Var LanguageButtonEnable = "Enable"
Var ButtonLanguageCurrentXPosition = 990
Var ButtonLanguageCurrentYPosition = 608
Var ButtonLanguageListXPosition = 970
Var ButtonLanguageListYPosition = 590
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Else
Var ButtonLanguageCurrentXPosition = 1015
Var ButtonLanguageCurrentYPosition = 458 - 38
Var ButtonLanguageListXPosition = 990
Var ButtonLanguageListYPosition = 450 - 38
Var LanguageButtonEnable = "Enable"
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
EndIf
RefreshAll
</EventLanguageOnChange>
</Popup>