I have in my application where the user can choose they way the application lookes on their computer. One of these ways is that they can change the borderstyle. When The button for change display way the way that the applications displays dosen't change why? The form is set where autoredraw is true and I even added code where the from hides and comes back but still no go why is this:
Code:If ENGINE.WINDOWMODE.Caption = "0" Then ENGINE.Hide ENGINE.BorderStyle = 0 ENGINE.Show Else If ENGINE.WINDOWMODE.Caption = "1" Then ENGINE.Hide ENGINE.BorderStyle = 1 ENGINE.Show Else If ENGINE.WINDOWMODE.Caption = "2" Then ENGINE.Hide ENGINE.BorderStyle = 2 ENGINE.Show Else End If End If End If




Reply With Quote