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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...