Options

Strg+C (Copy) with several Tab-Controls

SchlumpfSchlumpf Member Posts: 6
In every Version of Navision I've tested, Strg+C (Copy) doesn't work if you place several tab-controls on one Form. It doesn't matter if the tab-controls are on several registers/pages or if some of them are hidden (invisible).
If you create a form with 3 tab-controls, you can mark lines correctly only in one of them. The other ones show strange effects while doing this.

Has anyone a solution for this problem ?

Comments

  • Options
    kinekine Member Posts: 12,562
    Do you mean tabs with more than one table control on them and selecting the lines in this tables???

    If yes, it is normal that there will be problems, because all table controls are working with same rec...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    SchlumpfSchlumpf Member Posts: 6
    This is exactly what I mean.
    The strange effects in the inactive table-boxes may result from working on the same rec.
    But why can I select lines only from one of the table-boxes ?
    What is the difference between them ?
    It seems to me, that only the last inserted table-box works correctly (for selecting lines).
  • Options
    kinekine Member Posts: 12,562
    Because they are sharing rec, OnAfterGetCurrRecord, OnFindRec etc... but they are not updating if you move line on another table... By design, form is made for using only one table control per form, if you want more, you can use subforms... the system is confused from that situation...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    SchlumpfSchlumpf Member Posts: 6
    It is no problem to me, that they doesn't update correctly. =;
    But it is a problem, that I can't select lines in all table boxes. :(

    Using a subform wouldn't help me, because I want to split a very broad table to 3 table-boxes on 3 registers/pages on one single form. :!:

    Maybe the form is confused :roll: , but for me, it seems to be a bug. #-o
  • Options
    kinekine Member Posts: 12,562
    Do not forget, that the selection is lost if you move the cursor without ctrl or shift - and because if you are selecting record on one table box, you are moving cursor elsewhere, and other boxes lost the selection, because for them you are not using ctrl or shift to select the record... you must use another way how to select the records... (new field, etc...)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    SchlumpfSchlumpf Member Posts: 6
    I don't try to select lines in more than one table-box at the same time.

    The problem is, that you can anyway select lines in only one of all the
    table-boxes of the form.
    Try it for yourself. Create a form, place 3 table-boxes in it,
    run it and try to select from any of these table-boxes.
  • Options
    kinekine Member Posts: 12,562
    I tried it in NA 4.0 and no problem... I selected what I want in each form... without problems, no changes in other tableboxes when I selected something in one... only actual record moved... of course I did not tested result of CurrForm.SETSELECTIONFILTER.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    SchlumpfSchlumpf Member Posts: 6
    In Navision 4.0

    Step1: Create a new form (plain form)
    Step2: Source Table = Item (for example)
    Step3: Place 3 table-boxes on it
    Step4: Put Fields No. / Description / ... into the table-boxes
    Step5: run form

    What you can do with every table-box:
    - mark all records with click on upper left corner
    - mark several records with Ctrl/Strg + Click

    What you can't do with all table boxes:
    - mark records by moving cursor with pressed mouse-button
    - COPY VALUES FROM SELECTED RECORDS (try it !!)
Sign In or Register to comment.