473,785 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UserControl problem - strange markings

I recently made a UserControl consisting of buttons in a frame.
The problem is that random strange markings appear sometimes under the
buttons. They can be 'wiped off' with another window, and re-marked also
with other windows (by dragging them over). Anyone know the problem and/or
the cure?
Otherwise things seem to work good.
I have been playing around with the cls and refresh methods of UserControl,
refresh for the Buttons & Frame, with no success.
I am using VB5 and XP.
Jul 17 '05 #1
2 2768
They sound like "mouse droppings", most likely due to a fudgy video driver.

--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
"The Mess" <em***@none.com > wrote in message
news:po******** ************@ne ws20.bellglobal .com...
:I recently made a UserControl consisting of buttons in a frame.
: The problem is that random strange markings appear sometimes under the
: buttons. They can be 'wiped off' with another window, and re-marked also
: with other windows (by dragging them over). Anyone know the problem and/or
: the cure?
: Otherwise things seem to work good.
: I have been playing around with the cls and refresh methods of
UserControl,
: refresh for the Buttons & Frame, with no success.
: I am using VB5 and XP.
:
:

Jul 17 '05 #2
I don't think that's it. I tried the compilied version on a completely
different machine...same problem.
If "mouse droppings" can only come from a mouse..you dont have to get a
mouse near it. Message boxes and things can affect it when they cover it.
I'll try to write something small and duplicate the problem.
"Randy Birch" <rg************ @mvps.org> wrote in message
news:fs******** ************@ro gers.com...
They sound like "mouse droppings", most likely due to a fudgy video driver.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
"The Mess" <em***@none.com > wrote in message
news:po******** ************@ne ws20.bellglobal .com...
:I recently made a UserControl consisting of buttons in a frame.
: The problem is that random strange markings appear sometimes under the
: buttons. They can be 'wiped off' with another window, and re-marked also
: with other windows (by dragging them over). Anyone know the problem and/or : the cure?
: Otherwise things seem to work good.
: I have been playing around with the cls and refresh methods of
UserControl,
: refresh for the Buttons & Frame, with no success.
: I am using VB5 and XP.
:
:

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1040
by: karlodb | last post by:
Hi all, I've been struggling with some strange VB behaviour for the last two days. I have created a usercontrol and placed two buttons in it. One is anchored bottom and right. When place the control on the form all is fine, I dock it to fill and then resize the form and the last button remains anchored bottom and right. I then build the project / or run the project and all is OK. Now I changed the control to accept constituent...
0
1209
by: Pete | last post by:
I am building an ASP.NET application and have just encountered something very strange which I would like explained if possible. In BaseForm.ascx I have the following <form> element: <form ID="formBaseForm" method="post" runat="server"> <!-- Banner UserControl --> <PW:Banner runat="server" ID="Banner1" /> <!-- Initial UserControl -->
0
1245
by: João Santa Bárbara | last post by:
Hi all. i have a strange problem i have done a User Control, in wich i have placed a few buttons inside it and place it in an form. in the previous version of .NET (2003), i have try to access the controls property of my usercontrol and there were no controls inside it but now in .NET 2005 i have access the same controls property and it have there all buttons that i have put inside. this is very strange, because anyone can have access...
4
1570
by: ATS | last post by:
BUG/PRODUCTION-DOWN: UserControl running from HTML not working. Someone please help, I have a production down situation. For whatever reason, UserControls are not owkring from HTML/IE. When script tries to run a UserControl's method or use a property, IE gives an error "Object doesn't support this property or method". Example:
8
1960
by: Raed Sawalha | last post by:
Hi, I have a strange problem with a usercontrol on a page. The usercontrol dispalyes three categories (From a database) when the user clicks a category they see all the products in a shop for that category, the results are paged 10 to a page and the user can page them. As this "Category" usercontrol hardly ever changes I wanted to setup up caching for it. However I realised that when the user clicks a ctageory it is selected and...
2
3451
by: Tim_Mac | last post by:
hi, i have an aspx page which dynamically loads a user control and adds it to a placeholder. the control is recreated and added to the placeholder for postbacks as well. the user control contains a datagrid and some buttons and textboxes. the button events fire correctly and execute their code. however, the datagrid events fire a postback, and execute Page_load in the usercontrol, but the Item_Command code is not executed. the code to...
0
2440
by: Gary Shell | last post by:
I am experiencing some strange behavior between a UserControl's validating event and a treeview control. Initially, I thought it was related to an issue in the Knowledgebase article 810852 (http://support.microsoft.com/kb/810852), but then I realized that the hotfix mentioned was in .Net v1.1, which I am using. I took the sample from that article and recreated the situation I see in my application. (Code included below.) If you run the...
0
1049
by: Rob Blij | last post by:
Hi We have ported a .NET1.1 ASP.NET app to .NET2. All our user controls have been modified and I have found some strange behavior. Firstly I can see that the controls now get rendered at compile time instead of declaring them in the ascx.cs file. Then strange thing is: in our aspx page when we call Page.LoadControl(usercontrol) all the controls within the usercontrol dont get their unique ID ie ctl1_btnDetails etc except each...
0
1222
by: Rob Blij | last post by:
Hi (sorry for repeated question) We have ported a .NET1.1 ASP.NET app to .NET2. All our user controls have been modified and I have found some strange behavior. Firstly I can see that the controls now get rendered at compile time instead of declaring them in the ascx.cs file. Then strange thing is: in our aspx page when we call Page.LoadControl(usercontrol) all the controls within the usercontrol dont get their unique ID ie...
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10148
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3646
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.