Mega Search
23.2 Million


Sign Up

Make a donation  
Changing themes in MDI form  
News Group: embarcadero.public.delphi.nativeapi

My application has a Maximized MDI child form (borderstyle= bsDialog and no border icons) with a combo box listing XE4 themes. When I change the theme the MDI child form is no longer Maximized and include border icons. Why does XE4 add border icons when the theme is changed? How can I remove the border icons?

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 28-Dec-2014, at 3:45 AM EST
From: George Kuascha
 
Re: Changing themes in MDI form  
News Group: embarcadero.public.delphi.nativeapi
added WindowState:=wsMaximized;  in the  OnRefresh event to solve this problem

> {quote:title=George Kuascha wrote:}{quote}
> My application has a Maximized MDI child form (borderstyle= bsDialog and no border icons) with a combo box listing XE4 themes. When I change the theme the MDI child form is no longer Maximized and include border icons. Why does XE4 add border icons when the theme is changed? How can I remove the border icons?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 29-Dec-2014, at 1:40 AM EST
From: George Kuascha