all groups > vb.net controls > october 2004 > threads for october 15 - 21, 2004
Filter by week: 1 2 3 4 5
Overrides BackgroundImage()
Posted by Tom S. at 10/21/2004 10:17:06 AM
Hi All,
I am trying to create a User Control with no BackgroundImage property, so
that I override the property with Browsable is false as the followings:
<Browsable(False)> _
Public Overrides Property BackgroundImage() As Image
Get
End Get
Set(ByVal Value As Image)
End Set
End P... more >>
TextBox.BackColor - Set VS Check
Posted by [tridy] at 10/19/2004 5:32:12 PM
Hello.
I am trying to check if the control's (textbox) background is red.
two lines -- first works, second does NOT.
1) txtFirstName.BackColor = System.Drawing.Color.Red
2) If txtFirstName.BackColor = System.Drawing.Color.Red Then ' blah blah
blah
it is possible to make it work ... more >>
context menus with icons
Posted by Matt Michael at 10/19/2004 11:11:28 AM
Hi, is there any way to add menu items to a context menu with icons next to
them. When I declare a menuitem, it does not seem like there is a .icon
property or anything similar or intuitive like that. An example that
illustrates this is right clicking on your desktop, choosing "New", and for ... more >>
tabbing out of a container
Posted by rejirajan NO[at]SPAM gmail.com at 10/19/2004 6:40:29 AM
I have a vb.net form with several controls(textboxes, comboboxes,
buttons) grouped in several groupboxes and panels. Once I tab into a
panel or groupbox, the tabbing cycles in that groupbox or panel
(container). Is there any way I can tab out of a textbox in a panel to
another textbox in anothe... more >>
Me.WindowState vs. FormWindowState.Minimized
Posted by eBob.com at 10/16/2004 11:47:23 PM
I am using Resize and having the typical beginners problems. Some
research eliminated one problem (the Resize firing much earlier than
an earthling would expect). But I haven't quite licked the
Minimize/Maximize problem. I found some non-vb code (probably C#, but
how would I know) which is su... more >>
A Control SOMETIMES On Top of Another Control
Posted by eBob.com at 10/16/2004 12:10:47 PM
I have a panel on my form which is used for a scatter plot. Any one
of several user interactions, including enlarging the form, can
invalidate the graph. When the graph becomes invalid I fill the
entire panel with a gray box. What I'd like to do now is put a button
on top of the gray box whic... more >>
Richtext SelectedText Selectionstart
Posted by Gary Shell at 10/15/2004 1:46:36 AM
I have a very ODD situation.
I have a RichTextBox and a button. In the button click event I have the
following:
me.richtextbox1.SelectedText="test"
Assuming I start with "aaaabbbbcccc" in the richtext box and I place the
caret between the a and b and hit the button. I get "aaaatestbbbbc... more >>
|