Top
PowerBSORT V7.0 User's Guide
FUJITSU Software

B.9 Migrating from PowerBSORT VBX

There are several differences between the properties of PowerBSORT OCX and PowerBSORT custom control (It is denoted as PowerBSORT VBX). Changes and respective countermeasures are explained below.

Explanation of the properties added

Property whose method to specify values is changed

Other properties

There are also changes in other properties and they can be specified in the same way as the property in PowerBSORT VBX.

Example

  1. About the DisposalNumber property and the Action method

    In PowerBSORT VBX, as for the operation aspect of PowerBSORT, it is executed by the following procedure.

    object.Action = 0

    In PowerBSORT OCX, after specifying which processing is performed by the DisposalNumber property, call the Action method.

    object.DisposalNumber = 0
    object.Action
  2. About the FieldDefinition property

    The FieldDefinition property in PowerBSORT VBX uses FALSE or TRUE as the set value.

    object.FieldDefinition = TRUE

    However, in PowerBSORT OCX, 0 or 1 is used.

    object.FieldDefinition = 1
  3. About the CollationOrder property

    In CollationOrder property, 1 is set to enable the ContainWideChar property in PowerBSORT VBX.

    • For PowerBSORT VBX

      object.ContainWideChar = TRUE
    • For PowerBSORT OCX

      object.CollationOrder = 1

    2 is set to enable the CompareAsNumber property in PowerBSORT VBX.

    • For PowerBSORT VBX

      object.CompareAsNumber = TRUE
    • For PowerBSORT OCX

      object.CollationOrder = 2