Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP team welcomes feedback and discussions on Sedna
Message
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Miscellaneous
Thread ID:
01020020
Message ID:
01021033
Views:
28
Hi Martin

I can make different images appear if I use the DynamicBackcolor property to call a method that sets the picture but this is a workaround and clearly not obvious to anyone when they first try to show images.

As far as Calculated Fields go you can do as you suggested but this is of limited use. I often use a Method to return the data I wanted displayed because I may have to use data combined from several tables requiring the use of the Seek() function etc. In the past if the string you assigned to the ControlSource approach 200 or so characters strange things began to happen in the grid. It would be much better if you could simple set the ControlSource to call a method directly then you are free to do what ever you can imagine.

Regards,
Simon White


>Hi, Simon.
>
>>I would agree that the grid control still needs some work. It could be a much more useful tool. I abandoned it VFP6 because of bugs and developed my own solution using the ListBox. I have begun looking at it again in VFP9 but still discovered some missing pieces. For example, you have to revert to tricks to get a different image on each row of the grid.
>
>Maybe it's a trick for you, but I think this is pretty simple to solve using any of the Dynamic* properties. Do you want an example?
>
>>It still does not support Calculated fields which would be very useful assuming the function or method was automatically evaluated on each row of the table so that the value shown could be different for each row.
>
>This is supported. Just put "Quantity * Price", for example, and it works. Are you looking for something else?
>
>
>Regards,
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform