Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabled page doesn't look like disabled
Message
From
03/05/2017 02:53:01
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01650793
Message ID:
01650815
Views:
106
This message has been marked as a message which has helped to the initial question of the thread.
>>>>you might try to set the page's backcolor property to your own disabled value...
>>>
>>>Why this would be necessary? I don't understand why that page looks disabled in design mode but like enabled in run-time. What would be responsible for this wrong appearance?
>>
>>Maybe there is code somewhere that is overriding the design-time configuration at runtime?
>>
>>I'd run into a few occasions where I had inherited some code where the original author for some reason thought it was a good idea to not use ENABLE or READONLY properties but to set up the behavior largely with WHEN events on the controls. Talk about confusing, since this basically meant there were no visual cues when things were disabled or enabled, nor when text boxes were read-only or not.
>
>That's the thing - I can not find any code responsible for this behavior. I've checked the main class and it actually didn't have the pageframe. The pageframe is subclassed (with 2 pages part of the class), but it doesn't have any code except for this.refresh() in each page.Activate() method.

Set the debugger to stop on changes in the property.
Previous
Reply
Map
View

Click here to load this message in the networking platform