form columns

iqbalmadiqbalmad Member Posts: 179
Hi guys,

wen i open a form and change the position on certain fields, re-sized certain fields and then i close the form.

What should i do, so that when i re-open the fom:
- those fields that I moved previously come to their original places
- those fields i re-sized are not affected

thankx

Comments

  • KisuKisu Member Posts: 381
    iqbalmad wrote:
    Hi guys,

    wen i open a form and change the position on certain fields, re-sized certain fields and then i close the form.

    What should i do, so that when i re-open the fom:
    - those fields that I moved previously come to their original places
    - those fields i re-sized are not affected

    thankx

    Are you the only one editing those fields, did the forms compile after you close the Form?

    Did you check the gluings?
    K.S.
  • iqbalmadiqbalmad Member Posts: 179
    sory i don't get your point
  • KisuKisu Member Posts: 381
    iqbalmad wrote:
    sory i don't get your point

    If you edit the fields and compile them and if the compile succeeds the fields are saved to the positions you changed them. If you want to get them back like they were before you need to restore the Form which you edited from backup or import it elsewhere.
    K.S.
  • iqbalmadiqbalmad Member Posts: 179
    i am a developper and i want to implement this:

    wen i open a form and change the position on certain fields, re-sized certain fields and then i close the form.

    What should i do, so that when i re-open the from:
    - those fields that I moved previously come to their original places
    - those fields i re-sized are not affected

    Through Codes!!!
  • KisuKisu Member Posts: 381
    iqbalmad wrote:
    i am a developper and i want to implement this:

    wen i open a form and change the position on certain fields, re-sized certain fields and then i close the form.

    What should i do, so that when i re-open the from:
    - those fields that I moved previously come to their original places
    - those fields i re-sized are not affected

    Through Codes!!!

    hmm not 100% sure but
    some code under the Form's OnOpenForm trigger could do the job I think.
    You can use some form properties in C/AL and maybe form control's properties aswell (I'm just not sure how to call them)

    In C/AL symbol menu:
    CurrForm -> (Form) Properties and Controls has the methods to set positions and gluings.
    K.S.
Sign In or Register to comment.