Object properties and methods

SupportCommunity FPScript Object properties and methods

Ansicht von 5 Beiträgen - 1 bis 5 (von insgesamt 5)
  • Autor
    Beiträge
  • #12739
    Markus JanssenMarkus Janssen
    Mitglied

    Hello,

    is there a way to get a list of all the properties (and methods) of an object in FpScript?

    For example I would like to include in a document the adjustments of of a FourierSpectrum.

    Type = %{(BeschlSpektrum.Type)}
    window = %{(BeschlSpektrum.window)}
    But I only get numbers as result.
    I guessed them.

    thanks in advance

    #8405
    Markus JanssenMarkus Janssen
    Mitglied

    Hello,

    is there a way to get a list of all the properties (and methods) of an object in FpScript?

    For example I would like to include in a document the adjustments of of a FourierSpectrum.

    Type = %{(BeschlSpektrum.Type)}
    window = %{(BeschlSpektrum.window)}
    But I only get numbers as result.
    I guessed them.

    thanks in advance

    #9202
    Bernhard KantzBernhard Kantz
    Moderator

    These properties are enumerations in the automation interface. Therefore FlexPro returns an value instead of a string. If you need a string you have to do a mapping using FPScript.

    support@weisang.com

    #9203
    Markus JanssenMarkus Janssen
    Mitglied

    Thank you for your quick response.

    Are these properties documented anywhere?
    Where can I find this documentation?

    #9204
    Bernhard KantzBernhard Kantz
    Moderator

    You find the documentation of the FlexPro automation interface in the FlexPro help, e.g under
    Automating Task|Automation Using FlexPro Visual Basic|FlexPro Visual Basic Reference

    Futhermore you can use the Object Browser in VBA to see the properties of the FlexPro type library.

    support@weisang.com

Ansicht von 5 Beiträgen - 1 bis 5 (von insgesamt 5)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.