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: No registered users and 41 guests