www.sdlsuite.com Forum Index www.sdlsuite.com
Discussion of technical aspects of the SDL Component Suite
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TNumLab "Empty" property

 
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> GuiPack
View previous topic :: View next topic  
Author Message
joepasquariello



Joined: 09 Sep 2006
Posts: 19
Location: Berkeley, California

PostPosted: Thu Oct 23, 2014 8:00 pm    Post subject: TNumLab "Empty" property Reply with quote

The behavior of TNumLab's Empty property seems to have changed. If a TNumLab has a numeric DisplayType, such as dtFixP, and Empty=true, the color of the Label used to be determined by ColorLabBakG. In other words, it was consistent with what the help file says in that it "suppresses the numeric display". Now, if Empty=true, the color of the label changes to gray, and no changes to ColorLabBakG have any effect.

I think this change may have occurred in release 10.2. I don't have any source older than that, so I can't check it myself.

It's not a big deal, but it means I can't use the Empty property the way I had been, with Empty=true, and changing colors to show information. If it was unintentional, and you can restore the previous behavior, it would be helpful, but thanks in any case.

Joe
Back to top
View user's profile Send private message
joepasquariello



Joined: 09 Sep 2006
Posts: 19
Location: Berkeley, California

PostPosted: Fri Oct 24, 2014 5:34 pm    Post subject: Reply with quote

FYI, my work-around is to set Empty=false, DisplayType=dtState, and StateText = " ". With this, I have an "empty" Label, and I can control the colors.

Joe
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> GuiPack All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group