FocusSet()

Gives the input focus to a specified Windows control.

Token ID

AFTKN_SETFOCUS or 617

Syntax

VOID FocusSet(ENUM Place; 
               [ANSISTRING ControlName])

Parameters

Place As ENUM

Control to receive the input focus, as follows:

11

AcceptBtn

24

AddressBtn

12

AttachBtn

27

Attachments

4

Authority

3

BC

25

BusyBtn

29

Called

6

Caller

34

CameToSeeYou

13

CancelOrCloseBtn

2

CC

7

Company

273

ControlName

36

DayAppt

37

DayNote

38

DayTask

20

DeclineBtn

14

DelegateBtn

15

DeleteBtn

43

FolderList

349

FollowUpTo

16

ForwardBtn

1

From

17

InfoBtn

44

ItemList

504

LargeMonth

10

Message

18

OkBtn

8

Phone

5

Place

30

PleaseCall

19

PrintBtn

26

Priority

21

ReplyBtn

32

ReturnedYourCall

22

SaveBtn

28

Security

23

SendBtn

42

SmallMonth

9

Subject

0

To

35

Urgent

33

WantsToSeeYou

39

WeekAppt

40

WeekNote

41

WeekTask

31

WillCall

ControlName As ANSISTRING

(Optional) Name of a user-defined control.

Remarks

Note: This is not an option for Start/End Date, Duration, or Custom button controls.