Font support in SDB.UI controls does not work BUG#5258

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Font support in SDB.UI controls does not work BUG#5258

Re: Font support in SDB.UI controls does not work BUG#5258

by ZvezdanD » Sun Feb 01, 2009 2:24 pm

Well, mentioned properties (FontName, FontBold, FontItalic, FontColor) are OK only with the Label control. The Checkbox, Edit, Dropdown and probably all another controls still don't support those properties.

1220 - FontSize still doesn't work

by ZvezdanD » Sat Jan 31, 2009 4:18 pm

1220 - FontSize still doesn't work. FontName, FontBold, FontItalic, FontColor are OK.

Re: Font support in SDB.UI controls does not work BUG#5258

by jiri » Wed Jan 28, 2009 4:42 pm

This will be fixed in the next release.

Jiri

Re: Font support in SDB.UI controls does not work

by Bex » Tue Jan 27, 2009 5:45 pm

Re: Font support in SDB.UI controls does not work

by ZvezdanD » Tue Jan 27, 2009 5:23 pm

Bex wrote:Was it in 1218 you did the test?
Yes, it is.

Re: Font support in SDB.UI controls does not work

by Bex » Tue Jan 27, 2009 5:19 pm

Was it in 1218 you did the test?

Re: Font support in SDB.UI controls does not work

by Bex » Tue Jan 27, 2009 5:16 pm

The meant the ones that Jiri added recently:
# (diff) (hist) . . N ISDBUICommon::FontColor; 10:53 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontSize; 10:53 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontName; 10:52 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontUnderline; 10:52 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontStrikeOut; 10:51 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontItalic; 10:51 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontBold; 10:51 . . Jiri (Talk | contribs)

I'll add a report to Mantis!

Re: Font support in SDB.UI controls does not work

by ZvezdanD » Tue Jan 27, 2009 5:10 pm

What other Common properties? If you mean on another Font properties, I tried FontName, FontItalic and FontColor and they don't work either.

Re: Font support in SDB.UI controls does not work

by Bex » Tue Jan 27, 2009 4:38 pm

Thank you ZvezdanD!

Do you know if the other new Common-properties work or not?

Re: Font support in SDB.UI controls does not work

by ZvezdanD » Tue Jan 27, 2009 4:27 pm

I could confirm this. It doesn't work with VBScript either.

Re: Font support in SDB.UI controls does not work

by Bex » Tue Jan 27, 2009 3:02 pm

1. Can you please test it in a VBScript to see if it has the same problem?

2. Seems like a bug. I'll report it when we know how issue 1. works.

Font support in SDB.UI controls does not work BUG#5258

by refrancoeur » Tue Jan 27, 2009 11:47 am

In testing 3.1, I found that, although font properties are now supported, they do not seem to work. Try the following jscript:

var form = SDB.UI.newForm;
var label = SDB.UI.newLabel(form);

TRACE("-Before: "+label.Common.FontBold);
label.Common.FontBold = true;
TRACE("-After: "+label.Common.FontBold);

TRACE("-Before: "+label.Common.FontSize);
label.Common.FontSize = 32;
TRACE("-After: "+label.Common.FontSize);

You should see that the assignments do not work. In 3.0 the assignments resulted in an error, in 3.1 no error occurs, but the assignments are ineffective.

Also, when I assign a hotkey to a js script, the invocation from the hotkey assumes that the script is vb and fails. The problem does not occur when invoking the script from the tools menu. This problem also existed in release 3.0.

Regards,
Dick Francoeur

Top