function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VFVF 

Sizing for a popup window

Hello,

 

I have created a custom button with a VFpage as:

 

setup->create->objects->objectName->customButtons and Links->Detailedbutton->contentSource->VFpage->Behaviour->Display in New window .

 

Now,Here i am able to open a VF page which has some default size.How can i set my own size to this popup window.

 

This might be simple but I am not able to get throuh this....Help me out guyz of this issue.. 

Thaks in Advance. 

Best Answer chosen by Admin (Salesforce Developers) 
lvivaninlvivanin

setup->create->objects->objectName->customButtons and Links->Click the button you created-->Window Open Properties-->
Width (in pixels)    property 1
Height (in pixels)    property 2
Window Position            property 3
Resizeable            property 4
Show Address Bar    property 5
Show Scrollbars    property 6
Show Toolbars    property 7
Show Menu Bar    property 8
Show Status Bar    property 9

 

-lvivanin

All Answers

lvivaninlvivanin

setup->create->objects->objectName->customButtons and Links->Click the button you created-->Window Open Properties-->
Width (in pixels)    property 1
Height (in pixels)    property 2
Window Position            property 3
Resizeable            property 4
Show Address Bar    property 5
Show Scrollbars    property 6
Show Toolbars    property 7
Show Menu Bar    property 8
Show Status Bar    property 9

 

-lvivanin

This was selected as the best answer
VFVF
Thanks a lot...It worked.