Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make control made Visible=.F. show a ghost effect
Message
From
29/12/2007 10:15:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01278021
Message ID:
01278320
Views:
27
>Hi Dragan
>
>>Do the same with .selected*color properties, or else an accidental drag over the control may select it and show the content in selected color. Also, if you have an edit menu on rightclick, disable it to prevent use of clipboard.
>>
>>Am I paranoid enough? ;)
>
>No you are correct, I had mentioned security and it would have lacked these minor things. Thanks.
>
>But actually I have not represented my thoughts (vision actually) exactly, what I wanted to have is when I set visible to .f. I want the control to ghost itself out along with it's label (I have a cAssociateLabel property), so that the user knows something is/was there and the empty space is not just misplaced blank space, something very light (in relation to the form/page backcolor).

If you want the control and the label to behave together... why not have them in a container? The container could have a shape which would cover them when needed - flip the shape's zorder and visible - and may have the color quite close to the background color, maybe a slightly lighter border... you can give it any visual representation you want, and only have to flip a property of the container.

back to same old

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

Click here to load this message in the networking platform