title: delphi xe6 firemonkey change form style runtime
body: <p>hello how can i change (delphi firemonkey mobile application) stylebook runtime </p>
  
  <p>i will try load from ini or text file when formcreate or formshow</p>
  
  <p>but cannot work  stylename is string</p>
  
  <p>i was try this code but code1 work but code 2 cannot work </p>
  
  <pre><code>if RadioButton1.IsChecked then  Form1.StyleBook:=white else Form1.StyleBook:=black;
  </code></pre>
  
  <p>i need  </p>
  
  <pre><code>form1.stylebook:= trim(Copy(Memo2.Lines.Strings[0],7,30)); {string ='black'}
  </code></pre>
  
  <p>but error code :[dcc32 Error] main.pas(226): E2010 Incompatible types: 'TStyleBook' and 'string' </p>