How to access properties for sub pages in switchboard form?

C

Chrysippo

My switchboard page which presents to users has button controls which link to
sub pages in switchboard. Design view only gives access to the default page.
If for a control on this first page I write text to be displayed in the
window status bar that text also displays for buttons on the other pages that
are in the same relative position on the form.
Is there no way to alter properties for secondary pages in switchboard?
 
F

fredg

My switchboard page which presents to users has button controls which link to
sub pages in switchboard. Design view only gives access to the default page.
If for a control on this first page I write text to be displayed in the
window status bar that text also displays for buttons on the other pages that
are in the same relative position on the form.
Is there no way to alter properties for secondary pages in switchboard?

I assume this is the Switchboard you created using the built in
Switchboard manager.

As an example, add the following code to the Switchboard FillOptions()
sub routine code just before the End Sub line:

Label1.Caption = Me.ItemText
Label2.Caption = Me.ItemText

The above will display the name you have given each switchboard page.
You can adapt it as you like.
 
C

Chrysippo

Fredg
Thanks, but the code you suggest merely freezes my switchboard in design
mode. I did use switchboard manager though I do seem to remember having to
tidy up the table 'switchboard items' when I was building the database.
If I can navigate between the swtichboard pages using the buttons and the
sub pages happily call up relevant forms etc I do not understand why there is
no indication of these pages in the properties box.
Chrysippo
 

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