Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid with images in columns
Message
From
15/11/2002 04:31:53
 
 
To
15/11/2002 03:41:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00722524
Message ID:
00723097
Views:
11
Hi!

BTW, In VFP8 beta, BINDEVENT() to a property automatically creates _Assign event for that property.
:-)

Anyway, you're right: For what is worse (this comes from VFP6), Assign does traps internal VFP changes to property. That would be definitely a step forward in VFP8, but no luck. You require to use approach I described to trap RowHeight change.



>Hi Paul,
>
>>Could you use BINDEVENT() to the Grid RowHeight?
>
>You cannot bind to properties, but you can bind to their Assign event. So let's create RowHeight_Assign for grid and bind some container method to it.
>
>Unfortunately, grid doesn't fire RowHeight_Assign when we resize its row height interactively. This event fires only through programmatical change, ie:
>
>
>ThisForm.Grid1.RowHeight = 20  && this fires RowHeight_Assign event
>
>
>It definitely should be considered as a bug as others PROP_Assign methods fire as expected, ie. Column.Width_Assign.
>
>Despite of this, using event binding to send resize message from parent object to its children is not a "natural" way and MS Fox Team should fix it.
>
>Regards,
>
>Janusz Czudek
>WORD Software
>http://www.wordsoft.com.pl
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
Reply
Map
View

Click here to load this message in the networking platform