PC SOFT
ONLINE REPOSITORY
FOR WINDEVWEBDEV AND WINDEV MOBILE

Home |  | Sign in | English US
WD The Event function
Published by Boller
in the category Tools
New features



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, screen shots
none
none
User reviews
(To evaluate this resource, click 'Write a review')
No review or comment? Be the first one!