dialog plug-in positioning

Questions and answers on developing, deploying and using plugins and JavaBeans

dialog plug-in positioning

Postby jim » Sun Jan 01, 2006 10:37 pm

How might I position a (plug-in) dialog? (Not an FID)

E.g. x,y coordinates.

Thanks,

Jim
jim
 
Posts: 270
Joined: Mon Jul 25, 2005 3:42 pm
Location: Maine

Postby Jan Blok » Fri Jan 06, 2006 5:15 pm

basic java programming
dialog.setLocation(...)
dialog.setSize(...)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harry Catharell » Fri Jan 06, 2006 6:56 pm

Hi Jan,

Jim means using the dialog plugin within a method in order to show an appropriate Error/Info/Input etc dialog as follows:
Code: Select all
plugins.dialogs.showInfoDialog( "Hello World", "Here is some information", "Thanks")


There are no parameters to allow you to set the position of the dialog which defaults to the centre of your solution window

Cheers
Harry
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England

Postby jim » Sat Jan 07, 2006 4:31 am

Thanks, Harry!

... and happy new year...

Jim

ps beautiful here in Maine now...
jim
 
Posts: 270
Joined: Mon Jul 25, 2005 3:42 pm
Location: Maine

Postby Harry Catharell » Sat Jan 07, 2006 1:19 pm

Hi Jim,

It may be beautiful in Maine 8) but here in the UK I have just got back from Football (Soccer to you guys across the pond !) training with my eldest during which there has been a snow blizzard :shock:

Cheers
Harry
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England

Postby IT2Be » Sat Jan 07, 2006 4:05 pm

There is no way to do that as far as I know.

In my progress plugin http://www.it2be.com/plugins.htm I also added extended dialogs. I might be able to add x and y coordinates to it...

Cheers
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 2 guests