Placing a Command Button or Text Box on the tab control

M

magicdds

Is there a way to put a Command Button and a text box in the area to the
right of the tabs on a tab control. The command button and the Customer ID
text box wiuld look better in that area on the form.

Thanks

Mark
 
P

Peter Hibbs

Mark,

The only way I know of to do this is to create another form and set
it's size to the width and height you need and add
the controls to the form.
Set the following form properties :-
Scroll Bars = Neither.
Record Selectors = No.
Navigation Buttons = No.
Dividing Lines = No.
Border Style = None.

Add this form to the main form with the Tab control as if it were a
Subform and position it just above the Tab control.

Click on and set the Subform properties :-
Enabled = No.
Border Style = Transparent.

It looks messy in Design mode but when you run the program it looks
fine. The code to to fill the Text box and process the command button
events will be more complicated but it should still be possible.

HTH

Peter Hibbs.
 

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