Salesforce

Center Screen In RIA (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Center Screen In RIA (Magic xpa 4.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 RIA setting to Yes, then the current record will appear in the middle of the window.

The Center Screen in RIA setting enhances performance in RIA tasks with a Table control that accesses database tables. In other words, only RIA 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 RIA 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 RIA 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.

This setting affects behavior in the following situations:

  • Changing the task mode from Modify or Query.

  • After a Locate Next operation.

  • After a successful Query mode Locate.

Limitation

It is not supported at the initial task opening time, for offline programs, and on mobile devices.

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: CenterScreenInRIA

Since version: 3.2e

See also

CenterScreenInOnline

Reference
Attachment 
Attachment