Delphi XE7 - Placing DateEdit component in FlowLayout throws access violation error in FireMonkey MultiDevice application
I have a multi tabbed application that I am working in Delphi XE7. I have a TVertScrollBox that contains a TFlowLayout. When I add labels and other controls, I have no problem. I am currently running as a 32-bit Windows application (the same error with a different address occurs when running as a 64-bit Windows). When I cast TDateEdit onto the thread layout, I get:
If I omit DateEdit anywhere else in the form, that's ok.
I am wondering if I am not wrong about the layout by placing the flow layout inside the vertvrollbox or if this is just an XE7 bug.
Thanks in advance.
-edit
After some more research, I see that the error occurs in the FMX.StdCtrls TCheckBox.GetIsChecked function. This function has one statement:
Result := FIsChecked;
From now on, I think I might need to subclass DateEdit to do a workaround.
Any ideas would be appreciated.
- change
Further exploration - if I cut out the entire TVertScrollBox (and subcomponents) and placed in another tab, I had no problem ...
Is there a problem with multiple TFlowLayouts in one form?
source to share
No one has answered this question yet
Check out similar questions: