|
 |
Word VBA Discuss using VBA to program Word. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

June 2nd, 2011, 06:48 AM
|
Authorized User
|
|
Join Date: May 2011
Posts: 44
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
button in a constant screen position
Hi,
I was wondering if it is possible to keep a button in a constant screen position. This is so that the button is always visible even after scrolling down the page.
Thanks
|

June 6th, 2011, 06:10 AM
|
Friend of Wrox
|
|
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
|
|
Where is the button now? On Word document or on userform
Cheers
Shasur
|

June 13th, 2011, 04:51 AM
|
Authorized User
|
|
Join Date: May 2011
Posts: 44
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
It is on the userForm.
|

June 13th, 2011, 05:47 AM
|
Friend of Wrox
|
|
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
|
|
Is your userform modeless one?
|

June 13th, 2011, 06:11 AM
|
Authorized User
|
|
Join Date: May 2011
Posts: 44
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
Yes, I think so.
|

June 13th, 2011, 06:32 AM
|
Friend of Wrox
|
|
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
|
|
Ok. If it is on the userform when your scroll the userform will not get resized right? How is the form behaving right now?
|

June 13th, 2011, 06:40 AM
|
Authorized User
|
|
Join Date: May 2011
Posts: 44
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
At the moment when I scroll down the button stays on a constant position on the userForm but I want it to move up and down with the scroll bar staying in the same screen position (like the Vue cinemas website).
|

June 13th, 2011, 06:46 AM
|
Friend of Wrox
|
|
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
|
|
You need to handle the scroll event of the userform and adjust the position of the button. This could be cumbersome unless you need this badly
Cheers
Shasur
|
The Following User Says Thank You to Shasur For This Useful Post:
|
|

June 13th, 2011, 06:47 AM
|
Authorized User
|
|
Join Date: May 2011
Posts: 44
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
In that case I might just leave it as it isn't nessesary.
Thanks anyway
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |