Opening and saving files with fileOpenSave dialog

rickmotion
2025-03-26
2025-09-11
  • rickmotion - 2025-03-26

    I have a customer that types in machine programs in a text file for machines and lets the machine execute it.

    In the old situation they can open and edit these files in a winform application. Now I want to move this to codesys.

    What I need is a simple way to open, close, save, edit the machine file in codesys visualisation.
    I want to use the fileOpenSave dialog. But don't understand how it works.
    I have the file transfer example and some other examples. But it is hard to figure out how the part with the file dialog works so that you can select a folder or file.

    Does someone know how that works?

     
  • beavel - 2025-09-08

    1 + Replying in hopes of getting an answer here. I would also like to modify the look of the FileOpenSave Dialog. I have successfully adjusted the looks of the User management Dialogs but can not find a library file to adjust this particular one. Any help would be helpful. @thk @eschwellinger @sheberle .

     
  • beavel - 2025-09-09

    Tim, you my friend is the best ! Thank you. I wish you a fruitful day.

     
  • beavel - 2025-09-11

    Uploading a step by step walk-through in case someone else might find it helpful. :)

     
    πŸ‘
    1

Log in to post a comment.