Designer with modules

Discussion in 'Beta Versions' started by derez, Sep 17, 2008.

  1. derez

    derez Expert Licensed User

    I try to move a part of the program to a separate module.
    I create an empty module - OK.
    I move one form, number 6, to this module - OK.
    I try to edit form2 on the main part and get this error : "Length cannot be less than zero", without even showing the form.

    what is wrong ?

    see attached error message.

    Edit:
    In addition, at least two controls, opendialog1 and opendialog2, disappeared from the controls list immediately after moving the form, and present an error when compiling.

    Edit:
    now I see that when I move form6 to the new module, I also loose forms 2 and 4 from the total of 9 forms. the dialogs were in 4.
    If I move form 5 instead of 6, other forms are missing ...
    It looks like something to do with the size of this program (which is quite large).
     

    Attached Files:

    Last edited: Sep 17, 2008
  2. Erel

    Erel Administrator Staff Member Licensed User

    Thanks Dudu.
    Can you upload your code or send it to me?
    I wasn't able to reproduce it.
     
  3. derez

    derez Expert Licensed User

    Not this one, but I shall try the same process in other programs and hope it happens in any of them.

    Edit: I found another program and sent it to you.
     
    Last edited: Sep 18, 2008
  4. Erel

    Erel Administrator Staff Member Licensed User

    Thanks again. It will be checked soon.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice