Author |
Topic |
|
alfredoc
Novice
France
7 Posts |
Posted - 03 Oct 2012 : 10:53:24
|
Hi,
We have used Hexagora controls in our application.
But we do not put the Hexagora controls directly in our VB6 Forms. We have our own VB6 controls in which we put a Hexagora control and add some code for our business.
When we put the ctlUniStyler in a form, the style does not apply on our business controls. Only the Hexagora controls that directly put in the form are impacted.
How can we apply the style on our components that use Hexagora controls?
Regards,
Alfred COUDER
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 03 Oct 2012 : 12:00:08
|
The style control cannot know the Hexagora control inside a custom control, also if you map it as public through a property. The only way is to draw another style control into your custom control or set every property manually |
Regards, Davide |
|
|
alfredoc
Novice
France
7 Posts |
Posted - 03 Oct 2012 : 14:16:38
|
Hi,
I appreciate the fast answer.
Can you be more specific about the offered solutions?
About solution 1: "The only way is to draw another style control into your custom control" --> I have tried to draw a ctlUniStyler inside a custom component. And I get "Runtime Error 438 Object doesn't support this property or method"
About solution 2: "set every property manually" --> Meaning being back to classic graphic rendering?
Best regards,
Alfred Couder |
|
|
alfredoc
Novice
France
7 Posts |
Posted - 08 Oct 2012 : 08:39:21
|
Hi,
Could you elaborate please? |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 09 Oct 2012 : 08:07:48
|
Alfred,
sorry for the delay, I'm out of home for work this week so I cannot check any code but: 1- I need to check the code of the control 2- you could manually access to properties of the ctlUniStyler (drawn on the form) from the usercontrol and set properties manually 3- I'll check for a solution next week :-) |
Regards, Davide |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 19 Oct 2012 : 12:32:23
|
Alfred,
A feature that will permit you to style Unicode controls into your controls has been created and you can find it by downloading the latest version. Check the Styler page on the "Sample 1" project and the help ;-) |
Regards, Davide |
|
|
|
Topic |
|