View Full Version : cSigCJLabel
Renato Villa
8-Apr-2009, 08:43 AM
Hi CJ Guru's
in the "Calendar Categories" of the demo the oSigCJLabel1 display only the text of xaml .
I'm missing something?
Thank's
Ian Smith
8-Apr-2009, 09:50 AM
Hi Renato
It works for me. I’ve also removed about 60% of the code and it still works!
I think it may be due to your regional setting and comma being used as the decimal separator.
Find the following line in Procedure ShowColours
Move (sLabel + ‘ <LinearGradientBrush Start….. Change 0.5 to 0,5 and put a space before and after the comma following the 5
Do this for StartPoint and EndPoint
Let me know if that fixes it.
Renato Villa
8-Apr-2009, 10:34 AM
Hi Ian
i've tried without success
<LinearGradientBrush StartPoint="0.5 , 0" EndPoint="0.5 , 1">') to sLabel
<LinearGradientBrush StartPoint=" 0.5 , 0" EndPoint=" 0.5 , 1">') to sLabel
<LinearGradientBrush StartPoint=" .5 , 0" EndPoint=" .5 , 1">') to sLabel
Renato Villa
8-Apr-2009, 11:14 AM
Ian
in a old version of sigcj the demo label work with GradientBrush.xaml
Regards
Ian Smith
8-Apr-2009, 11:40 AM
Hi Renato
If it was working, then it should work now as we have not changed anything.
Is this the same computer, if not you may be missing the require .NET framework. I think it XAML was introduction in .NET 3.5 but it may have been 3.0.
Renato Villa
9-Apr-2009, 02:47 AM
Ian
is the same computer.
If in the procedure ShowColours i load the
"C:\Apps\Gestione\Visual DataFlex 14.0 Examples\sig Codejock\Markup\GradientBrush.xaml"
work correctly
Regards
Renato Villa
9-Apr-2009, 03:51 AM
The problem is like Ian suppose but in another part of Procedure ShowColours
String sGradient
Move (String(nGradient)) to sGradient
Move (Replace(",",sGradient,".")) to sGradient
--
--
Move (sLabel + ' <GradientStop Color="'+sDark+'" Offset="'+sGradient+'"/>') to sLabel
Thank's
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.