See on msdn: https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Code: Select all
LOCAL hWndToolTip
LOCAL nAutopopTime
hWndToolTip := GetFormToolTipHandle('FormName')
//set display time
nAutopopTime := 2000 //miliseconds
SendMessage(hWndToolTip, 1027 /*TTM_SETDELAYTIME*/, 2 /*TTDT_AUTOPOP*/, nAutopopTime)
//get display time
nAutopopTime := SendMessage(hWndToolTip, 1045 /*TTM_GETDELAYTIME*/, 2 /*TTDT_AUTOPOP*/, 0)
MsgInfo(nAutopopTime)