Enum PortDiagnosticKind
- Namespace
- RDCore.Forms.Porting
- Assembly
- RDCore.Forms.dll
What a PortDiagnostic reports. Each kind's name is the stable name of the diagnostic, and the key of its message.
public enum PortDiagnosticKind
Fields
AcceleratorAssignment = 0An assignment to MSForms'
Accelerator. RDForms writes an access key as a&before its letter in theCaption, and the code port cannot place it without the caption.ComputedProgId = 3A ProgID given to
Controls.Addby an expression that is not a literal, so the code port cannot rewrite it.CoordinatesConverted = 10A handler the code port gave two first lines converting
XandYback to the legacy unit.ExitPortedToValidate = 7An MSForms
Exithandler, ported toValidate. RDForms raises Validate only when the control that takes the focus hasCausesValidationset toTrue, the default.ExpressionNotConvertible = 2A value of a member whose values convert, given by an expression that is neither a literal nor a constant, so the code port cannot convert it.
FindWindowThunderDFrame = 12A call of user32's
FindWindowgiven the literal window class"ThunderDFrame", the FormWindowClass of a UserForm. A ported form is an RDForms window, which has no such class, so the call finds no window. Code that finds the window to set its icon sets the form'sIconproperty instead.LateBoundMember = 5A late-bound call, on a variable declared
As ObjectorAs Variant, to a member the port renames or whose values or unit it converts. The code port cannot tell which control the call is on.ScrollBarReference = 8A reference to MSForms'
ScrollBarthat the code port cannot tie to one control, so it is typedRDForms.Control: a ScrollBar ports toRDForms.HScrollBarorRDForms.VScrollBarby its orientation.ScrollBarTypeNameChanged = 11A
TypeNameorTypeOf ... Iscomparison on a control ported from MSForms'ScrollBar: the control is anRDForms.HScrollBaror anRDForms.VScrollBar, soTypeName(x) = "ScrollBar"isFalseafter the port.UnitWrapped = 9An expression the code port wrapped in a call of the
RDForms.Unitsmodule, such asFromTwips(...), to keep it in its legacy unit.UnknownProgId = 4A literal ProgID given to
Controls.Addthat names no class the port map has.UnresolvedDataSource = 6A
ControlSourceorRowSourcestring that nothing resolves, such as a worksheet range.ValueNotConvertible = 1A legacy value that is none of the documented values of its member, so it has no RDForms value. It is what Diagnostic reports.