Got this strange problem that I need some help in solving.
An application (uses .Net 1.0) developed by our company is showing a
simple form dialog incorrectly on one computer (so far). I'd like to
stress that this piece of software has been around for several years,
running on lots of computers and we've never come across this problem
until now.
The form in question contains two multi-line textboxes, several
checkboxes and a button. The two textboxes are set to dock=fill and
dock=button, the checkboxes are located next to the top textbox
(anchor=top,right) and the button is located next to the button
textbox (anchor= button,right). This configuration, as said above,
has worked perfectly so far, it constructed using vs2002 editor.
However, on this one computer only the two textboxes appear. It seems
to me like the textboxes are hidding the checkboxes and button.
Any thoughts? It seems to me like there must some kind of local
environmental setting og bug thats causing this problem. Have tryed
adding .Net 1.0 sp3 without any help. Switching .Net version is not an
option at this point.
Alberto Poblacion - 05 Sep 2007 11:20 GMT
> An application (uses .Net 1.0) developed by our company is showing a
> simple form dialog incorrectly on one computer (so far). I'd like to
> stress that this piece of software has been around for several years,
> running on lots of computers and we've never come across this problem
> until now.
One thing to examine: maybe the computer where the application fails has
the screen resolution set to 120 dpi, while all the other computers where
the form displayed correctly were set to the default of 96 dpi? The dpi
setting sometimes causes unexpected effects on programs that are not
dpi-aware.
AlexS - 05 Sep 2007 12:25 GMT
Change dock's to anchor's, this should resolve the issue
Ii I remember correctly in 1.0/1.1 dock.fill was somewhat unpredictable for
some controls and I stopped to use it since.
> Got this strange problem that I need some help in solving.
>
[quoted text clipped - 17 lines]
> adding .Net 1.0 sp3 without any help. Switching .Net version is not an
> option at this point.