Latest gdPicture.Net 12 with Delphi Seattle
Posted: Thu Sep 08, 2016 3:45 pm
I downloaded the latest trial for gdPicture.Net 12 on 9/7/2016 (12.0.0.33?) and set it up in Delphi Seattle.
My first problem was the GdPicture_NET_12_TLB.pas file contained the following code:
TControlData2(CControlData).FirstEventOfs := UIntPtr(@@FOnViewerDoubleClick ) - UIntPtr( Self );
I modified it as such to eliminate the errors:
TControlData2(CControlData).FirstEventOfs := Cardinal(@@FOnViewerDoubleClick ) - Cardinal( Self );
I was then able to build and install the component/package.
The remaining problem is that when I place a gdViewer component on a Delphi form, I can't select it (on the form) at design time using the mouse. I have to select the instance in the Structure or Object Inspector in order to do things like change properties or changing position and size. I can resize it, but I can't move it using the mouse at design time. It's a Delphi VCL Win32 application.
Note that I tested it in Visual Studio 2012, and I don't have any problems selecting the component on the form at design time in that IDE.
Thanks in advance for any assistance in getting my Delphi Seattle to work with the gdViewer component at design time in a normal fashion (selecting, moving, and resizing with mouse).
My first problem was the GdPicture_NET_12_TLB.pas file contained the following code:
TControlData2(CControlData).FirstEventOfs := UIntPtr(@@FOnViewerDoubleClick ) - UIntPtr( Self );
I modified it as such to eliminate the errors:
TControlData2(CControlData).FirstEventOfs := Cardinal(@@FOnViewerDoubleClick ) - Cardinal( Self );
I was then able to build and install the component/package.
The remaining problem is that when I place a gdViewer component on a Delphi form, I can't select it (on the form) at design time using the mouse. I have to select the instance in the Structure or Object Inspector in order to do things like change properties or changing position and size. I can resize it, but I can't move it using the mouse at design time. It's a Delphi VCL Win32 application.
Note that I tested it in Visual Studio 2012, and I don't have any problems selecting the component on the form at design time in that IDE.
Thanks in advance for any assistance in getting my Delphi Seattle to work with the gdViewer component at design time in a normal fashion (selecting, moving, and resizing with mouse).