Questions tagged [designmode]

133 questions
0
votes
0 answers

Which design mode to select and how to do in this situation?

I'd like developer an Android app in JAVA. But not quite familiar with design mode. This this situation, I want to define a class and unique instance Group. And a serious functions, such as setName, createGroup Well, should I create a GroupManager…
Alex Chan
  • 1,116
  • 3
  • 15
  • 33
0
votes
1 answer

Visual Studio 2008 IDE errors with Inherited UserControls

have a really annoying time developing some code for a set of UserControls that utilize fairly rudimentary inheritance. Basically, they are three different Detail Views which all inherit from a single Base Class which in turn Implements a Single…
bbqchickenrobot
  • 3,592
  • 3
  • 45
  • 67
0
votes
0 answers

Get cursor position before and after text input in design mode

I am having an iframe in design mode to implement an text editor. Now i need to know when the user inputs some text and have to know the cursor position before and after the input. To get the current cursor position i use getSelection() of the…
Werzi2001
  • 2,035
  • 1
  • 18
  • 41
0
votes
1 answer

OnClick in design mode

sorry my english language is bad I want make a button by another control and this button editable in design mode (change size, define onclick,... ) i create a button in design mode by programming but onclick of this not work in design time…
IM999MaxBonum
  • 171
  • 1
  • 5
0
votes
1 answer

Determine when Visual Studio has entered design mode VB.NET

I am trying to create an add-in in Visual Studio 2012 that will perform operations after a program has been executed. This requires me to know when design mode has been entered. I have the code below that works but it is in C#, and I am working in…
janovak
  • 1,531
  • 2
  • 12
  • 22
0
votes
1 answer

Javascript: designMode for iframe doesn't work with FF when in jQuery dialog

here's the sample code (fully working - just copy to an empty html file and it will work):
Andrey
  • 20,487
  • 26
  • 108
  • 176
0
votes
1 answer

UserControl - Show properties of inner-control in design-mode properties windows

I got a UserControl name UC1, which contain 2 controls (textbox, label). after that i create new windows form and drag the UC1 to it, how can i read and write ALL properties of textbox and label (inside UC1) in "Properties Windows" in design-mode?…
Aaron Loo
  • 1
  • 1
0
votes
1 answer

Restricting enter keypress event in an IFrame, does not work

I have an IFrame within my page and am using the designMode="on" on this iframe for a small-level rich text editing. My concern is that I need not allow the user to enter new lines in it - meaning, I want to restrict enter keys. I did it using the…
Jey Geethan
  • 2,235
  • 5
  • 33
  • 60
0
votes
1 answer

Get parent element of caret in iframe design mode

I want to know what is the parent element of caret in an iframe with designMode = 'on'. The reason is that want to know if currently user is typing in a p tag.
Omid
  • 4,575
  • 9
  • 43
  • 74
0
votes
3 answers

How to select element based on another already-existing selector?

I have the following code:
Lucas
  • 16,930
  • 31
  • 110
  • 182
0
votes
2 answers

iframe change selection

I'm creating a really simple rte and here is my problem, i can get the selected text in iframe(designmode=true) however i cannot change it. html change script file function $(Str1){return…
Bora Alp Arat
  • 2,185
  • 3
  • 16
  • 21
-1
votes
2 answers

Opening Powerbuilder datawindow design mode at runtime

I need to use datawindow design mode in my application but i think there is no such function to open design mode at runtime. In my application there is reporting module that is not perfect in the sense that there is always need to design a new…
-2
votes
5 answers

Where can I paste a control that I have copied into the clipboard in visual studio's design mode?

My question is easy, I copy a control (a button) on my project.cs[Design] into my clipboard. How can I use it outside this project.cs[Design] ?
1 2 3
8
9