Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI,
I Have Created a Desktop Winforms Application On The Basis of Wix.com Means a user can create Html templates in the Application and then Publish Them.now when a user Clicks on the Menu On Right side( Which Contains Menu For Adding Buttons and Other General Controls),The Control is Drawn on The Webbrowser control ( Setting its Editmode true).
But Whenever we add a Control is Alighned to left By Default and There is No Mean To Reorder them .
Can we implement a Functionality Which Lets Users Place Controls on Document where ever they want instead of Having Each control Autoalighned to Left.

Thanx

Tarjeet
Posted
Comments
ZurdoDev 7-Mar-13 8:13am    
It sounds like this is all your own custom code and you want us to help you align the controls? I'm confused. I can't see any of your code, how would I know how to help?
tarjeetsalh 11-Mar-13 3:13am    
YEs, I have a Webbrowser Control In a Winforms Application.
I am Creating the Elements in It keeping the contentEditable=true Attribute on WebbrowserControl.
This Way i am Able to Provide a Workspace for creating a Html page For Users.But What Happens is That ,all The Controls when Added on Workspace are automatically Alighned to Left For Example

Button1 button2 button3 TextBox1

These Controls Are arrangable Within ThemSelves. But We Cannot Reorder Button1 or anyControl unless We Create a new Line Below By Pressing Enter then The Controls Are Alignable to Next Line Also and So on.
Can i Put a Functionality That I Can Drag The Controls anyWhere on The Screen .
irrespective of the HTML Render Technique.

Tarjeet

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900