molla2005b Posted June 10, 2019 Share Posted June 10, 2019 procedure TUniMainModule.UniGUIMainModuleNewComponent(AComponent: TComponent); begin if AComponent is TUniForm then (AComponent as TUniForm).RTL := UniMainModule.RTL; end; the above code not work? UniMainModule.RTL:=true; MainForm.RTL:=True; I have more than 200 form in the project. thanks in advance Link to comment Share on other sites More sharing options...
molla2005b Posted June 24, 2019 Author Share Posted June 24, 2019 ? Link to comment Share on other sites More sharing options...
M.Ammar Posted June 24, 2019 Share Posted June 24, 2019 Hi I use inherited frames and forms for all may project in the parent frame/form I use procedure TFrameName.UniFrameCreate(Sender: TObject); Begin // Adjust RTL RTL := UniMainModule.RTL; End; Edit if I understood you correctly you need to change the RTL at Run time Link to comment Share on other sites More sharing options...
molla2005b Posted June 24, 2019 Author Share Posted June 24, 2019 Thanks for replay I have a big project from 4 year ago i wish to upgrade to 1.90 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now