Casio IT-2000W User Manual

Page 212

Advertising
background image

212

 Deletion of expansion key pad
<In case of VC>

void Cclass::DeleteProp( int KeyNo, int ExtNo )

{

m_PadCtrl->SetNumProperty( "KeyNo", 0 );

// Registration of Key No.

(0 to 47)

m_PadCtrl->SetNumProperty( "ExtNo", 1 ); // Registration of expansion

pad No. (1 to 2)

m_PadCtrl->SetNumProperty( "ExtPad", 2 );

}

<In case of VB>

Private Sub Command2_Click()

Padctrl1. KeyNo = 0

Padctrl1. ExtNo = 1

Padctrl1. ExtPad = 2

End Sub

 Deletion of all expansion pads
<In case of VC>

void Cclass::OnAlldelete()

{

m_PadCtrl->SetNumProperty( "ExtNo", 1 ); // Registration of

expansion pad No. (1 to 2)

m_PadCtrl->SetNumProperty( "ExtPad", 3 );

}

<In case of VB>

Private Sub Command3_Click()

Padctrl1. ExtNo = 1

Padctrl1. ExtPad = 3

End Sub

Advertising