Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VfpTimePicker class
Message
From
05/01/2018 04:24:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01656967
Message ID:
01656986
Views:
47
Ah i dont understand your post !
an activeX dtPicker seems very simple to use in similar case.

if your control is not an olecontrol one (pure vfp control) you can superpose dynamically an image (capture the image control and inverse colors for ex to simulate it as disabled).
then with this image property visible and !visible to make similar appearance as enabled/disabled. (playing also with zorder(0) to mask the control).
note: olecontrol is always on top and cannot hide it with any vfp control.

the image captured must be exact dimensions of the control.
the image can be created at runtime and destroyed or hidden. (addObject,removeObject )
-(this technic is currently used for checkboxes for ex.)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform