473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Setting the Location of a Tab Page

Hey Group,

I carn`t find this anywhere:(

Anybody know how I could set the location of a TaB Page by codes?

Ta
Si
Nov 20 '05 #1
5 3204

To set the left/Top Position of a TabPage makes no sense.......

A TabPage is always in a TabControl and the TabControl has a position.

What exactly do you mean with "location" ?

If you mean the Tab Control then it's:
Me.TabControl1.Location = New System.Drawing.Point(40, 144)
"Newbie!" <s_************@yahoo.co.uk> schrieb im Newsbeitrag
news:FP********************@karoo.co.uk...
Hey Group,

I carn`t find this anywhere:(

Anybody know how I could set the location of a TaB Page by codes?

Ta
Si

Nov 20 '05 #2
Sorry I meant Tab Control,

That work great

Many thanks
Si

"Captain Chaos" <no****@nospam.com> wrote in message
news:bt*************@news.t-online.com...

To set the left/Top Position of a TabPage makes no sense.......

A TabPage is always in a TabControl and the TabControl has a position.

What exactly do you mean with "location" ?

If you mean the Tab Control then it's:
Me.TabControl1.Location = New System.Drawing.Point(40, 144)
"Newbie!" <s_************@yahoo.co.uk> schrieb im Newsbeitrag
news:FP********************@karoo.co.uk...
Hey Group,

I carn`t find this anywhere:(

Anybody know how I could set the location of a TaB Page by codes?

Ta
Si


Nov 20 '05 #3
Hi,

The tabpage will fill the tabcontrol it is on. You can not change
its location. Here is how to change a tabcontrols location.
TabControl1.Location = New Point(10, 10)

If you make the tab appear on the bottom.

TabControl1.Alignment = TabAlignment.Bottom

Ken

----------------

"Newbie!" <s_************@yahoo.co.uk> wrote in message
news:FP********************@karoo.co.uk...
Hey Group,

I carn`t find this anywhere:(

Anybody know how I could set the location of a TaB Page by codes?

Ta
Si

Nov 20 '05 #4

Sometimes helpfull:

Have a look at the Code the VB Designer Produces automaticly
if you insert a Control.

It's in the "#" Code Part.

There you see all the Code too.
"Newbie!" <s_************@yahoo.co.uk> schrieb im Newsbeitrag
news:PM********************@karoo.co.uk...
Sorry I meant Tab Control,

That work great

Many thanks
Si

"Captain Chaos" <no****@nospam.com> wrote in message
news:bt*************@news.t-online.com...

To set the left/Top Position of a TabPage makes no sense.......

A TabPage is always in a TabControl and the TabControl has a position.

What exactly do you mean with "location" ?

If you mean the Tab Control then it's:
Me.TabControl1.Location = New System.Drawing.Point(40, 144)
"Newbie!" <s_************@yahoo.co.uk> schrieb im Newsbeitrag
news:FP********************@karoo.co.uk...
Hey Group,

I carn`t find this anywhere:(

Anybody know how I could set the location of a TaB Page by codes?

Ta
Si



Nov 20 '05 #5
* "Newbie!" <s_************@yahoo.co.uk> scripsit:
I carn`t find this anywhere:(

Anybody know how I could set the location of a TaB Page by codes?


Are you referring to the /order/ of the tabpages? What exactly do you
mean by "location of a tabpage"?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: deko | last post by:
I have a login page that is supposed to redirect the user to his private page after login. But header("Location: $url") does not work after I set the $_SESSION variable - I get "Warning: Cannot...
2
by: bagsmode | last post by:
Hi, I'm trying to set a session cookie and then redirect, however I get the error: Status: 302 Moved Location: /index.cgi I thought I recall getting an error like this when I first tried...
2
by: lawrence | last post by:
I thought I was fighting a PHP problem, so I asked about this on a PHP list, but they felt it was a Javascript problem, so I'm reposting a bit of the debate here. Could this Javascript, below,...
0
by: Manystrengths | last post by:
I must warn all of you willing to help me that this is my first go at designing a functional data access page. Please bear in mind that we all start somewhere so if I should be asking the absolute...
1
by: Rachel Suddeth | last post by:
I have an form where the whole display is a tab control (well, that plus a status bar.) I want to set the focus to the first TextBox on the first TabPage when it loads. I tried to put that into...
1
by: Rolf Welskes | last post by:
Hello, I set in the configuration file of the application: <system.web> <pages styleSheetTheme="E01_Theme01" /> ...... This works.
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
2
by: hzgt9b | last post by:
Using VS2005, VB.NET and lots of javascript, I have a page with (gasp) frames on it. It has two frames a navigation pane and a "content" pane. The navigation pane runs a page that has lots of...
8
by: Andrus | last post by:
..NET 2 Winforms application. How to create new setting and set it default value in userSettings section of app.config file or overwrite existing setting value ? I found code below in this list...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.