在这里阅读DataProvider
第二个代码示例,它显示TextArea
内列表中选定项的数据。文章的代码虽然做了它应该做的事情,但给了我以下错误:
类型错误: 错误 #1009: 无法访问 null 的属性或方法 对象引用。 at fl.controls::TextArea/drawLayout() at fl.controls::TextArea/draw() at fl.core::UIComponent/callLaterDispatcher()
为什么?
事实证明,
我还必须在我的库中拥有TextArea
控件。