function GetDlgCtrlOrder( hCtrl )
local hWndParent := GetParent( hCtrl )
local nOrder := 0, nResult := 0
EnumChildWindows( hWndParent, { | hWnd | nOrder++, If( hWnd == hCtrl, nResult := nOrder, ) } )
return nResult
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 84 guests