Salesforce

Center Screen In Online (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Center Screen In Online (Magic xpa 2.x)

By default, the current record will show up at the top of the window. Sometimes this confuses the user, who may think that there are no other records above. However, if you set the Center Screen in Online setting to Yes, then the current record will appear in the middle of the window.

The Center Screen in Online setting enhances performance in Online tasks with a Table control that accesses database tables. In other words, only Online tasks that have a Table control on the form are influenced by this setting.

This setting affects tasks where the Main source is browsed using a two-way index or no index.

Setting the Center Screen in Online property to Yes, instructs Magic xpa to position the current record in the center of the screen, and read records before and after this record to fill the rest of the screen. This resulted in the opening of two cursors; one to read forward and one to read backward from the current record position.

Setting the Center Screen In Online property to No, instructs Magic xpa to position the current record at the top of the screen, thus eliminating the need to open a cursor backward from the now current record position, as these records will not be displayed in the refreshed screen.

Note:

This property is not supported in Rich Client tasks.

This setting affects behavior in the following situations:

  • Changing the task mode from the following modes: Modify, Query, Locate, Index, Sort into Modify or Query.

  • After a Locate Next operation

  • After a successful Query mode Locate

Behavior Exceptions

Changing from Range mode with or without a new range, parks on the first record of the range.

Changing from Sort mode with a new sort, parks on the first record of the range.

Changing from Create mode, parks on the first record of the range.

The changed behavior is driven by the Magic xpa engine itself, and should be the same for different gateways.

Available values: Yes, No

Default: No

Change effective: Immediate

Magic.ini and Command Line name: CenterScreenInOnline

Reference
Attachment 
Attachment