O
oedev
Guest
Hi All, I'm trying to use a thumbnail control from a company called Accusoft on a ABL form. I've added the control to the toolbox, and can successfully drag it onto the form. However, when I then try to access the properties or view the source of the form, the following error is displayed; "An error occurred while serializing the design surface" Looking at the control, it inherits from System.Windows.Forms.UserControl. The class itself also only has one constructor. Comparing this to other controls I've used,they all inherit from System.ComponentModel.Component and have a constructor which can takes a parameter of System.ComponentModel.IContainer. I've tried to add the control programatically, which I can do, and all method and properties, but the control is not visualized at all. DEFINE PRIVATE VARIABLE thumbnailXpress1 AS Accusoft.ThumbnailXpressSdk.ThumbnailXpress NO-UNDO. THIS-OBJECT:thumbnailXpress1 = NEW Accusoft.ThumbnailXpressSdk.ThumbnailXpress(). THIS-OBJECT:components:Add(THIS-OBJECT:thumbnailXpress1). THIS-OBJECT:thumbnailXpress1:Location = NEW System.Drawing.Point(100, 100). THIS-OBJECT:thumbnailXpress1:Name = "thumbnailXpress1". THIS-OBJECT:thumbnailXpress1:Size = NEW System.Drawing.Size(294, 194). THIS-OBJECT:thumbnailXpress1:Visible = true. THIS-OBJECT:thumbnailXpress1:Enabled = true. THIS-OBJECT:thumbnailXpress1:Items:AddItemsFromDirectory("C:\TEMP\output\scan\", 0). message THIS-OBJECT:thumbnailXpress1:Items:Count view-as alert-box. The message indicates my images are present in the control, but are not shown at all. Any idea where I am going wrong? Thanks!
Continue reading...
Continue reading...