next_navigation_item property is not affecting
Hi ,
I have a form that has four text items, two of them are initialy have enabled property set to false ( disabled ) at design time.
on the trigger WHEN-RADIO-CHANGED i use this code to enable the two items and move the cursor to the first items.
SET_ITEM_PROPERTY('PRINT_BLOCK.from', ENABLED, PROPERTY_TRUE);
SET_ITEM_PROPERTY('PRINT_BLOCK.to', ENABLED, PROPERTY_TRUE);
GO_ITEM('PRINT_BLOCK.FROM');
It seems that the navigation order set at design time changes if some items are disabled.
The cursor moves to the first item but does not navigate by the tabe key to the second item.
I put this line of code in this trigger to correct the next navigation item after the last line of code :
SET_ITEM_PROPERTY('PRINT_BLOCK.from', next_navigation_item, 'PRINT_BLOCK.to');
But the tab key still moves the cursor to another item
What is wrong with me ?