DO multi-lnag

This commit is contained in:
kong 2023-02-17 22:20:31 +07:00
parent 93a524c1a6
commit 6122c18130
2 changed files with 91 additions and 3 deletions

View file

@ -684,6 +684,11 @@
Var waitAckPay = 1
</EventUnitTest1>
<EventUnitTest2>
Var InternationalEnable = 1
Var Top2Timeout = 19
</EventUnitTest2>
</Popup>

View file

@ -12,19 +12,28 @@
RootLayoutVisible 3 "hide"
EndIf
Var LanguageButtonListEnable = "Invisible"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;DEBUGVAR Top2Timeout
Var Top2Timeout = Top2Timeout + 1
If Top2Timeout = 60 Then
If Top2Timeout = 20 Then
Open "ROOT/taobin_project/xml/topview2.xml"
EndIf
If TimeForClose > 0 Then
Var TimeForClose = TimeForClose - 1
DEBUGVAR TimeForClose
EndIf
If TimeForClose = 1 Then
Var LanguageButtonListEnable = "Invisible"
Refresh
EndIf
TimerReset
</EventTimeout>
<Text>
@ -44,7 +53,81 @@
<State> "Enable" </State>
<Name> "LangIcon" </Name>
<Filename> "ROOT/taobin_project/image/lang/world.png" </Filename>
<EventClick>
Var LanguageButtonListEnable = "Enable"
DEBUGVAR LanguageButtonListEnable
Var TimeForClose = 10
Refresh
</EventClick>
</Button>
<ListView1>
<X> 970 </X>
<Y> 430 </Y>
<Width> 986 </Width>
<Height> "auto" </Height>
<Align> "vertical"</Align>
<State> LanguageButtonListEnable </State>
;
<Row1>
<Width> 82 </Width>
<Height> 51 </Height>
<State> "Enable" </State>
<Image>
<Filename> "ROOT/taobin_project/image/lang/lang_bg_top.png" </Filename>
</Image>
</Row1>
<Row1>
<Width> 82 </Width>
<Height> 56 </Height>
<State> "Enable" </State>
<Image>
<Filename> "ROOT/taobin_project/image/lang/lang_bg_center.png" </Filename>
</Image>
</Row1>
<Row1>
<Width> 82 </Width>
<Height> 56 </Height>
<State> "Enable" </State>
<Image>
<Filename> "ROOT/taobin_project/image/lang/lang_bg_center.png" </Filename>
</Image>
</Row1>
<Row1>
<Width> 82 </Width>
<Height> 56 </Height>
<State> "Enable" </State>
<Image>
<Filename> "ROOT/taobin_project/image/lang/lang_bg_center.png" </Filename>
</Image>
<Button>
<X> 13 </X>
<Y> 0 </Y>
<Width> 56 </Width>
<Height> 56 </Height>
<State> "Enable" </State>
<Filename> "ROOT/taobin_project/image/lang/bn_japan_lang.png" </Filename>
<EventClick>
SetLanguage "JAPAN"
Var LanguageButtonListEnable = "Invisible"
Refresh
</EventClick>
</Button>
</Row1>
<Row1>
<Width> 82 </Width>
<Height> 51 </Height>
<State> "Enable" </State>
<Image>
<Filename> "ROOT/taobin_project/image/lang/lang_bg_bottom.png" </Filename>
</Image>
</Row1>
</ListView1>
;
</Popup>