• Syntax to copy an element

    [COLOR="Red"]new [/COLOR]
  • Also, if you are a new user and need help with your syntax commans, pdms has a nice little form to help you. In your command line type:

    show !!syntaxhelp

    Enjoy....
  • I just finished teaching a class and there are a few students interested in taking it to the next level.  That will help alot when it comes to teaching syntax.  didn't know about that one myself.
  • Hola como estan, les doy las gracias por sus aportes para el mundo PDMS, necesito ayuda con una aplicacion que entregaron aqui, quiero remover elementos desde el Desing con el siguiente comando REMOVE ID@, pero, este solo remueve lo que toco, funcionando solo una ves, y se corta el comando, lo que quiero es que el comando siga activo y cuando yo lo decida pueder soltarlo a mi antojo.

    porfavor es urgente gracias
    :) :) :) :)
  •  

    $*************************************************************************
    !Remove = Array()
    Do
    !mcount = !Remove.size()
    id @
    Handle (61,528)
        Golabel /Break
    EndHandle
    
    !Ref = ref
    If('$!mcount' eq '0') Then
        !Remove.append(!!ce)
        !mcount = !Remove.Size()
        Enha $!Remove[$!mcount]
        refre
    Else
        Do !x from 1 to !mcount
            If('$!ref' eq '$!Remove[$!x]')Then
                unenh $!Remove[$!x]
                refre
                $!Remove[$!x].Delete()
                golabel /Skip
            Endif
        Enddo
    EndIf
    
        !Remove.append(!!ce)
        !mcont = !Remove.Size()
        enha  $!Remove[$!mcount]
        refre
    
        Label /skip
        !Remove = !Remove.Unique()
    
    Enddo
    
    Label /Break
    
    !Response = !!alert.Confirm('Are you sure you want to remove all highlighted items')
    
    If(!Response eq 'No') Then
        $PCancel
        return
    EndIf
    
    unenh all
    
    Do !Item from 1 To !Remove.size()
        $!Remove[$!Item]
        remove ce
    Enddo
    
    $****************************************************************************************

  • Gracias me sirve mucho, realmente lo que deceo es que al pinchar el elemento este se remueva, voy a tratar de modificar tu macro que es excelente, para obtener lo que quiero.....

    gracias un millon de gracias, veo que el mundo pdms esta creciendo

    :) :) :) :)
  •  

    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    REMOVE id @
    REFRE
    

  • Esto es lo mas facil.
    $****************************
    do
       remove id @
       handle any
           golabel /break
       EndHandle
       refr
    Enddo
    $****************************

    Again, your Drawlist form has a button for remove identify.
  • Muchas Gracias, exelente, ya la probe, y me sirvio mucho

    gracias de nuevo

    si te puedo ayudar en algo escribeme, aunque no creo que yo te pueda ayudar a ti jajajaja

    :) :) :) :)

    SE QUE MI DRAWLIST LO TIENE, PERO NO ES LO QUE YO QUERIA, GRACIAS