TComboBox:bCloseUp doesn't work
Posted: Thu Feb 16, 2006 11:30 am
This is the sample. I hear no beep when the dropdownlist is closed. Am I missing something?
EMG
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oCbx, cVar := SPACE( 20 )
DEFINE DIALOG oDlg
@ 1, 1 COMBOBOX oCbx VAR cVar;
ITEMS { "First", "Second", "Third" };
STYLE CBS_DROPDOWN
oCbx:bCloseUp = { || Tone( 440, 1 ) }
@ 3, 1 BUTTON "&Close" ACTION oDlg:End()
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL