User Tools

Site Tools


setvcrcontrols_assign_field_equates_to_formvcr_scrolling_.htm
Navigation:  ABC Library Reference > FormVCRClass > FormVCRClass Methods >====== SetVCRControls (assign field equates to FormVCR scrolling) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SetVCRControls (pVCRTop, pVCRUp, pVCRPageUp, pVCRPageDown, pVCRDown, pVCRBottom, pVCRNewRecord=0)

blk2blue.jpg

The SetVCRControls method assigns the related field equate of a control to a particular FormVCR scrolling function. Each parameter specified is a SIGNED integer.

Implementation:

The SetVCRControls method is used to map an appropriate control to a particular scrolling action. If the parameter is not set by the SetVCRControls method, than the action is not supported.

Example:

OPEN(QuickWindow)                                ! Open window

 SELF.Opened=True

! Initialize the FormVCR manager

 FormVCR6.Init(?FormVCRControls,10,FormVCR6::View,Relate:people,SELF)

 FormVCR6.InsertWhenNoRecords = True

 FormVCR6.SetVCRControls|

 (?FormVCR:Top,?FormVCR:PageUp,?FormVCR:Up,?FormVCR:Down,|

  ?FormVCR:PageDown,?FormVCR:Bottom)

  FormVCR6.SetRequestControl|

 (?FormVCR:Request,?FormVCR:Request:View,?FormVCR:Request:Insert,|

 ?FormVCR:Request:Change,?FormVCR:Request:Delete)

setvcrcontrols_assign_field_equates_to_formvcr_scrolling_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1