all groups > dotnet windows forms designtime > april 2004
Filter by week: 1 2 3 4 5
extended property and Modal UI Type Editor
Posted by nicolas nguyen via .NET 247 at 4/30/2004 11:25:45 AM
is it possible to use a custom UI type editor for an extended property ?
my component A , add an extended property to a textBox control for example, and i want to "edit" this property with a custom editor.
thanks
--------------------------------
From: nicolas nguyen
--------------------... more >>
Having a Custom ScrollBar for Controls possible in .NET ?
Posted by Prashanth Uppunda at 4/29/2004 11:16:02 PM
Hi
I want to customize the look & feel of scroll bar which appears for controls like Textbox, ListBox, ComboBox etc. Is there any way to achive this in .NET
I could not see any direct ways to replace the default scrollbar with my own
Thank
Prashanth... more >>
Menu on the right
Posted by Ioannis Vranos at 4/28/2004 5:53:45 PM
Hi, i made an app with only one menuitem (on a mainmenu of course) ahd the
problem is that it is placed on the left, but i want to place it on the
right (it's a Help menu). Any ideas of how to place it on the right? I am
using .NET 1.1.
Ioannis Vranos
... more >>
serializing a property type
Posted by Bob at 4/27/2004 8:17:24 PM
I have a type converter with a few standard values for a property of type
Type. It works great, only GetType() can't handle names with a "+" in them,
though a Type's FullName property can contain one. So how do I fix this?
I've poked around with a custom CodeDomSerializer, and parsed through th... more >>
Resettings Subproperty in PropertyGrid doesn't work
Posted by 05kosh NO[at]SPAM gmx.de at 4/27/2004 1:11:50 PM
Hi
My goal is to extent the VS.NET button with some more custom
properties. I've created an inherented control which exposes a custom
class containing these new (sub)properties.
I ran into the following problem:
If I set the value for a subproperty, it is correctly serialized to
the sour... more >>
Property not serialized to the runtime initializer.
Posted by Tim Norris via .NET 247 at 4/26/2004 2:17:08 PM
Hello, I am designing a control in which the user selects a=
property that opens an editor=2E In the editor, a selection is=
made from a listbox, and an object (an instance of a class that=
contains 3 strings) is returned to the property=2E The problem is=
that when the property is set, it... more >>
Resize Left w/ Dock Right Bug
Posted by rmorin NO[at]SPAM kbcafe.com at 4/26/2004 10:28:03 AM
I have an issue w/ the drawing of a very simple Window and am looking
for suggestions. I have a Form1, w/ a panel1 docked right and a panel2
docked fill. Run this simple application and drag the left resize
border quickly back and forth. You can see the right panel is resizing
and then springing... more >>
FindFormForMenuItem
Posted by JackRazz at 4/26/2004 10:10:29 AM
I can't figure out how to find the Form for a MenuItem is on using a reference to the
MenuItem only? I'm looking for something like the FindForm method for controls. I
finally figured out how do do it for components (see below), but I can't figure out
how to do something similar for menu items.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Custom collection changing
Posted by Phil Wright at 4/23/2004 2:15:25 PM
I have created a custom collection and added it to my user control.
If I let the generic collection editor be used to edit the contents then it
works just fine and any newly created entries are persisted into code. But I
want to create my own collection editor and have used the UITypeEditor
at... more >>
Dynamically create property grid
Posted by suraj at 4/23/2004 9:59:19 AM
Hi,
Is there a way wherein we can create the objects to be loaded into the
propertygrid at runtime??
Any link is appreciated.
Regards
... more >>
Design time support while creating control classes
Posted by sunil NO[at]SPAM volcanomail.com at 4/21/2004 8:33:20 PM
Dear All,
VS IDE does not provide any design time support when creating
control classes? Or Is there some other way to get design time support
when control classes are being developed?
Please help...
TALIA
Many Regards
Jack... more >>
Code generation question
Posted by Victor Irzak at 4/20/2004 12:18:19 PM
Hello,
I have a class that contains a member which is accessed by get property
only.
public class B {
public int I {set; get;}
public string S {set; get;}
}
public class A {
B m_b = new b();
public B B {
get {return m_b;}
}
}
I'd like to generat... more >>
IDE showing my user controls but not my components?
Posted by Uri Dor at 4/18/2004 3:55:57 PM
Hi,
I'm puzzled: my solution includes a C# win app and a C# class lib.
the class lib defines a Component.
In the toolbox, under the "my user controls", the designer shows me my
user controls (although they weren't added manually to the toolbox), but
my component is nowhere to be found.
Does ... more >>
Obtaining handle to Form's client area.
Posted by Andy Mustapick at 4/18/2004 8:56:06 AM
How can I obtain a handle to the underlying window contained within the
Form's client area only?
... more >>
Can Splitter be Made to Work at Design Time?
Posted by Jeff Gaines at 4/17/2004 10:02:00 PM
Posted separately to
microsoft.public.dotnet.framework.windowsforms.controls, I
pressed the 'send button too quickly :-(
I am designing a small control that combines a Label and TextBox
with a Splitter between them so that respective sizes can be
changed.
This works fine while it is runn... more >>
How to suppress message "you must rebuild your project..." in task list?
Posted by Jeroen at 4/16/2004 2:31:19 PM
Hi,
I sometimes get the following task show up in the task list:
"You must rebuild your project for the change to MyApplication.MyForm to
show up in any open designers"
It is irritating that the task list shows up with that message.
Is there a way to suppress this task?
Thanks in advance... more >>
EditValue() in UITypeEditor
Posted by Hugh Robinson at 4/15/2004 5:38:51 PM
I am creating my own UITypeEditor for a class EAFDataBindingsCollection.
The type editor returns UITypeEditorEditStyle.Modal for GetEditStyle()
When I invoke the type editor at design time by clicking on the ... button
for a property of type EAFDataBindingsCollection, then the EditValue()
func... more >>
DrawString problem
Posted by Johnny at 4/14/2004 8:11:01 PM
Hi all,
I'm creating a control derived from System.Windows.Forms.Control
I override the OnPaint() method.
In this method, I need to draw a string in an area.
This area is a rectangle (called fRect)
I want to display a text centered vertically.
I used MeasureString, but the result is not alwa... more >>
Windows Forms Designer Control
Posted by Gaston Milano at 4/14/2004 5:49:47 PM
Hi,
I need a windows forms designer in order to edit winforms in my environment.
I don't wanna start developing a designer Is there some commercial windows
forms designer ?
... more >>
controls being deleted in design time
Posted by Michiel Doeven at 4/8/2004 2:11:05 PM
Hello
I have the following problem. When I'm designing controls and use them, Visual Studio tends to delete controls randomly
I think this is because my user control uses data-adapters, etc. which will result in an error during design time. The result is that Visual Studio deletes this control, b... more >>
Is it possible to reach a property within another property's UIType Editor?
Posted by Ă–zden Irmak at 4/7/2004 2:19:16 PM
Hello,
I'm developing a windows forms component deriving from
System.Windows.Forms.Control.
I've 4 complex properties which actually are classes and each also does a
part of drawing the control and each of them have also their custom
UITypeEditors.
What I want to achieve is that when one... more >>
Scaling controls (C#)
Posted by lrabinovich NO[at]SPAM yahoo.com at 4/7/2004 12:44:16 PM
I'm having problem scaling controls on the form. I have a form where
I'm adding my user control at design time. If I run at 96 dpi it looks
fine, all the controls inside my user control are sized and placed
correctly. As soon as I change font size to 120 dpi, the control and
all of it child cont... more >>
Support skin in winform
Posted by Shachar Matyas at 4/6/2004 8:36:05 AM
Hi All,
I want my application to support external skins like media player.
I write in C#, how can I do it?
Is there any web site that describe how to support this option in winform
using c sharp?
10x,
Shachar.
... more >>
user controls moved from/to panel issues
Posted by Xavier Musy at 4/5/2004 2:30:52 PM
So here's the issue. I have a user control. Let's say it has a text box in
it. Now on a Form, I have a Panel (docked top) and a TabControl with a Tab
on it (docked bottom). My usercontrol is on one of the containers (panel or
a tabpage). Now in design-time, like using VS.NET, if I select and... more >>
IExtenderProvider for Components
Posted by JackRazz at 4/4/2004 3:08:49 PM
Is it possible to add an extended property to components like I can with controls via
IExtenderProvider?
JackRazz
... more >>
Binding to nested controls using property grid in design mode does not work? (2nd)
Posted by Arthur at 4/2/2004 8:15:26 PM
Hi everybody,
I have a problem which I don't fully understand yet. I'll try to describe a
simplified model:
I have a Windows form "Form1". It contains some data-source-type object like
"DataSet1".
Then I have a UserControl control "UserControl1" that contains a TextBox
control "textBox1"... more >>
Override base class collection in user control at designtime
Posted by Randy at 4/2/2004 8:06:09 PM
Hello everyone,
I've created a custom menuItem. I have also created a custom
contextmenu. Everything compiles fine and creates my control. The
control can be added to the toolbox without any problems and added to
a project. It also is able to add menuitems during designtime. The
problem is that... more >>
Binding to nested controls using property grid in design mode does not work?
Posted by Arthur at 4/2/2004 7:24:03 PM
Hi everybody,
I have a problem I don't fully understand yet. I'll try to describe a
simplified model:
I have a Windows form "Form1". It contains some data-source-type objects
like "DataSource1" and "DataSource2".
Then I have a UserControl control Uthat contains a TextBox control
... more >>
Order of entries in .resx file
Posted by cbenien NO[at]SPAM hotmail.com at 4/2/2004 12:46:34 AM
Hi,
in our group two developers are working on the same component in
design view. They regularly check in their files to source control
(Clear Case), but the merge of the .resx files is always very hard
because the entries (even if they are unchanged) change their order
frequently. This does... more >>
Windows Generated Code
Posted by Joshi at 4/1/2004 8:04:51 PM
Does anyone on the group know how to generate Windows Code for User
Control. What I am suppose to do is to generate VB.NET Code for custom
user control. Does anyone know how does the VB.NET is generated when a
Controls are placed on the Form? Awaiting replies... more >>
Nested collection editor
Posted by Victor Irzak at 4/1/2004 2:13:15 PM
Hello,
I have a class Processor that contains a collection (derived from
CollectionBase) of Processor objects.
In design-time if I try to open 4 or more nested collection editors and then
close them, I get "Object reference not set to an instance of an object"
error.
Did anyone encounter... more >>
ToolboxItems.Add does nothing
Posted by Hugo Vale at 4/1/2004 3:41:12 AM
Hello, I'm trying to add a control to the toolbox using a windows forms
application.
All goes well, and no error found, but it does not appear after the
application finishes (even after i restart Visual Studio.NET).
Thanks in advance
Here is the code:
Dim DevEnv As DTE = New DTEC... more >>
|