Repositioning Command Buttons

C

Crystal

First, position your EXIT button where you'd like it in
Design View. Write down the Top and Left property values.

Next, write your code that will determine whether or not
the user has read only permissions.

Use a conditional statement to position the command button:

If UserPermissions = 1 then
cmdButton.Top = .8769 x 1440 '(1440 is the number of
twips in an inch. You have to multiply your property
value by this number to get it to work)
cmdButton.Left = .125 x 1440
else
. . . .

Hope this helps,
Crystal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top