473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1139
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**********@planet.nl> wrote in message
news:O8**************@TK2MSFTNGP14.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*************@TK2MSFTNGP10.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**********@planet.nl> wrote in message
news:O8**************@TK2MSFTNGP14.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**************@TK2MSFTNGP11.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
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....
0
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...
1
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...
11
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,...
1
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...
10
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...
1
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...
12
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...
5
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)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
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...

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.