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)
 ctlUniStyler - Issue when applying style
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alfredoc
Novice

France
7 Posts

Posted - 03 Oct 2012 :  10:53:24  Show Profile  Visit alfredoc's Homepage  Reply with Quote
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  Show Profile  Visit s.dav's Homepage  Reply with Quote
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
Go to Top of Page

alfredoc
Novice

France
7 Posts

Posted - 03 Oct 2012 :  14:16:38  Show Profile  Visit alfredoc's Homepage  Reply with Quote
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
Go to Top of Page

alfredoc
Novice

France
7 Posts

Posted - 08 Oct 2012 :  08:39:21  Show Profile  Visit alfredoc's Homepage  Reply with Quote
Hi,

Could you elaborate please?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 09 Oct 2012 :  08:07:48  Show Profile  Visit s.dav's Homepage  Reply with Quote
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
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 19 Oct 2012 :  12:32:23  Show Profile  Visit s.dav's Homepage  Reply with Quote
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
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