I wish set a dialog at x,y but I not found the position of the msgitem og Msgbar
oApp:oMsgItem1:bAction := { |oBtn| ::ConteggioTotali(oApp:oWndMain:oMsgBar) }
Function ConteggioTotali(obtn)
Local aPoint := AdjustWnd( oBtn, -27*2, 15*2 )
DEFINE DIALOG oDlgConteggio size 400,250 TRANSPARENT;
TITLE "Conteggio elementi"
ACTIVATE DIALOG oDlgConteggio CENTERED;
ON CLICK oDlgConteggio:End() ;
ON PAINT oDlgConteggio:Move(aPoint[1]-100, aPoint[2],,,.t.);
give me allway under the main window