Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: RAD 2010 question


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 7 - Last Post: Nov 13, 2017 2:03 PM Last Post By: Alan Jordan Threads: [ Previous | Next ]
Alan Jordan

Posts: 228
Registered: 3/2/01
RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2017 12:05 PM
I have a program that has been working fine on multiple computers and just had a user install on a computer running Win 7 with an NVIDA Quadro K1000M graphics card. On this computer part of one of the forms is missing. He installed on another card that didn't have that graphics card and it works like it should. Any ideas what might be wrong?
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2017 12:45 PM   in response to: Alan Jordan in response to: Alan Jordan
Alan Jordan wrote:

I have a program that has been working fine on multiple computers and
just had a user install on a computer running Win 7 with an NVIDA
Quadro K1000M graphics card. On this computer part of one of the
forms is missing. He installed on another card that didn't have that
graphics card and it works like it should. Any ideas what might be
wrong?

It may have something to do with the video resolution or DPI. Form
scaling can be problematic at the best of times, and throwing high DPI
awareness (or lack thereof) into the kettle does not make the stew any
tastier...

--
Peter Below
TeamB
Alan Jordan

Posts: 228
Registered: 3/2/01
Re: RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 8, 2017 7:47 AM   in response to: Alan Jordan in response to: Alan Jordan
I have run into this again with another user. It happens to be the same form and the same part that is missing. The card this user is using is Nvidia, but not the same model as the other user. These are CAD workstations, so the resolution is high, but I don't know the settings. Is there any way to redesign a form to get around Nvidia's issue?
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 8, 2017 10:58 PM   in response to: Alan Jordan in response to: Alan Jordan
Alan Jordan wrote:

I have run into this again with another user. It happens to be the
same form and the same part that is missing. The card this user is
using is Nvidia, but not the same model as the other user. These are
CAD workstations, so the resolution is high, but I don't know the
settings. Is there any way to redesign a form to get around Nvidia's
issue?

Well, we have a serious lack of data here ;-). What, exactly, do you
mean by "part of the form is missing"? Is there blank space where some
controls should be? Is the form simply too small to show all of the
controls in its client area? Have you tried to set the Autoscroll
property to true for the form, and if you do, does it sprout scrollbars
on the problem computer? Are you using the Align property of controls
to define the layout, or Anchors, or none of the above?

--
Peter Below
TeamB
Alan Jordan

Posts: 228
Registered: 3/2/01
Re: RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 9, 2017 8:11 AM   in response to: Peter Below in response to: Peter Below
Yes, sorry didn't know what to tell. The form has 5 panels from top to bottom. Each of these panels are aligned alTop.. There is a bottom panel that was aligned alTop, that I have changed to alClient. What is happening is the bottom panel overrides the fifth panel down and covers the bottom of that panel. The bottom, or sixth panel from the top, was aligned alTop and was changed to alClient and didn't change the outcome.

Now the Anchors:
Top panel: akLeft, akTop, akRight set to true, akBottom set to false.
Second, third, fourth, fifth panels same. akLeft, akTop, akRight, akBottom all true.

Bottom panel that overrides the fifth, the anchors are:

Form's VertScrollBar.visible set to false.

What other data do you need?

Peter Below wrote:
Alan Jordan wrote:

I have run into this again with another user. It happens to be the
same form and the same part that is missing. The card this user is
using is Nvidia, but not the same model as the other user. These are
CAD workstations, so the resolution is high, but I don't know the
settings. Is there any way to redesign a form to get around Nvidia's
issue?

Well, we have a serious lack of data here ;-). What, exactly, do you
mean by "part of the form is missing"? Is there blank space where some
controls should be? Is the form simply too small to show all of the
controls in its client area? Have you tried to set the Autoscroll
property to true for the form, and if you do, does it sprout scrollbars
on the problem computer? Are you using the Align property of controls
to define the layout, or Anchors, or none of the above?

--
Peter Below
TeamB
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 9, 2017 10:59 PM   in response to: Alan Jordan in response to: Alan Jordan
Alan Jordan wrote:

Yes, sorry didn't know what to tell. The form has 5 panels from top
to bottom. Each of these panels are aligned alTop.. There is a
bottom panel that was aligned alTop, that I have changed to alClient.
What is happening is the bottom panel overrides the fifth panel down
and covers the bottom of that panel. The bottom, or sixth panel from
the top, was aligned alTop and was changed to alClient and didn't
change the outcome.

Having one of the panels aligned alClient is the correct way to handle
this. But there seems to be something on this panel that prevents it
from resizing to the (smaller than designtime) height on the problem
PC. Does the panel or any control on it have Constraint property, or
perhaps a OnResize event handler that changes the panel height?

Anyway, the weird thing is that this happens only on certain computers.
If you display the form on your development PC and resize the form
vertically, does the client-aligned panel change height as expected?

Now the Anchors:
Top panel: akLeft, akTop, akRight set to true, akBottom set to false.
Second, third, fourth, fifth panels same. akLeft, akTop, akRight,
akBottom all true.

Align other thanalNone takes preference over anchors.

By the way: is the Scaled property of the form true or false?


Bottom panel that overrides the fifth, the anchors are:

Form's VertScrollBar.visible set to false.

What other data do you need?

Peter Below wrote:
Alan Jordan wrote:

I have run into this again with another user. It happens to be
the same form and the same part that is missing. The card this
user is using is Nvidia, but not the same model as the other
user. These are CAD workstations, so the resolution is high, but
I don't know the settings. Is there any way to redesign a form
to get around Nvidia's issue?

Well, we have a serious lack of data here ;-). What, exactly, do you
mean by "part of the form is missing"? Is there blank space where
some controls should be? Is the form simply too small to show all
of the controls in its client area? Have you tried to set the
Autoscroll property to true for the form, and if you do, does it
sprout scrollbars on the problem computer? Are you using the Align
property of controls to define the layout, or Anchors, or none of
the above?

--
Peter Below
TeamB


--
Peter Below
TeamB

Alan Jordan

Posts: 228
Registered: 3/2/01
Re: RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 11, 2017 9:29 AM   in response to: Peter Below in response to: Peter Below
The scaled property of the form is set to true. Is this the problem?

Another thing that is strange is that on the problem panel, when I click on the OnResize event and put no code in, then compile, the blank event does not go away. If I then delete this event and compile, I get the statement PanelResize method referenced by Panel.OnResize does not exist. Remove the reference. I click Yes and it compiles OK. What causes the compiler to not remove the blank event method and reference automatically?
Peter Below wrote:
Alan Jordan wrote:

Yes, sorry didn't know what to tell. The form has 5 panels from top
to bottom. Each of these panels are aligned alTop.. There is a
bottom panel that was aligned alTop, that I have changed to alClient.
What is happening is the bottom panel overrides the fifth panel down
and covers the bottom of that panel. The bottom, or sixth panel from
the top, was aligned alTop and was changed to alClient and didn't
change the outcome.

Having one of the panels aligned alClient is the correct way to handle
this. But there seems to be something on this panel that prevents it
from resizing to the (smaller than designtime) height on the problem
PC. Does the panel or any control on it have Constraint property, or
perhaps a OnResize event handler that changes the panel height?

Anyway, the weird thing is that this happens only on certain computers.
If you display the form on your development PC and resize the form
vertically, does the client-aligned panel change height as expected?

Now the Anchors:
Top panel: akLeft, akTop, akRight set to true, akBottom set to false.
Second, third, fourth, fifth panels same. akLeft, akTop, akRight,
akBottom all true.

Align other thanalNone takes preference over anchors.

By the way: is the Scaled property of the form true or false?


Bottom panel that overrides the fifth, the anchors are:

Form's VertScrollBar.visible set to false.

What other data do you need?

Peter Below wrote:
Alan Jordan wrote:

I have run into this again with another user. It happens to be
the same form and the same part that is missing. The card this
user is using is Nvidia, but not the same model as the other
user. These are CAD workstations, so the resolution is high, but
I don't know the settings. Is there any way to redesign a form
to get around Nvidia's issue?

Well, we have a serious lack of data here ;-). What, exactly, do you
mean by "part of the form is missing"? Is there blank space where
some controls should be? Is the form simply too small to show all
of the controls in its client area? Have you tried to set the
Autoscroll property to true for the form, and if you do, does it
sprout scrollbars on the problem computer? Are you using the Align
property of controls to define the layout, or Anchors, or none of
the above?

--
Peter Below
TeamB


--
Peter Below
TeamB

Alan Jordan

Posts: 228
Registered: 3/2/01
Re: RAD 2010 question  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 13, 2017 2:03 PM   in response to: Alan Jordan in response to: Alan Jordan
I changed the Scaled property to false and it solved the problem. I don't know what this will do in other cases, but the buttons are now available on this computer. Seems strange to me that this was the problem.
Alan Jordan wrote:
The scaled property of the form is set to true. Is this the problem?

Another thing that is strange is that on the problem panel, when I click on the OnResize event and put no code in, then compile, the blank event does not go away. If I then delete this event and compile, I get the statement PanelResize method referenced by Panel.OnResize does not exist. Remove the reference. I click Yes and it compiles OK. What causes the compiler to not remove the blank event method and reference automatically?
Peter Below wrote:
Alan Jordan wrote:

Yes, sorry didn't know what to tell. The form has 5 panels from top
to bottom. Each of these panels are aligned alTop.. There is a
bottom panel that was aligned alTop, that I have changed to alClient.
What is happening is the bottom panel overrides the fifth panel down
and covers the bottom of that panel. The bottom, or sixth panel from
the top, was aligned alTop and was changed to alClient and didn't
change the outcome.

Having one of the panels aligned alClient is the correct way to handle
this. But there seems to be something on this panel that prevents it
from resizing to the (smaller than designtime) height on the problem
PC. Does the panel or any control on it have Constraint property, or
perhaps a OnResize event handler that changes the panel height?

Anyway, the weird thing is that this happens only on certain computers.
If you display the form on your development PC and resize the form
vertically, does the client-aligned panel change height as expected?

Now the Anchors:
Top panel: akLeft, akTop, akRight set to true, akBottom set to false.
Second, third, fourth, fifth panels same. akLeft, akTop, akRight,
akBottom all true.

Align other thanalNone takes preference over anchors.

By the way: is the Scaled property of the form true or false?


Bottom panel that overrides the fifth, the anchors are:

Form's VertScrollBar.visible set to false.

What other data do you need?

Peter Below wrote:
Alan Jordan wrote:

I have run into this again with another user. It happens to be
the same form and the same part that is missing. The card this
user is using is Nvidia, but not the same model as the other
user. These are CAD workstations, so the resolution is high, but
I don't know the settings. Is there any way to redesign a form
to get around Nvidia's issue?

Well, we have a serious lack of data here ;-). What, exactly, do you
mean by "part of the form is missing"? Is there blank space where
some controls should be? Is the form simply too small to show all
of the controls in its client area? Have you tried to set the
Autoscroll property to true for the form, and if you do, does it
sprout scrollbars on the problem computer? Are you using the Align
property of controls to define the layout, or Anchors, or none of
the above?

--
Peter Below
TeamB


--
Peter Below
TeamB

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02