User Tools

Site Tools


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

SetRequestControl (pVCRRequest, pVCRViewRecord, pVCRInsertRecord, pVCRChangeRecord, pVCRDeleteRecord)

blk2blue.jpg

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

Implementation:

The SetRequestControl method is used to map an appropriate control to a particular database action. If the parameter is not set by the SetRequestControl 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)

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