Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other hexagora products
 Programs (Programmi)
 ctlUniGrid RightToLeft support
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DuncanW
Novice

2 Posts

Posted - 21 Jan 2010 :  12:21:51  Show Profile  Visit DuncanW's Homepage  Reply with Quote
I am currently evaluating the VB6 Unicode controls with a view to adding Arabic text support to my application.

I am replacing an existing dbGrid control which is used for localisation within my solution. It has two columns, one for the language and one for the localised string. With the dbGrid I have the language column as Locked (readonly) and the localised string as editable.

It does not appear this is possible with the ctlUniGrid control as columns do not seem to be editable. To get around this I have added a click event handler which pops up a new form containing a ctlUniTextBoxXP control to allow editing of the localised string. So far this works however I have a query around the ability to set RightToLeft on the ctlUniGrid. I have this property on my ctlUniTextBoxXP control and I have the metadata within my system to know which languages are RightToLeft.

Is it possible to set the RightToLeft property on an individual cell within a ctlUniGrid?

Edited by - DuncanW on 21 Jan 2010 12:23:35

s.dav
Site Admin

Italy
3364 Posts

Posted - 21 Jan 2010 :  17:30:27  Show Profile  Visit s.dav's Homepage  Reply with Quote
DuncanW,

Aligning the column text on the right doesn't fix the problem? Let me know

Regards, Davide
Go to Top of Page

DuncanW
Novice

2 Posts

Posted - 21 Jan 2010 :  17:59:45  Show Profile  Visit DuncanW's Homepage  Reply with Quote
No - RightToLeft is more than aligning to the right.

I've worked around it by creating a .NET WPF window containing a DataGrid and using interop to include it into my VB6 application, which gives me all the functionality I had previously along with full unicode/rtl support.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 22 Jan 2010 :  09:04:32  Show Profile  Visit s.dav's Homepage  Reply with Quote
>No - RightToLeft is more than aligning to the right.

Yes you are right but some clients of mine are using the ctlUniGrid to display Arabian and Hebrew strings and none of them reported me anything.
I'll add such as feature for the columns

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000