field titleText empty when field type is CHECK

Questions, tips and tricks and techniques for scripting in Servoy

field titleText empty when field type is CHECK

Postby pilgrim » Tue Mar 12, 2013 11:54 am

When field type = TEXT_FIELD, the titleText string is filled correctly.
When field type = CHECK, the titleText string is empty, even though the titleText has been filled in in the properties section, and the title shows up correctly in the column header.

Compare:

CHECK[name:fld_mailing_group_chk,x:1349,y:300,width:113,height:25,value: null] {bgcolor:"#ffffff",border:"CompoundBorder,;SpecialMatteBorder,0.0,0.0,1.0,0.0,#aaaaaa,#aaaaaa,#aaaaaa,#aaaaaa,0.0,;EmptyBorder,3,3,3,3;",enabled:false,fgcolor:null,font:"Tahoma,0,13",readOnly:true,titleText:"",toolTipText:null,transparent:false,visible:true}

TEXT_FIELD[name:fld_createdate,x:138,y:50,width:100,height:25,value: null] {bgcolor:"#ffffff",border:"CompoundBorder,;SpecialMatteBorder,0.0,0.0,1.0,0.0,#aaaaaa,#aaaaaa,#aaaaaa,#aaaaaa,0.0,;EmptyBorder,3,3,3,3;",caretPosition:0,editable:false,enabled:true,fgcolor:null,font:"Tahoma,0,13",format:"dd-MM-yyyy",readOnly:true,titleText:"Aanmaakdatum",toolTipText:null,transparent:false,visible:true}

System info: Servoy version 6.0.9

Note: In Servoy version 6.0.5 the titleText string IS filled correctly.
Irene Bom
www.stb.nl
User avatar
pilgrim
 
Posts: 34
Joined: Wed Jun 13, 2007 9:50 am

Return to Methods

Who is online

Users browsing this forum: No registered users and 9 guests

cron