Helper: Invisible btutton while open helper, hide helper
This commit is contained in:
parent
1b19ec4e64
commit
a99a390f11
2 changed files with 75 additions and 6 deletions
|
|
@ -24,6 +24,9 @@
|
||||||
|
|
||||||
Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
|
Var img_press_main_page = "ROOT/taobin_project/image/main_page/bp_main_page_start.png"
|
||||||
|
|
||||||
|
; next button always Enble
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
|
||||||
Var img_rest_main_page = ""
|
Var img_rest_main_page = ""
|
||||||
Var MemberButtonFileNameRest = ""
|
Var MemberButtonFileNameRest = ""
|
||||||
Var img_reset_topup = ""
|
Var img_reset_topup = ""
|
||||||
|
|
@ -2062,7 +2065,25 @@ PRICE "Reset" "-"
|
||||||
If TaobinOnlineX = "true" Then
|
If TaobinOnlineX = "true" Then
|
||||||
|
|
||||||
If CountDownShowButton = 31 Then
|
If CountDownShowButton = 31 Then
|
||||||
Var ShowButtonClickFull = "Enable"
|
If EnableHelperShow = 1 Then
|
||||||
|
If CurrHelpCenter = 1 Then
|
||||||
|
|
||||||
|
Var ShowButtonMainClick = "Invisible"
|
||||||
|
|
||||||
|
Var ShowButtonClickFull = "Invisible"
|
||||||
|
Var ShowButtonClick = "Invisible"
|
||||||
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
Var ButtontoTopupMenu = "Invisible"
|
||||||
|
Else
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
|
||||||
|
Var ShowButtonClickFull = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
Var ShowButtonClickFull = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var ShowButtonClick = "Invisible"
|
Var ShowButtonClick = "Invisible"
|
||||||
|
|
||||||
If UsePepsiTheme = 1 Then
|
If UsePepsiTheme = 1 Then
|
||||||
|
|
@ -2076,8 +2097,18 @@ PRICE "Reset" "-"
|
||||||
EndIf
|
EndIf
|
||||||
If InternationalEnable = 1 Then
|
If InternationalEnable = 1 Then
|
||||||
If CountryName = "Thailand" Then
|
If CountryName = "Thailand" Then
|
||||||
Var ShowButtonClick = "Enable"
|
If EnableHelperShow = 1 Then
|
||||||
Var ShowButtonClickFull = "Enable"
|
If CurrHelpCenter = 1 Then
|
||||||
|
Var ShowButtonClick = "Invisible"
|
||||||
|
Else
|
||||||
|
Var ShowButtonClick = "Enable"
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
Var ShowButtonClick = "Enable"
|
||||||
|
Var ShowButtonClickFull = "Enble"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -2086,7 +2117,25 @@ PRICE "Reset" "-"
|
||||||
|
|
||||||
If CountDownShowButton = 3 Then
|
If CountDownShowButton = 3 Then
|
||||||
|
|
||||||
Var ShowButtonClick = "Enable"
|
If EnableHelperShow = 1 Then
|
||||||
|
If CurrHelpCenter = 1 Then
|
||||||
|
|
||||||
|
Var ShowButtonMainClick = "Invisible"
|
||||||
|
|
||||||
|
Var ShowButtonClickFull = "Invisible"
|
||||||
|
Var ShowButtonClick = "Invisible"
|
||||||
|
Var ShowButtonClick2 = "Invisible"
|
||||||
|
Var ButtontoTopupMenu = "Invisible"
|
||||||
|
Else
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
|
||||||
|
Var ShowButtonClick = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var ShowButtonClick = "Enable"
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var ShowButtonClickFull = "Invisible"
|
Var ShowButtonClickFull = "Invisible"
|
||||||
|
|
||||||
If UsePepsiTheme = 1 Then
|
If UsePepsiTheme = 1 Then
|
||||||
|
|
@ -2102,6 +2151,24 @@ PRICE "Reset" "-"
|
||||||
Refresh
|
Refresh
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
DEBUGVAR CurrHelpCenter
|
||||||
|
; after close helper enable clickfull
|
||||||
|
If EnableHelperShow = 1 Then
|
||||||
|
If CurrHelpCenter = 0 Then
|
||||||
|
If CountDownShowButton < 32 Then
|
||||||
|
If CountDownShowButton < 3 Then
|
||||||
|
Var ShowButtonClickFull = "Invisible"
|
||||||
|
Var ShowButtonClick = "Enable"
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
Else
|
||||||
|
Var ShowButtonClickFull = "Enable"
|
||||||
|
Var ShowButtonClick = "Invisible"
|
||||||
|
Var ShowButtonMainClick = "Enable"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If CountDownPauseVideo > 0 Then
|
If CountDownPauseVideo > 0 Then
|
||||||
DEBUGVAR CountDownPauseVideo
|
DEBUGVAR CountDownPauseVideo
|
||||||
; ignore
|
; ignore
|
||||||
|
|
@ -2667,7 +2734,7 @@ PRICE "Reset" "-"
|
||||||
<Button>
|
<Button>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 608 </Y>
|
<Y> 608 </Y>
|
||||||
<State> "Enable" </State>
|
<State> ShowButtonMainClick </State>
|
||||||
<Width> 120 </Width>
|
<Width> 120 </Width>
|
||||||
<Height> 120 </Height>
|
<Height> 120 </Height>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,9 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
|
RootLayoutVisible 3 "show"
|
||||||
|
RootLayoutVisible 14 "hide"
|
||||||
|
|
||||||
If UsePepsiTheme = 1 Then
|
If UsePepsiTheme = 1 Then
|
||||||
|
|
||||||
Var ShowErrorPage = CountryRootPath + "/xml/page_show_error.lxml"
|
Var ShowErrorPage = CountryRootPath + "/xml/page_show_error.lxml"
|
||||||
|
|
@ -50,7 +53,6 @@
|
||||||
|
|
||||||
Var TimeOut = 0
|
Var TimeOut = 0
|
||||||
Var textStep = 0
|
Var textStep = 0
|
||||||
RootLayoutVisible 3 "show"
|
|
||||||
|
|
||||||
TRY "ROOT/taobin_project/xml/default_color_settings.ev"
|
TRY "ROOT/taobin_project/xml/default_color_settings.ev"
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue