Dumb Question....

Started by stanl, June 02, 2021, 02:14:39 PM

Previous topic - Next topic

stanl

Is it possible, mathematically, to convert WB Dialog component data points into win form data points?

td

Could you be more specific about "data points?" Are you referring to the dialog unit coordinates of a dialog or its controls?
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

stanl

Quote from: td on June 03, 2021, 09:23:16 AM
Could you be more specific about "data points?" Are you referring to the dialog unit coordinates of a dialog or its controls?


basically the location and size

td

I don't know what display position and size units are used in win forms. But if you know the unit of measure/location the conversion should be straightforward. The Tech Database contains examples for dialog units to pixels. That should at least give you a hint as to the conversion forumla.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade