Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: PowerBuilder adjusting widths and x-position after rendering

$
0
0

Hello Lucas,

 

I am not seeing what you are describing.

 

1.  I created a user object u_cst_rb inherited from PowerBuilder's radioButton.

2.  In the painter, I set the width to 302.

3.  In the open event of my window, I called OpenUserObject(iuo_rb, 'u_cst_rb', 928, 184)

4.  Interrogated iuo_rb.Width, iuo_rb.X and iuo_rb.Y in the debugger and get 302, 928 and 184, respectively.

 

I am using 12.5.2 5629 with a monitor using 1600x900 resolution and 96 DPI.

 

Since you say you are using OpenUserObject to create a radioButton, I'm assuming that this has nothing to do with dataWindows and dataWindow units in the painter.

 

Could you provide a specific code example?

 

Also, when building things by pixels, keep in mind that pixels are not square and can vary in size on different monitor/machine combinations.

 

Christopher (not to be confused with Chris)


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>