Anyone know how to switch fpGUI style to other than windows?
I haven't gotten around to implementing alternative themes yet, but I have received many screenshots send by other users that implemented there own themes.
For more details on how to changes/switch themes in fpGUI, have a look at the <fpgui>/examples/gui/customstyles/ demo.
Here is how to change the theme at app startup
fpgApplication.Initialize;
frm := TTestForm.Create(nil);
try
// Free old and set new style
if Assigned(fpgStyle) then
fpgStyle.Free;
fpgStyle := TMyStyle.Create;
// now continue with the application
frm.Show;
fpgApplication.Run;
finally
frm.Free;
end;
Our company commercial apps can change themes at runtime via a --style= command line parameter. In the new year I'll start working on implementing some alternative themes included with fpGUI.