Search
 Search
GET THE HOTEST NEWS ABOUT VISUAL WEBGUI.
CREATE LINE OF BUSINESS SILVERLIGHT APPLICATIONS IN NO TIME.
EVERY THING YOU NEED TO START DEVELOPING WITH VISUAL WEBGUI.
SEE VISUAL WEBGUI SHOW CASES FROM AROUND THE WORLD.
ALL THE RESOURCES YOU NEED TO START BUILDING VISUAL WEBGUI APPLICATIONS TODAY.
SHARE AND FIND VISUAL WEBGUI RESOURCES.
TALK WITH OTHER VISUAL WEBGUI DEVELOPERS.
 
Community » Forum
SearchForum Home
  General Visual WebGui® Forums  Announce It! ( Public Postings )  Controls deleti...
 Controls deletion through the VWG designer
 
 11/12/2007 10:09:22 AM
shlomi.bin
557 posts
1st


Controls deletion through the VWG designer
Hi,

Did anyone ever bumped into a scenario when he could not delete a control through the VWG designer unless he close and reopen the designer?
I will be very glad to receive an accurate reproducing scenario so I'll manage to fix this issue.

Shlomi
 11/12/2007 2:02:30 PM
nistam
183 posts
www.elval.gr
5th


Re: Controls deletion through the VWG designer

Aaaaah yes!!! It's my fault guys, last week i found out exactly when this happens, but was so busy that i forgot to mention here. So here it is how you can reproduce it:

1) Create a new VWG project

2) Open the default-created Form1. It is blank.

3) Insert a panel and give it a red color (or whatever, its not part of the problem). Leave its name to Panel1.

4) Within Panel1, insert another panel, and change its color to blue. Leave its name to Panel2.

5) Right click on the form, or the panel, just to make sure you see the Copy/Paste/Delete options are enabled (Paste should be disabled)

Now, in my scenario, i want to remove Panel2 from inside Panel1 and want to have it next to Panel1, both Panel1 and Panel2 on the main Form container. And here starts the part of the problem:

6) Instead of doing the common action, which is cut Panel2 and paste it on the main form,  go to the designer file and remove or comment out the line Me.Panel1.Controls.Add(Me.Panel2). Then, search for the line Me.Controls.Add(Me.Panel1). This command adds the Panel1 control on the form. Below this command, add the command Me.Controls.Add(Me.Panel2)

7) Switch back to the Form Designer and see that the Panel2 is outside Panel1.

8) Right click on whichever part of the Form you want and vuala!!!, almost every menuitem is disabled!!!

Sometimes I also receive an error which i can't recall, but this happens (i guess) when the form contains too many controls

I tested this just before i write this post. I hope this helped.

Maybe there are other ways to reproduce it, let's hope this is the only one :-)))

 

 11/12/2007 3:20:28 PM
dubem1
349 posts
3rd


Re: Controls deletion through the VWG designer

I am facing this behaviour sometimes too. I never change the code in the designer file myself so it happens with a different scenario but unfortunatly, I can't say exactly how.

Personnaly, i don't think it's a majot problem since I can close and reopen the form and it has no effect at runtime.

I would prefer the release of 5.85.5 ans 5.85.6 

Thank you

dubem

 

 11/12/2007 3:50:39 PM
bsimmons
21 posts


Re: Controls deletion through the VWG designer

I too have encountered this issue, and I too just close and re-open.

Bernard

 11/12/2007 4:31:39 PM
nistam
183 posts
www.elval.gr
5th


Re: Controls deletion through the VWG designer

My scenario occurs all the time!!

  General Visual WebGui® Forums  Announce It! ( Public Postings )  Controls deleti...

Contribute
Latest Articles
Latest Codes
Latest Videos
Copyright © 2005-2008 Visual WebGui®   Terms Of Use  Privacy Statement
Visual WebGui is copyright 2005-2008 by Gizmox