PC SOFT
DEPOT EN LIGNE
POUR WINDEVWEBDEV ET WINDEV MOBILE

WD The Event function
Publié par Boller
dans la catégorie Outils
Nouveautés



Description
WD The Event function

// Adds the months
FOR i = 1 TO 12
ListAdd(LIST_Month, MonthNumberInAlpha(i))
END

// Displays the selected month
EDT_SelectedMonth = LIST_Month[LIST_Month]


//-----------------------------

PROCEDURE WIN_Event_Function()

// The EXTERN command is used to automatically include the WINCONST.WL file
// This file contains the value of the Windows constants
// This code must be moved into the initialization code of the project or window
EXTERN "WINCONST.WL"


// Events on the LIST_Month control
Event("MouseOrKeyboard", LIST_Month..FullName, WM_KEYDOWN) // Keyboard key down
Event("MouseOrKeyboard", LIST_Month..FullName, WM_LBUTTONDOWN) // Left mouse click
Illustrations, copies d'écran
none
none
Avis des utilisateurs
(Pour noter la ressource, cliquez sur Ecrire un avis)
Aucun avis ou commentaire ? Soyez le premier !