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 Quote Link to comment Share on other sites More sharing options...
molla2005b Posted June 24, 2019 Author Share Posted June 24, 2019 ? Quote 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 Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.