AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
General
  • AVEVA World
General
Members Chat Area! PML Code Source
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 2 replies
  • Subscribers 2 subscribers
  • Views 16 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

PML Code Source

Shahrouz Raeisi
Shahrouz Raeisi over 14 years ago
 
  • Sign in to reply
  • Cancel
  • Shahrouz Raeisi
    Shahrouz Raeisi over 14 years ago
    I need a PML code for a browser.

    I am coding for a PML function which need to open browser and user will chose a file browsing the PC.

    But in General, Is there any open source for PML Codes some where out ther?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Rodrigo Basniak
    Rodrigo Basniak over 14 years ago
    In PDMS 11 (pml form):

    show !!filebrowser

    In PDMS 12 (windows standard form):

    import 'pmlfilebrowser'
    handle any
    endhandle

    Using namespace 'Aveva.Pdms.Presentation'

    !browser = object PMLFILEBROWSER('OPEN')

    !browser.show('U:\Aveva', '', 'Title of the window', true, 'Text files (*.txt)|*.txt' , 2)

    !selected = !browser.File()

    $P Selected file is $!selected


    Hope that helps...
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel