The switcher doesn't change the theme.
What can be wrong?
Here's the dfm code:
- Code: Select all
object IWForm1: TIWForm1
Left = 0
Top = 0
Width = 555
Height = 400
RenderInvisibleControls = False
AllowPageAccess = True
ConnectionMode = cmAny
Background.Fixed = False
HandleTabs = False
LeftToRight = True
LockUntilLoaded = True
LockOnSubmit = True
ShowHint = True
XPTheme = True
DesignLeft = 8
DesignTop = 8
object IWCGJQMRegPage: TIWCGJQMRegion
Left = 0
Top = 0
Width = 555
Height = 400
TabOrder = 0
Version = '1.0'
Align = alClient
RegionType = jqmrtPage
ExplicitLeft = 192
ExplicitTop = 144
ExplicitWidth = 100
ExplicitHeight = 100
object IWCGJQMRegHeader: TIWCGJQMRegion
Left = 0
Top = 0
Width = 555
Height = 89
TabOrder = 0
Version = '1.0'
Align = alTop
end
object IWCGJQMRegion1: TIWCGJQMRegion
Left = 0
Top = 89
Width = 555
Height = 311
TabOrder = 1
Version = '1.0'
Align = alClient
RegionType = jqmrtContent
RegionOptions.FullHeight = True
ExplicitLeft = 152
ExplicitTop = 224
ExplicitWidth = 100
ExplicitHeight = 100
object IWCGJQMButton1: TIWCGJQMButton
Left = 0
Top = 0
Width = 555
Height = 58
TabOrder = 0
Version = '1.0'
JQMButtonOptions.Label_ = 'BOTON 1'
ExplicitLeft = 64
ExplicitTop = 56
ExplicitWidth = 60
end
object IWCGJQMButton2: TIWCGJQMButton
Left = 0
Top = 58
Width = 555
Height = 58
TabOrder = 1
Version = '1.0'
JQMButtonOptions.Label_ = 'BOTON 2'
ExplicitLeft = 80
ExplicitTop = 160
ExplicitWidth = 60
end
object IWCGJQMThemeSwitcher1: TIWCGJQMThemeSwitcher
Left = 0
Top = 116
Width = 555
Height = 60
TabOrder = 2
Version = '1.0'
JQMThemeSwitcherOptions.Themes.Strings = (
'aloe'
'candy'
'melon'
'mint'
'royal'
'sand'
'slate'
'water')
JQMThemeSwitcherOptions.ThemesPath = 'css/ui-themes/'
ExplicitLeft = 112
ExplicitTop = 168
ExplicitWidth = 60
end
end
end
end