کلینیک فوق تخصصی اکسس ( کاربرد vba در اکسس )

کلینیک فوق تخصصی اکسس ( کاربرد vba در اکسس )

به اشتراک گذاری اطلاعات کسب شده در اکسس از سایت آفیس و سایت های تخصصی خارجی
کلینیک فوق تخصصی اکسس ( کاربرد vba در اکسس )

کلینیک فوق تخصصی اکسس ( کاربرد vba در اکسس )

به اشتراک گذاری اطلاعات کسب شده در اکسس از سایت آفیس و سایت های تخصصی خارجی

تغییر ترتیب تب Change Tab Order



HWNDTOP


()OnInitDialog

: Original tab order is'
( 1) IDOK'
( 2) IDCANCEL'
( 3) IDC_MY_EDIT'


Get pointers to the controls '

(pOK=GetDlgItem(IDOK
(pCancel=GetDlgItem(IDCANCEL
(pEdit=GetDlgItem(IDC_MY_EDIT

Set the new tab order'

setwindowpos pEdit,&wndTop,0,0,0,0, SWP_NOMOVE Or SWP_NOSIZE

SetWindowPos pCancel,pEdit,0,0,0,0, SWP_NOMOVE Or SWP_NOSIZE

SetWindowPos pOk,pCancel,0,0,0,0, SWP_NOMOVE Or SWP_NOSIZE

: The new tab order is
( 1) IDC_MY_EDIT'
( 2) IDCANCEL'
( 3) IDOK'


BOOL SetWindowPos( HWND hWnd, HWND hWndInsertAfter, int X, int Y, int cx, int cy, UINT uFlags )


hWndInsertAfter

Type: HWND

A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.

HWND_BOTTOM(HWND)1
HWND_NOTOPMOST(HWND)-2
HWND_TOP(HWND)0
HWND_TOPMOST(HWND)-1