Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set property of controls in INIT of the form?
Message
From
22/02/2010 15:17:43
 
 
To
22/02/2010 15:00:41
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01450293
Message ID:
01450330
Views:
30
Gregory,

Thank you for illustrating the use of BindEvent. I will take the time to learn it (hopefully soon). I am impressed of what you can do. But I am also learning .NET and already late on delivering a WinForm project I started. Can you spell stress? <g>

>
>Dmitry,
>
>BindEvent is well worth the time investigating.
>
>I've set up a whole 'system' that does a lot of checks as the user changes amounts on a balance sheet
>
>Each line in a grid has an image. If it becomes red, the user can move the mouse over it and see what is wrong
>
>[ image attached for a glance ]
>
>The only thing I do is add that class to the form in the init.
>
>From there on the form raises events (= call form's methods to which the class subscribes) and the class raises events
>
>If I do not add that object to the form, then there are no checks done. The form continues to raise events, but there's no one to listen to them
>
>So - take some time to try out BindEvent
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform