Hi,
In my App it is possible for the user to change the entire color of the App. The strange thing is when they choose a color another form opens.
In my App it is possible for the user to change the entire color of the App. The strange thing is when they choose a color another form opens.
Code:
Private Sub mnuYellow_Click()
Call modColor.Yellow
lblColor.Caption = 1 'I need this for the other forms.
'When they open they get the same
'skin as the mainForm
End sub[\code]
[code]Private Sub lblColor_Change()
If frm2.Enabeld = True Then
frm2.lblColor.Caption = frmMain.lblColor.Caption
End If
If frm3.Enabeld = True Then
frm3.lblColor.Caption = frmMain.lblColor.Caption
End If
End Sub[\code]
The strange thing is when I click the "Yellow" frm2 seems to get loaded, but dus not appear, but frm3 opens. But with the correct color.
Anyone knows what I'm doing wrong?