FirePower X Observations
I installed Delphi 10.4, FirePower X, and rebuilt my project as is. Everything installed & built smoothly. This is my out of box experience.
1. Error when opening a dataset attached to wwDataGrid with a column where ControlType=gdcLookupCombo. Don't know if it means anything, but the grid is on the second page of a tab control. It's the subdetail dataset in a master-detail-subdetail relation. This is a show stopping bug. I'll research how to get around.
The dataset is opened as part of the form creation process, if that matters.
Here's the stack:
:00007FFF38CC4F38 ; C:\Windows\System32\KERNELBASE.dll
System._RaiseAtExcept(???,???)
System.Generics.Collections.ErrorArgumentOutOfRange
:0000000001457075 {System.Generics.Collections}TList<FMX.wwDataGrid.TwwGridColumn>.GetItem + $15
:0000000001433BA9 TwwGridColumns.GetColumn + $9
:00000000014E204C TwwLookupComboEdit.ObserverToggle + $FC
:00000000014E1E8D TwwLookupComboEdit.ObserverAdded$ActRec.$0$Body + $D
Data.Bind.ObserverLinks.TBindObserver.SetActive(???)
Data.Bind.Components.TControlObserver.TrySetActive(True)
Data.Bind.Components.TCustomBindLink.SetActive(True)
Data.Bind.Components.TActivatedContainedBindComponent.AutoActivateOnPropertyChange
Data.Bind.Components.TActivatedContainedBindComponent.UpdateControlChanged
Data.Bind.Components.TCommonBindComponent.SetControlComponent($CFC1630)
Data.Bind.Components.TInternalLinkControlToFieldBinding.SetControlComponent($CFC1630)
Data.Bind.Components.TLinkControlDelegate.SetControlComponent($CFC1630)
Data.Bind.Components.TCustomLinkFillControlToField.SetControlComponent($CFC1630)
:0000000001442ACF TwwDataGrid.UpdateBinding + $33F
:0000000001429282 TwwDataGrid.ApplyStyle + $3D2
FMX.Controls.InternalApplyStyle($E0861A0)
FMX.Controls.TStyledControl.ApplyStyleLookup
:00000000011508D9 TwwScrollBox.ApplyStyleLookup + $9
:0000000001150925 TwwScrollBox.GetVScrollBar + $45
:0000000001425083 TwwDataGrid.LinkActive + $193
:00000000014229A5 TwwGridDataLink.ActiveChanged + $25
Data.DB.TDataLink.SetActive(???)
Data.DB.TDataLink.UpdateState
Data.DB.TDataLink.DataEvent(???,???)
Data.DB.TDataSource.NotifyLinkTypes(deUpdateState,0,True)
Data.DB.TDataSource.NotifyDataLinks(???,0)
Data.DB.TDataSource.SetState(???)
Data.DB.TDataSource.UpdateState
Data.DB.TDataSource.DataEvent(deUpdateState,0)
Data.DB.TDataSet.DataEvent(deUpdateState,0)
FireDAC.Comp.DataSet.TFDDataSet.DataEvent(deUpdateState,0)
Data.DB.TDataSet.SetState(???)
Data.DB.TDataSet.OpenCursorComplete
Data.DB.TDataSet.SetActive(True)
FireDAC.Comp.DataSet.TFDDataSet.SetActive(???)
Data.DB.TDataSet.Open
MainDatamodule.TMainData.PrepareDatasets($65C2290)
2. Alignment of value in TSpinBox has changed. It's hard right aligned. TextSettings property shows center alignment. With theming, the value actually falls under the spin arrow. Tried setting alignment to Leading. No change.
10.3.3:
10.4:
3. Alignment has changed on some controls. Notice Discount $ value alignment change above. Some other examples:
10.3.3:
10.4:
10.3.3:
10.4:
Minor stuff, but worth noting.
-
I do see the problem with the access violation when you have no columns assigned. I'm not sure about the other error as indicated in your email.
As far as the alignment is concerned FireMonkey changed data bound controls to use the alignment as defined by the tfield. I'm not sure that was a good idea since now the control alignment is ignored. We may restore the control TextAlign in the next build or introduce a new property to test to use the data binding alignment.
Please sign in to leave a comment.
Comments
1 comment