473,811 Members | 2,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Weird Display Behavior

Alright,

I wrote this program that is used throughout my entire company for the past
9 months. Now, we have deployed it to well over 100 machines. So my Sys
Admin comes up to me today and tells me how a list box will not display any
values that are bound to it, unless he clicks on another tab and then comes
back (presumably calling a refresh).

So for a test I went ahead and called refresh whenever the list box was
clicked on, jsut to see. However, no luck. Only when you go the tab. As I
said, this is the same program we've deployed 100+ times.

We tried upgrading Windows XP to SP1 and then to SP2 as well as upgrade the
1.1. framework to SP1. No luck.

This is a Dell Precision 370 using an NVidia Quattro UADRO NVS 280 PCI
Express video card. We tried swapping the video cards, no luck. Tried
updated drivers from Nvidia, no luck. Was wondering if anyone else had
experienced such behavior.

Thanks,
CJ

Nov 21 '05 #1
4 1166
CJ,

You saw the message from Herfried today about DPI to Lars, maybe different
however by Lars it fixed the problem.

http://tinyurl.com/5hffw

Cor

"CJ Taylor"
Alright,

I wrote this program that is used throughout my entire company for the past 9 months. Now, we have deployed it to well over 100 machines. So my Sys
Admin comes up to me today and tells me how a list box will not display any values that are bound to it, unless he clicks on another tab and then comes back (presumably calling a refresh).

So for a test I went ahead and called refresh whenever the list box was
clicked on, jsut to see. However, no luck. Only when you go the tab. As I said, this is the same program we've deployed 100+ times.

We tried upgrading Windows XP to SP1 and then to SP2 as well as upgrade the 1.1. framework to SP1. No luck.

This is a Dell Precision 370 using an NVidia Quattro UADRO NVS 280 PCI
Express video card. We tried swapping the video cards, no luck. Tried
updated drivers from Nvidia, no luck. Was wondering if anyone else had
experienced such behavior.

Thanks,
CJ

Nov 21 '05 #2
Not quite the same problem. It sounds as if herfried is saying they are
going off the screen.. As long as DPI still represents Dot Pitch.

Mine is right in the middle of the screen. and it shows up if you click
different tabs and then come back.

"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:O8******** ******@TK2MSFTN GP14.phx.gbl...
CJ,

You saw the message from Herfried today about DPI to Lars, maybe different
however by Lars it fixed the problem.

http://tinyurl.com/5hffw

Cor

"CJ Taylor"
Alright,

I wrote this program that is used throughout my entire company for the past
9 months. Now, we have deployed it to well over 100 machines. So my Sys Admin comes up to me today and tells me how a list box will not display

any
values that are bound to it, unless he clicks on another tab and then

comes
back (presumably calling a refresh).

So for a test I went ahead and called refresh whenever the list box was
clicked on, jsut to see. However, no luck. Only when you go the tab.

As I
said, this is the same program we've deployed 100+ times.

We tried upgrading Windows XP to SP1 and then to SP2 as well as upgrade

the
1.1. framework to SP1. No luck.

This is a Dell Precision 370 using an NVidia Quattro UADRO NVS 280 PCI
Express video card. We tried swapping the video cards, no luck. Tried
updated drivers from Nvidia, no luck. Was wondering if anyone else had
experienced such behavior.

Thanks,
CJ


Nov 21 '05 #3
I don't know if what you are seeing is the same thing I have experienced or
not, but here is what I have found...
There is some sort of issue with the Tab Control.
A few controls will not graphically update correctly when switching back and
forth between tabs. It might be related to the Tab Control not raising some
sort of event to let the child controls know they need to re-render. If the
contents of the control are updated while invisible, sometimes the old
values appear. If nothing has changed, sometimes it just doesn't re-paint.
In my case, I got around this by creating an inherited control and dealing
with the refreshes myself. But this fit my original plan anyway as I needed
specialized controls.

I have not continued to research a work around or find the exact cause.
But text boxes do seem to be very sensitive to this.

Gerald

"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:eb******** *****@TK2MSFTNG P10.phx.gbl...
Not quite the same problem. It sounds as if herfried is saying they are
going off the screen.. As long as DPI still represents Dot Pitch.

Mine is right in the middle of the screen. and it shows up if you click
different tabs and then come back.

"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:O8******** ******@TK2MSFTN GP14.phx.gbl...
CJ,

You saw the message from Herfried today about DPI to Lars, maybe different
however by Lars it fixed the problem.

http://tinyurl.com/5hffw

Cor

"CJ Taylor"
Alright,

I wrote this program that is used throughout my entire company for the

past
9 months. Now, we have deployed it to well over 100 machines. So my Sys Admin comes up to me today and tells me how a list box will not display any
values that are bound to it, unless he clicks on another tab and then

comes
back (presumably calling a refresh).

So for a test I went ahead and called refresh whenever the list box
was clicked on, jsut to see. However, no luck. Only when you go the tab.

As
I
said, this is the same program we've deployed 100+ times.

We tried upgrading Windows XP to SP1 and then to SP2 as well as upgrade the
1.1. framework to SP1. No luck.

This is a Dell Precision 370 using an NVidia Quattro UADRO NVS 280 PCI
Express video card. We tried swapping the video cards, no luck.

Tried updated drivers from Nvidia, no luck. Was wondering if anyone else had experienced such behavior.

Thanks,
CJ



Nov 21 '05 #4
I have seen this problem prety consistently with docked data grids.

If the form is resized while on one tab, and you switch to another tab, the
scrollbars on the datagrids on the new tab will be floating in the middle of
the datagrid (at the old positions). You have to resize the form with the
datagrid visible to get them to redraw. I've tried putting .Invalidate and
..Refresh on the Datagrids on my tab switch, but that hasn't fixed it.

"Gerald Hernandez" <Cablewizard@sp *********@Yahoo .com> wrote in message
news:OC******** ******@TK2MSFTN GP11.phx.gbl...
I don't know if what you are seeing is the same thing I have experienced or not, but here is what I have found...
There is some sort of issue with the Tab Control.
A few controls will not graphically update correctly when switching back and forth between tabs. It might be related to the Tab Control not raising some sort of event to let the child controls know they need to re-render. If the contents of the control are updated while invisible, sometimes the old
values appear. If nothing has changed, sometimes it just doesn't re-paint.
In my case, I got around this by creating an inherited control and dealing with the refreshes myself. But this fit my original plan anyway as I needed specialized controls.

I have not continued to research a work around or find the exact cause.
But text boxes do seem to be very sensitive to this.

Gerald

Nov 21 '05 #5

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

Similar topics

0
1437
by: LRW | last post by:
I manage our mySQL database through putty (SSH terminal client). And whenever I do a select * from the table that contains ENCODEd passwords, the funky characters do funky things with the display. From doing weird alignment things, to making it so that so long as those characters are visible, the display is always scrolled to a line where one of those screwy ASCII characters are. I can scroll up or down, but as soon as I type something on...
0
1638
by: Catherine Lynn Wood | last post by:
I have a page that I just developed using a combination of stylesheets and div layers. It uses a 'tab' style system placing four div layers in the same space with visibility 'hidden' and position absolute. They are inside of another parent div container with position set relative so that as I make the objects visible, I can also set their position to relative so they redraw the container size. The parent div is inside of a table cell...
1
1355
by: Woody | last post by:
I opened a JPEG image in a separate window using window.open("mypic.jpg"). When the new window opened, I immediately saw the QuickTime media player load on the window. The QuickTime player then loads my image. Is this supposed to happen?? IE does NOT need the QuickTime player to display images. Why is IE using QuickTime to display an image in a window??
11
13733
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom, there's an "Edit" link. So the page itself looks something like this: <HTML><HEAD><TITLE>blah</TITLE></HEAD><BODY> <!-- TEXT STARTS HERE --> <H1>Hello World!</H1> <P>More stuff here...</P>
1
5902
by: Jonathan Yong | last post by:
I observe a very weird behavior when dynamically create web control and bind events to it. Create a C# ASP.NET application, Put a PlaceHolder and Textbox onto the Web form, and try with the 4 code scenerio below. --------------------------------------------------------------------------- Scenerio 1
10
4032
by: Charles Law | last post by:
For some reason, when I click the X to close my MDI parent form, the action appears to be re-directed to one of the MDI child forms, and the parent remains open. I am then unable to close the application. What should happen, is that the main MDI form should close, taking the child forms with it. There is code to loop through the child forms, remove the controls on each of them, and then close the form, but this code should execute only...
1
1231
by: ted benedict | last post by:
hello everybody, this is my goal: - read out a text input and display it on the page somewhere else... (easy..) and the cache setting is like this: - look for newer versions of stored pages "automatically". (in tools/internet options/temporary internet files/settings)
12
2203
by: Mick_fae_Glesga | last post by:
OK, the solution to this is probably blindingly obvious to everyone, but... surely it can't be right. I am compiling with borland bcc32 free compiler this piece of code is designed to identify the most significant bit in a given element in an array of unsigned longs. Now I realise there may be a more efficient way to do this, and if you know a better way please let me know.
5
2302
by: comp.lang.php | last post by:
// NEW 11/27/2006: FINALLY, IF YOU ADDED OR DELETED OR DID ANY KIND OF FORM ACTION SUCCESSFULLY, DON'T RE-DISPLAY THE NEW EXPENSE ITEMS VIA $_POST if ($_POST && (!is_array($leaseObj->errorArray) || @sizeof($leaseObj->errorArray) == 0)) { print_r(array_keys($_POST)); @reset($_POST); $tempPost = $_POST; foreach ($_POST as $key =$val) if (strpos($key, 'new_') === 0) array_remove($tempPost, $tempPost);
0
9730
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
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10392
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
10403
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,...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5555
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4341
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
3
3020
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.