DevExpress学习知识点
DevExpress学习知识点
1 TCxCurrencyEditor如何操作(读,写)其中的值
Use the Value property to get and set the floating-point data, stored by a currency editor. EditValue and Value refer to the same data. The Value property is an EditValue wrapper. EditValue is of type Variant and can store NULL values. If EditValue specifies NULL, the Value property returns zero.
After a user presses the Enter key or sets focus to another control, the edit text is validated and converted to the EditValue property.
2 修改cxgriddbtableview的标题
改写事件onCustomDrawPartBackground
ACanvas.Font.Color:= clblack;//改写font
AViewInfo.Text := '标题1';//改写内容
3 去掉cxgridtableview的标题
cxgriddbtableview.OptionsView.GroupbyBox设为false
4 cxgriddbtableview.clearitems的作用
将所以column都清除了,即清除了整个视图。