Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server.Execute - how to get back to calling form
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00839135
Message ID:
00839779
Views:
19
Thanks Cathi


>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.

I had abandoned use of panels in the past because I could not position objects in them, however earlier today I discovered I could drop a "Grid Layout Panel" within a "Panel" and everthing seems to work fine.

For some reason I thought I would lose the ability to directtly adress my controls if I did this, but my data entry form workds as before..

At present I still have some difficulty in positioning user controls on my form, but I am sure its just more experimentation thats needed.



>>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 ---
Previous
Reply
Map
View

Click here to load this message in the networking platform