Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server.Execute - how to get back to calling form
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00839135
Message ID:
00839766
Vues:
13
Hi Mark,

You can use a panel and place your controls inside of it. Then all you have to do is change the panel's visible property and all the contained controls are changed as well. This is similar to using a container in VFP and how it changes all the controls inside of it.

>Thanks Rick
>
>I have built my Mover as usercontrol and dropped it onto my form.
>
>I had to add
>Protected WithEvents MtestWebUserControl21 As mtestWebUserControl2
>
>So that I could get at the properties of my control, but now I have I can make it visible or invisible as neccesary.
>
>Acessing the controls on the control was a problem until I discovered that all I had to do was add my own properties to my control, which then accessed the properties for me.
>
>Now All I need is a way to quickly make all the other controls on my form invisible when neccesary.
>I also need to resolve some issues involving positioning my usercontrol on my main dataform.
>
>Before I had decided that working in this way would make my forms too heavy. Now that I have realised that these items are not transmitted to the client when they are invisible, so if they are not required they are not sent.
>
>The learning curve for me on all this has been extreme because I have used nothing but Foxpro for the last 20 years :(
>
>
>
>I now
>
>>>When you say have the mover form on the main form do you mean have it on the form but initially invisible?
>>>Then when I need it to I can make it visible and make my other controlc invisible?
>>
>>Yeah something like this. Be sure to add some logic that makes sure the mover doesn't load data when it's not visible or you'll have it slow down the rest of your form.
>>
>>
>>+++ Rick ---
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform