User Tools

Site Tools


setalerts_alert_keystrokes_for_the_edit_control_editdroplistclass_.htm
Navigation:  ABC Library Reference > EditDropListClass > EditDropListClass Methods >====== SetAlerts (alert keystrokes for the edit control:EditDropListClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SetAlerts, VIRTUAL

blk2blue.jpg

The SetAlerts method alerts appropriate keystrokes for the edit-in-place DROPLIST control.

Implementation:

The Init method calls the CreateControl method to create the input control and set the FEQ property. The Init method then calls the SetAlerts method to alert appropriate edit-in-place keystrokes for the edit control. Alerted keys are:

TabKey      !next field

ShiftTab    !previous field

EnterKey    !complete and save

EscKey      !complete and cancel

TipBox.jpg

Arrowup and Arrowdown keys are not alerted for a DROPLIST control because these keys are used to navigate within the DROPLIST.

Example:

EditClass.Init PROCEDURE(UNSIGNED FieldNo,UNSIGNED ListBox,*? UseVar)

CODE

SELF.ListBoxFeq = ListBox

SELF.CreateControl()

ASSERT(SELF.Feq)

SELF.UseVar &= UseVar

SELF.Feq{PROP:Text} = ListBox{PROPLIST:Picture,FieldNo}

SELF.Feq{PROP:Use} = UseVar

SELF.SetAlerts

See Also:     Init

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