 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
josep Guest
|
Posted: Sat Apr 22, 2006 10:03 am Post subject: Tpagecontrol issue |
|
|
I set a Tpagecontrol, i create 3 o 4 tabsheets.
Now i try to place a button control on one tabsheet and the IDE set it as
general. This control has a global visibility.
After i cut this control, and paste, and then works correctly.
Anybody can confirm this issue?
thank´s |
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Sat Apr 22, 2006 10:03 pm Post subject: Re: Tpagecontrol issue |
|
|
josep wrote:
| Quote: | Now i try to place a button control on one tabsheet and the IDE set it as
general.
|
What do you mean with general ?
| Quote: | This control has a global visibility.
|
Never heard of a global visibility.
| Quote: | After i cut this control, and paste, and then works correctly.
|
Where did you paste it too ?
| Quote: | Anybody can confirm this issue?
|
No. Not in this way.
Hans. |
|
| Back to top |
|
 |
Vladimir Stefanovic Guest
|
Posted: Sun Apr 23, 2006 8:03 am Post subject: Re: Tpagecontrol issue |
|
|
This usually happens when yiu use TTabControl
where all atbs shere she same panel area.
If you are using TPageControl. Can you please provide
us the concrete steps to reproduce the problem.
--
Best Regards,
Vladimir Stefanovic
"josep" <josepjoubuch (AT) telefonica (DOT) net> wrote in message
news:4449f824$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I set a Tpagecontrol, i create 3 o 4 tabsheets.
Now i try to place a button control on one tabsheet and the IDE set it as
general. This control has a global visibility.
After i cut this control, and paste, and then works correctly.
Anybody can confirm this issue?
thank´s
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Apr 24, 2006 8:03 pm Post subject: Re: Tpagecontrol issue |
|
|
"josep" <josepjoubuch (AT) telefonica (DOT) net> wrote in message
news:4449f824$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I set a Tpagecontrol, i create 3 o 4 tabsheets.
Now i try to place a button control on one tabsheet
and the IDE set it as general. This control has a global visibility.
|
You likely did not move the focus to the desired tabsheet first. It is not
enough to select its tab on the page control. You have to then select the
tab sheet body itself so that it is focused. When you drop a component from
the Palette, its Parent is whichever component has the focus.
Gambit |
|
| Back to top |
|
 |
Todd Brylski Guest
|
Posted: Tue Apr 25, 2006 10:03 am Post subject: Re: Tpagecontrol issue |
|
|
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message news:444d254f$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
"josep" <josepjoubuch (AT) telefonica (DOT) net> wrote in message news:4449f824$1 (AT) newsgroups (DOT) borland.com...
I set a Tpagecontrol, i create 3 o 4 tabsheets.
Now i try to place a button control on one tabsheet
and the IDE set it as general. This control has a global visibility.
You likely did not move the focus to the desired tabsheet first. It is not
enough to select its tab on the page control. You have to then select the
tab sheet body itself so that it is focused. When you drop a component from
the Palette, its Parent is whichever component has the focus.
|
You must be using a different vendors IDE!
The focused component plays no part in determining who the parent is.
Selecting the tab and dropping a component 'on the tabsheet' is enough.
Josep's problem is that when he dropped the button, he missed.
Todd |
|
| Back to top |
|
 |
Fishface Guest
|
Posted: Tue Apr 25, 2006 2:03 pm Post subject: Re: Tpagecontrol issue |
|
|
Todd Brylski wrote:
| Quote: | The focused component plays no part in determining who the
parent is. Selecting the tab and dropping a component 'on the
tabsheet' is enough.
|
After selecting the tab, try clicking down on the tabsheet before
placing a component. Unless the actual tabsheet is highlighted
with the stretch handles, it is not selected. At least that is the way
it is with my antiquated BCB5... |
|
| Back to top |
|
 |
Todd Brylski Guest
|
Posted: Wed Apr 26, 2006 4:03 am Post subject: Re: Tpagecontrol issue |
|
|
"Fishface" <invalid (AT) ddress (DOT) ok?> wrote in message news:444e2056 (AT) newsgroups (DOT) borland.com...
| Quote: | Todd Brylski wrote:
The focused component plays no part in determining who the
parent is. Selecting the tab and dropping a component 'on the
tabsheet' is enough.
After selecting the tab, try clicking down on the tabsheet before
placing a component. Unless the actual tabsheet is highlighted
with the stretch handles, it is not selected. At least that is the way
it is with my antiquated BCB5...
|
My point was that the tabsheet does not need to be selected.
Drop a panel on the form, then select it, then drop a button
on the tabsheet. The button will be a child of the tabsheet.
BCB5 or BDS2006, it works the same.
Todd |
|
| Back to top |
|
 |
Fishface Guest
|
Posted: Thu Apr 27, 2006 2:03 pm Post subject: Re: Tpagecontrol issue |
|
|
Todd Brylski wrote:
| Quote: | My point was that the tabsheet does not need to be selected.
Drop a panel on the form, then select it, then drop a button
on the tabsheet. The button will be a child of the tabsheet.
BCB5 or BDS2006, it works the same.
|
Ok, thanks for the correction. But once upon a time, this
*was* the case, I am certain. I fell into that hole, I have
been avoiding it, and I didn't realize it had been filled-in.
And I have seen some other holes stay around for a very
long time. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|