If File.Exists(lastpath,station.SelectedIndex&".png") Then
Log("remove background")
Dim page As TabPage
page=station.Tabs.Get(station.SelectedIndex)
Dim stil As StringBuilder
stil.Initialize
stil.Append("-fx-background-image: url('" & File.GetUri(lastpath, station.SelectedIndex&".png") & "');")
stil.Append("-fx-background-repeat: stretch;")
page.Content.Style=stil.ToString
page.Content.Style="-fx-background-image:none "
Log(page.Content.Style) 'the rezult of this log in my log window is : "-fx-background-image:none " but image is still there
'File.Delete(lastpath,station.SelectedIndex&".png")
End If