Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with displaying different images in a grid
Message
 
 
To
24/01/2012 18:31:44
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01533651
Message ID:
01533656
Views:
53
>>Do you see how can I make it to work so each record in the grid will display its own image?
>
>Didn't try with pictureval, but I guess it behaves the same as with the old way. If it does, you have to have a different control for each image, and use .dynamiccurrentcontrol to decide which one to show. You can't need more than a couple of hundred, unless you want to include various company and club flags.
>
>Besides, this idea of assigning flags to languages somehow doesn't fly with me. There are international languages (for the US: I mean international, not foreign!), which are spoken in several countries, yet we assume one flag will do for them - UK flag for English (Canada, US, Australia, NZ et al should know who's the boss), German flag should do for Austria and that part of Switzerland and borderline pieces of Italy and France. OTOH, there are countries with one flag but several languages - which language will the flag of India represent? Or that of China?
>
>Assuming your app has to cover only a few major (read: fat wallet) languages, this shouldn't be too hard and too much of a conundrum. Does this mean the guys there seriously think of going international (as in "exporting" or "installing abroad"), or do they now have customers who have foreign (US: international) customers?

I don't want to create a new image per each record - as you see, I created one container class that includes image control and textbox control and a few more controls. I want to make it work using this class. The number of languages is small (up to 10) and they are European languages such as French, English, German, Spanish.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform