hexagon logo

Settogglestring

Hello all,
Is there some documentation on the settogglestring method.
I am curious about the parameter values and how to set them
accordingly.
Thanks in advance for any help or info.
Parents
  • For the icon on use this

    ' Set Show Ids Item 1 = ICON
    retval = DmisCommand.SetToggleString (1, SHOW_IDS, 1)


    For the icon off use this

    ' Set Show Ids Item 1 =
    retval = DmisCommand.SetToggleString (6, SHOW_IDS, 1)


    Why it's '6' I have no idea.


    Handy little trick for this type thing btw.

    1) Get notepad++ (if you haven't yet)
    2) From plugins menu select Plugins Admin and search for and install 'Compare'
    3) From PCDMIS export the .bas with the option in question set one way, and then the other
    4) Open both files in notepad++ and from the plugins menu select compare, then compare
Reply
  • For the icon on use this

    ' Set Show Ids Item 1 = ICON
    retval = DmisCommand.SetToggleString (1, SHOW_IDS, 1)


    For the icon off use this

    ' Set Show Ids Item 1 =
    retval = DmisCommand.SetToggleString (6, SHOW_IDS, 1)


    Why it's '6' I have no idea.


    Handy little trick for this type thing btw.

    1) Get notepad++ (if you haven't yet)
    2) From plugins menu select Plugins Admin and search for and install 'Compare'
    3) From PCDMIS export the .bas with the option in question set one way, and then the other
    4) Open both files in notepad++ and from the plugins menu select compare, then compare
Children
No Data