Jump to content

Right To Left Run time Problem


molla2005b

Recommended Posts

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...