Announcement

Collapse
No announcement yet.

DoSymbolLink()....huh?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DoSymbolLink()....huh?

    I can't figure out how thiis function works. What is it actually getting and setting in the eSignal app? Since the eSignal app has multiple links (the various colors), how can you know which one this is supposed to set?

    I tried using this function after creating a bunch of windows, each "symbol link"ed with a different color, and none of them change symbol when I call this function. What does this function do?

    The documentation is of little help. It only states that...

    The value passed as an argument to the DoSymbolLink function appears in the “Linking Symbol” field within the eSignal application.

    What is the "Linking Symbol field"?

    Any help with this would be much appreciated. TIA.

  • #2
    You might try using SetGroupSymbol instead, with the index of the group you want to change. The former method may refer to linking in a version prior to the multiple groups.

    Sorry I don't have time to verify this right now, but it's a lead.

    Simon.
    Simon Thornington
    eSignal Developer

    Comment


    • #3
      Yup, that's the ticket!

      So I guess the API docs are a bit out of date, eh, since SetGroupSymbol isn't even mentioned? Or do I somehow have the wrong docs?

      I don't need it right now, but I don't see a method for getting the current symbol for a particular group (the equivalent of GetCurrentLinkingSymbol). I'm curious if there's a way to do that too.

      Thanks much for the help!

      PS: For those finding this thread and wondering just how SetGroupSymbol works...

      esignal.SetGroupSignal "<symbol>" <group>

      where:

      <symbol> is a String representing the symbol
      <group> is a 1-based index of the group to set (1 == green, 2 == orange, ...)

      Comment


      • #4
        You're right, I don't see an analogue for GetCurrentLinkingSymbol that would work with the multiple groups. Robi may add this to the list of desired features when he returns.

        Cheers,

        Simon.

        EDIT: and yes, the docs probably out of date. I am not sure who added SetGroupSymbol, or when, but it seemed like a likely candidate browsing the latest typelib.
        Last edited by sthornington; 07-27-2004, 05:06 PM.
        Simon Thornington
        eSignal Developer

        Comment

        Working...
        X