start dialog with oo 1.1.5 – there should be no problem

now open dialog with oo 3.0.1 – you will miss the command buttons

removing the

oModel.PositionY = 150

oModel.PositionX = 180

from basic source will fix the problem...

i know dialog positioning has changed

To ensure platform independence for the appearance of dialogs, OpenOffice.org uses the

Map AppFont (ma) internal unit to specify the position and size within dialogs. An ma unit

is defined as being one eighth of the average height of a character from the system font

defined in the operating system and one quarter of its width. By using ma units,

OpenOffice.org ensures that a dialog looks the same on different systems under different

system settings.

If you want to change the size or position of control elements for runtime, determine the

total size of the dialog and adjust the values for the control elements to the corresponding

part ratios.

The Map AppFont (ma) replaces the Twips unit to achieve better platform independence

2009-02-03T18:12:14