Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enable or Visible Event ?
Message
From
09/11/1997 05:56:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/11/1997 11:00:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00058138
Message ID:
00059154
Views:
30
>>Probably the best approach in this case is to add specialized >>methods to the form which would swap the state of the desired >>objects, and perform any other action necessary. So, instead of >>Thisform.command1.enabled=.f., we'd better call >>Thisform.command1driver("enable") to do that and all the other >>stuff, and use only that to enable/disable command1. > >Maybe I wasn't reading your post correctly, but I did not see >any place that you actually change the "this.value". As Erik said >you have to change the "this.value" not the "this.controlsource" to >trigger the programmatic change event. Anyways the point is moot. >I think Erik's method using timers is going to be a better way of >handling the problem, for reasons he suggested earlier in the >thread. Try that first. It is kind of complicated. Well, I assumed that if a textbox or any other control has a controlsource, its value gets changed whenever the controlsource value changes. This is ok when the controlsource is alias.field, right? I just tried to set the controlsource to AnotherControl.enabled, but it doesn't fire until _after_ refresh. Not quite consistent, eh?

back to same old

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

Click here to load this message in the networking platform