Results 1 to 4 of 4

Thread: Forms 6i

  1. #1
    Join Date
    Mar 2011
    Posts
    3

    Post Unanswered: Forms 6i

    Hi everybody there!

    first of all let me introduce myself. Im Aijaz, new to this forum.

    Friends i have a problem.

    I have a form (6i) where there r text items like T1,T2,T3,T4,T5,T6 in Master block and there r A,B,C,D,E,F text items in detail block.

    on T4, there is WVI trigger:
    ---------Trigger code
    IF :MASTER_BLOCK.T4 IN ('XYZ','ABC','PQR') THEN
    set_item_property('DETAIL_BLOCK.B',enabled,PROPERT Y_FALSE);
    set_item_property('DETAIL_BLOCK.C',enabled,PROPERT Y_FALSE);
    set_item_property('DETAIL_BLOCK.D',enabled,PROPERT Y_FALSE);
    END IF;
    ----------------
    now, my problem is, when i enter XYZ or PQR or ABC in T4, its deactivating B,C and D items on detail block and the cursor is directly moved to item E which is fine.
    When I tried to add another record (using 'ADD' push-button on my form) by entering a different data (say 'ASD') in T4, the cursor is again jumping to item E from item A on detail block instead of item B, when i press 'Enter Key'( in item A). During this process, all these items (B,C,D) are activated but i have to go back and enter values in it.

    Plz solve this for me, for which act of your goodselves, i will b ever-grateful to u all.

    Thanks in advance.

    Aijaz

  2. #2
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    You have to add ELSE into the IF statement, which will set ENABLED properties to TRUE.

    Note that
    Quote Originally Posted by Forms documentation
    At runtime, when the Enabled property is set to PROPERTY_FALSE, the Keyboard_Navigable property is also set to PROPERTY_FALSE.
    It means that you might need to set KEYBOARD_NAVIGABLE property to TRUE as well (if you want to restore previous navigation mechanism).

  3. #3
    Join Date
    Mar 2011
    Posts
    3

    Unhappy

    Hi
    I am not successfull so far in my problem.

  4. #4
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    Show us what you have tried. We don't do homework.
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •