hi,
> It seems as the cuebanner function isn't
working if the xbpsle is filled
> with spaces. I would expect that if the var is empty(),
the cuebanner should
> be shown.
> In the case cVar := "" the cuebanner is working, if cVar
:= space(20) the
> cuebanner doesn't appear.
see Problem with cueBanner,
preview.xbase++.servicelevel1, 10. Juli 2008, Roger Donnay
>> LOCAL cString1 := 'String 1', cString2 :=
''
...
>> oSle1 :=
XbpSle():new(oDlg:drawingArea,,{20,20},{200,20})
>> oSle1:dataLink :=
{|u|IIF(u==nil,cString1,cString1:=u)}
>> oSle1:setCueBanner('Test 1')
>> oSle1:create()
>> oSle1:setData()
>>
>> oSle2 :=
XbpSle():new(oDlg:drawingArea,,{20,40},{200,20})
>> oSle2:dataLink :=
{|u|IIF(u==nil,cString2,cString2:=u)}
>> oSle2:cueBanner := 'Test 2'
>> oSle2:create()
>> oSle2:setData()
>
>oSle1 will not show while cString1 is ".not. Empty()"
>oSle2 shoud work, but i also can not get :cueBanner to
work.
>
>greetings by OHR
>Jimmy
and from Till
>Anyway, I doubt it's you that gets in the way of
:CueBanner. Your
>code works just fine on my machine. Please check you've
got a
>manifest deployed and if you're using XP, that enhanced
language
>features are disabled (check the "Languages" tab in the
"Regional
>Settings" dialog!). There's a bug in XP that prevents the
cue
>banner from being displayed...
>
>--
>Regards,
> Till Warweg
> [Alaska Software]