Zaher Dirkey wrote:
Hi, thanks for the replay
@Paul
If it is just TMenu i have no problem, but there are a another
components (TTrayIcon, ...), and some components i have plan to create
it in my job.
It is not a problem to create this code for TMenu, TTrayIcon and
TApplication. As I remember
Ok Paul i will keep the current style of code.
Thanks.
--
Zaher Dirkey
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Zaher Dirkey schrieb:
Hi Paul, Another idea
Make TMainMenu and most Components which inherited form TComponent
take their BidiMode from the Owner, i mean MainMenu be right to left
depend on BidiMode of the Form, and then i will remove the
BidiMode/ParentBidiMode properties from this components.
Zaher Dirkey wrote:
Make TMainMenu and most Components which inherited form TComponent
take their BidiMode from the Owner, i mean MainMenu be right to left
depend on BidiMode of the Form, and then i will remove the
BidiMode/ParentBidiMode properties from this components.
In fact who need to
Paul Ishenin wrote:
I would leave class hierarchi as is. It is not a big problem to copy
property BidiMode to the TMenu, TTrayIcon or anything else.
Not just copy the code.
When TForm or TApplication has BidiMode changed it pass to owned
components to change the BidiMode
---
First, I know i touch a sensitive code but we can discuss about it.
1 - Added TVisualCompont it is between TLCLComponent and and TControl,
it has a properties and methods that have visual effect but still it
unvisible at form. i will use it for BidiMode and ParentBidimode
TMenu, TPopupMenu,
Zaher Dirkey wrote:
First, I know i touch a sensitive code but we can discuss about it.
1 - Added TVisualCompont it is between TLCLComponent and and TControl,
it has a properties and methods that have visual effect but still it
unvisible at form. i will use it for BidiMode and ParentBidimode