Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bringing a control to the front
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00179981
Message ID:
00180402
Views:
22
> The texbox are : txlCPF, txlCGC, txlNuINPI. When the user selection is "F", I want to bring txlCPF to the front and so on.

Jose,

I think I understand the problem better now. I don't think you are having a problem with zorder since you are setting the enabled properties of the other textbox controls to false.

In your case logic, try calling the refresh method of the active textbox control. This.Parent.Parent.txlCPF.TextBox.Refresh(). I think since you have the controls stacked, the active control just needs to be repainted.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform