>>Hi everybody,
>>
>>In the Property sheet I'm trying to change a NullDisplay property for my combobox class, but it keeps reverting to None, though in Bold. Is it a bug? Should it be changed in run-time in code only?
>>
>>Thanks.
>
>For Style = 2 VFP don't allow NullDisplay.
>A design bug.
>
>WITH CREATEOBJECT("ComboBox")
> .NullDisplay = "Some0"
> ? .NullDisplay
> .Style = 2
> ? .NullDisplay
> .NullDisplay = "Some2"
> ? .NullDisplay
>ENDWITH
>
>Hovewer, VFP doesn't uses .NullDisplay with Style = 0 ( another bug )
Thanks. In other words, adding .NullDisplay = 'NULL' in lAddBlank_Assign didn't have any impact <g>
If it's not broken, fix it until it is.
My Blog