Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: dcNiko Vujke
  Where is dcNiko Vujke?
 Belgrade
 Serbia
 dcNiko Vujke
 Tags
Subject: RE: nRow and nColumn of specified point
Thread ID: 268957 Message ID: 268978 # Views: 60 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Thursday, July 15, 2010 7:05:25 PM         
   


> Hi Fox(f)i(gh)ters,
>
> is there a way to calculate nRow and nColumn of specified point of the form.
> I need this because I wanted that WAIT WINDOW command displays above specified TextBox of the form.

you can fire a wait window when you enter in the textbox in the event MouseEnter like this code (put it in the texbox.MouseEnter).
the window position can be adapted to where you want to position it (and the timeout delay).
LPARAMETERS nButton, nShift, nXCoord, nYCoord
if nbutton=0
wait window ("Your attention please....") at srows()/2,scols()/2 timeout 1  &&adapt 
endi



Regards
Yousfi Benameur

ENTIRE THREAD

nRow and nColumn of specified point Posted by dcNiko Vujke @ 7/15/2010 4:10:40 PM
RE: nRow and nColumn of specified point Posted by tushar @ 7/15/2010 4:28:43 PM
RE: nRow and nColumn of specified point Posted by dcNiko Vujke @ 7/15/2010 6:32:56 PM
RE: nRow and nColumn of specified point Posted by Yousfi Benameur @ 7/15/2010 7:05:25 PM
RE: nRow and nColumn of specified point Posted by dcNiko Vujke @ 8/1/2010 8:23:49 PM
RE: nRow and nColumn of specified point Posted by Yousfi Benameur @ 8/2/2010 2:59:38 PM
RE: nRow and nColumn of specified point Posted by dcNiko Vujke @ 8/3/2010 3:07:32 PM
RE: nRow and nColumn of specified point Posted by Bernard Bout @ 7/21/2010 2:50:10 AM