Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container Object in Grid??
Message
From
21/10/2000 09:21:30
 
 
To
21/10/2000 03:00:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00432411
Message ID:
00432469
Views:
24
Hi!

2 years ago I made an application that shows status of row in grid in the container using colored shapes (red, blue, green and yellow). The worst thins was to make refresh of these indicators properly to data (logical flags in table). To refresh them I used function in the Dynamic... property expression. Whta is interesting is that this function called for each row in grid. Use of refresh or Visible=.T. for controls in container inside of such UDF refreshes control for each row in grid.

HTH.

>>Does anyone know if it is possible to have a container object that will display data from a grid object. The container object I have contains three text boxes and the grid column is bound to a CHAR field of a table that is a concatenation of three separate strings. An example is "AAC|BIL|CLN" What I am trying to do is to put the three strings into the text box of the container. Is this possible? Thanks.
>>
>>Regards,
>>Kueh.
>
>Kim,
>It's possible to have a container in grid column. What is hard is to make it behave as you want at times. If the textboxes inside the container doesn't have a controlsource you'll see that as one textbox is changed in a row, it changes in all rows. However if you bind them to controlsources then works as expected. At least you could create a dummy cursor and bind their controlsources to cursor's fields.
>I suggest whatever type container is you're going to put there make it a class. Because it's hard to change something in container once it's put in a column (I mean it's harder to reach to PEM as hierarchy level gets deeper).
>Cetin
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform