Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: coder yogi
  Where is coder yogi?
 Cayman Islands
 Antarctica
 coder yogi
 Tags
Subject: RE: netmon
Thread ID: 199728 Message ID: 200571 # Views: 27 # Ratings: 0
Version: Visual FoxPro 8 Category: ODBC, ADO and OLEDB
Date: Tuesday, October 28, 2008 8:15:02 PM         
   


> >
> > Thanks a lot sir. I am always amazed by your patience and lucidity in explaining the concepts.
> > I also wanted to know what does RecordSourceType set to 1-Alias mean?
> > Secondly i wanted to ask whether in the code for the ping program i can use the command
> > thisformset.monitor.image1.Picture = 'ok.gif'
> > in order to select an image based on whether a computer can be reached or not.
> >
> > Thanks....
>
> I think i should explain a bit more, actually what i am trying to say is that in the code for the ping program, we store the packet loss percentage in a variable, and then accordingly select the image to display in the grid. Can this be done using the above stated method, or there is some other way to do this? I mean that the status column will have no control source set but will display the image according to the value returned by the ping program.
> Waiting for some guidance.... Thanks


Afternoon,
The best and easiest way if to set the picture property to what-ever
image you wish to be shown. I guess where you fire off the
thisformset.monitor.image1.Picture = 'ok.gif' command could be anywhere.
Pete "the IceMan", from the Great White North of Canada.



COMPLETE THREAD
netmon Posted by coder yogi @ 10/22/2008 8:02:14 PM
RE: netmon Posted by coder yogi @ 10/22/2008 8:56:48 PM
RE: netmon Posted by Pete Sass @ 10/22/2008 8:57:06 PM
RE: netmon Posted by coder yogi @ 10/23/2008 5:13:28 AM
RE: netmon Posted by coder yogi @ 10/23/2008 6:01:24 PM
RE: netmon Posted by Pete Sass @ 10/28/2008 8:15:02 PM
RE: netmon Posted by coder yogi @ 11/6/2008 4:29:28 PM