I need to special dgrid :
like SMDBGrid component([url removed, login to view]) but it should be right to left as default.
this mean even in win98 this componet is right to left not left to right.i want to build software y delphi 7 under win98 for asian language and this componet should just be right to left.(i need source of this componet)
Thanks for hopefully bid from members but i think they dont understand what i want:
If you use dgrid in delphi 7 you will find out that programmer of dbgrid (in the borland company) made it left to right and also he/she build option(bidimode) for changing aligment(right to left) but this option doesnt work in the win98 and in the winxp(original win xp without installing middle east language option)
what will happend if he/she build this componet right to left?(i need that)
i am delphi programmer and i should to say :you can inherite it from standard delphi dbgrid and you should build newone dbgrid with this feature(right to left supportingt)
also this grid should support color,check box,image in each cell(like smdbgrid)
I hope programmer find out that what i need
What i need is source of this componet( i dont want dll or bpl files)
there is simple code that make mirror of your components
i cant accept if someone use this code
just grid should programming again
WS_EX_NOINHERITLAYOUT = $00100000; // Disable inheritence of mirroring by children
WS_EX_LAYOUTRTL = $00400000; // Right to left mirroring
procedure SetWinControlBiDi(Control: TWinControl);
ExStyle := GetWindowLong(Control.Handle, GWL_EXSTYLE);
SetWindowLong(Control.Handle, GWL_EXSTYLE, ExStyle or WS_EX_RTLREADING or WS_EX_RIGHT
or WS_EX_LAYOUTRTL or WS_EX_NOINHERITLAYOUT );
procedure TForm1.But_1Click(Sender: TObject);
I put pictures of right to left dbgrid (that i want) and picture of left to right dbgrid
left to right:
right to left:
Thank all for helping me and bid on this project
i found someone on another site(iranian site like here"freelancer.ir") that can build it for me just 150$.
That is exactly that i want
Sorry for this.
I will put the pictures of this componet soon(for sure that i am not crazy or cheat).
really thanks of all
6 freelancers are bidding on average $300 for this job
I understand your problem. Now I'm trying to create a solution to this problem. I'll tell you when I find a solution. I wrote it just for you to know that I'm working on the problem.