Answered by:
animated gif not animating in all rows of grid

Question
-
Dear experts,
I have placed animated gif into an image control in a column of grid.
Column's spares property is set to .F.
When I run the forn all rows don't animate at a time.
why?
Friday, October 4, 2013 11:14 AMAnswerer
Answers
-
Because only one row is real at a time. I've never tried anything like that, but I'm not surprised.
Tamar
- Proposed as answer by Vladimir Zografski Saturday, October 5, 2013 8:15 AM
- Marked as answer by RavindraPatilEditor Wednesday, October 9, 2013 7:49 AM
Friday, October 4, 2013 8:32 PMAnswerer
All replies
-
Because only one row is real at a time. I've never tried anything like that, but I'm not surprised.
Tamar
- Proposed as answer by Vladimir Zografski Saturday, October 5, 2013 8:15 AM
- Marked as answer by RavindraPatilEditor Wednesday, October 9, 2013 7:49 AM
Friday, October 4, 2013 8:32 PMAnswerer -
Yes sir,
Thank you for the reply.
I agree with you.I want a way around. So, I decided to display it in a html table rather than grid.
But I want to run a FoxPro program when the user clicks on a table row and pass the text of the hyperlink to that program as an argument.
Can I do this in VFP?
Monday, October 7, 2013 9:13 AMAnswerer -
Hi Ravindra,
what does an animated gif do for a user? It shows that somethings happening where the programmer isn't sure, how long it will last. So, showing an anigif in a grid makes nothing but lots of blinking, moving, or any other senseless action that doesn't keep any kind of helpful information for your user.
Why don't you use a regular textbox that is bound to a char field of your cursor/table that is updated by a timer with individual textinfos or values. That way each row will show the current workstate and your users can see whats going on.
JM2C
Gruss / Best regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible,
you are, by definition, not smart enough to debug it. 010101100100011001010000011110000101001001101111011000110110101101110011Monday, October 7, 2013 9:44 AMAnswerer -
Yes sir,
Thank you for the reply.
I agree with you.I want a way around. So, I decided to display it in a html table rather than grid.
But I want to run a FoxPro program when the user clicks on a table row and pass the text of the hyperlink to that program as an argument.
Can I do this in VFP?
Do you mean to run external EXE from a webpage click? Simply set the hyperlink to the EXE but you should avoid this danger way of EXE activation.
Did you ask this question on another forum already? It does not seem to be VFP related... Try this: http://stackoverflow.com/questions/2815982/how-do-i-make-a-hyperlink-to-a-local-executable
Monday, October 7, 2013 12:02 PM