Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To: Display an Icon is a grid row
Message
From
15/02/2003 11:41:30
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/02/2003 06:39:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00752161
Message ID:
00753714
Views:
25
>Hi Dragan.
>
>It's quite a coincidence I need this today :).
>
>How is everything going? Will we see you at Essential Fox this year?

Probably too late for that. Most probably I'm moving down south, to Atlanta. Then, as far as conferences are concerned, who knows.

But let's get back to the subject - I've just needed to display a bunch of images (and pretty much nothing else) in a grid. I created an array of containers as members of a column, and gave them names cnt_1, cnt_2 etc. Then I've set the dynamiccurrentcontrol to ["Cnt_"+Transform(iRcn)] where iRcn is a copy of recno() (I'm having the image names in a cursor, which is re-filled when user navigates through another grid, and the cnt_n.image.picture is filled with proper fullpaths in column.refresh) which works, except that it gives me an untrappable error "Expression is invalid. Use a valid expression for dynamiccurrentcontrol property.", with Ok/Cancel. Click OK and it accepts the control and displays the pictures.

So this is a situation where everything would be fine, if only I could trap that message and make it vanish. Did you have anything like this?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform