Questions tagged [designmode]

133 questions
4
votes
2 answers

visual studio 2012 show hidden tags in design mode

In visual studio if you have an hidden field, eg:
This content is not visible in design time
In design mode one cannot see the content of the div. Are there any settings in Visual Studio 2012 to make invisible…
sparrows
  • 63
  • 1
  • 7
3
votes
1 answer

How implement escape key on user control child controls at design-time, so that focus moves to respective parent control?

When one works in WinForms designer, you can click on a child control to select it. When you then hit the Esc key, the selection moves up to the parent control. If you press Esc key again, the next parent control up gets selected, until finally one…
Elan
  • 6,084
  • 12
  • 64
  • 84
3
votes
2 answers

Simplest way to edit a collection in DesignMode?

What is the easiest way to edit and persist a collection like decimal[] or List in the WinForms designer? The first problem is that a parameterless constructor is needed. So I made a simple wrapper class: (at some point this was like…
Laoujin
  • 33
  • 1
  • 4
3
votes
0 answers

ActiveX Control Design Mode Property Change Issue

I'm using a self-authored ActiveX control on an MS Access form. On adding the Active X control, I can set a custom design time property without issue. However, if I go back into design mode to change the value of the design time property, the…
Mike Humphreys
  • 101
  • 1
  • 3
3
votes
2 answers

Combining designMode on/off bookmarklets into one toggling bookmarklet

I'm looking to combine these 2 bookmarklets into 1 bookmarklet that toggles the designMode on and off: On: javascript:document.body.contentEditable='true';%20document.designMode='on';%20void%200 Off:…
srbrussell
  • 151
  • 2
  • 8
3
votes
0 answers

iPhone designmode support

Anyone knows if Safari on the iPhone and iPod touch supports iFrame in design mode and if so, how I can enable it? I have tried following ways, but none work (but it works on my PC): theIframe.contentWindow.document.body.contentEditable =…
appaquet
  • 94
  • 5
3
votes
1 answer

How do show/hide user control in design mode

I'm working on a User control and I want to display it when in design mode a button has been selected and hide it when this one lost the focus. This is the property and when a button has been set public AnimatedButton MenuButton { get { …
MrAlex6204
  • 167
  • 7
3
votes
2 answers

How to protect an HTML element within designmode=on

I have an iFrame with designmode turned on. In the document I have several 'special' elements which can be pasted by the user through menu selections (custom characters/identifiers/descriptions used within the wider application that are fixed). I…
Jason
  • 2,271
  • 2
  • 24
  • 23
2
votes
0 answers

Flash builder 4.5 Grey background in Design Mode

I just installed Flash builder 4.5 in my Kubuntu OS. I can created a new flex project in my eclipse. However, when I switched from source mode to design mode. The background is grey and doesn't show any components (nor the white background). I was…
FlyingCat
  • 14,036
  • 36
  • 119
  • 198
2
votes
2 answers

Possible issues using DesignerProperties.GetIsInDesignMode(...)?

I'm creating a WPF custom control and ran into a situation. A lot of the code does not execute until the control is initialized: if (this.IsInitialized) { ... } However, this is causing an issue with my designer because it is never initialized. I'm…
myermian
  • 31,823
  • 24
  • 123
  • 215
2
votes
1 answer

Visual Studio blocked on design mode after extending a user control

I have a project in Visual Studio 2010 (converted from 2008), and I have created a User control, like this: namespace Common.Controls { public partial class Panel_BaseMap : UserControl { public Panel_BaseMap() { …
Roman
  • 1,691
  • 4
  • 18
  • 35
2
votes
1 answer

Qt Creator Design mode disabled for Qt Quick / PySide6 project

In newly installed Qt Creator 8.0.1, the Design Mode is disabled. I can only code in QML in Edit Mode. I can easily reproduce the problem by just creating a new Python Qt Quick Project as shown below. The Design Button on the left menu is always…
u2gilles
  • 6,888
  • 7
  • 51
  • 75
2
votes
2 answers

App Using WebBrowser.DocumentText And DomDocument.DesignMode Works In IE8 And Does Not Work In IE9

Yes my use of webBrowser control work fine in IE8 and not in IE9. It seems that setting the HTMLDocument from DesignMode = "On" to DesignMode = "Off" removes the document from the WebBrowser. I made this example that shows my problem. There are two…
2
votes
1 answer

How to select a control programmatically in design mode

Could someone please tell me how to select a control programmatically in design mode. I tried to create a custom user control in VB.net that consists of two panels. I want the whole user control to be easily selectable in design mode. I have…
hiro
  • 23
  • 2
2
votes
0 answers

iframe designmode = "on" ie., in deep div

I have "mypage.html" which contains
where
contains another html page I have accessed it using jquery in "mypage.html" the code is …
varun teja-M.V.T
  • 104
  • 1
  • 10
1
2
3
8 9