469,127 Members | 1,349 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,127 developers. It's quick & easy.

[BCB] moving components at runtime

Hi,

Can anyone tell me how to drag labels or any other objects by mouse?

br

--
Borys Power
Jul 22 '05 #1
7 1722
Borys Power wrote:
Can anyone tell me how to drag labels or any other objects by mouse?


This newsgroup is for questions/discussions on C++ _language_. Any
issue you have with a particular product you should take to a newsgroup
dedicated to that product. Please ask your BCB mouse usage questions
in borland.public.cppbuilder.ide Thank you.

Victor
Jul 22 '05 #2
Victor Bazarov wrote:
Borys Power wrote:
Can anyone tell me how to drag labels or any other objects by mouse?

This newsgroup is for questions/discussions on C++ _language_. Any
issue you have with a particular product you should take to a newsgroup
dedicated to that product. Please ask your BCB mouse usage questions
in borland.public.cppbuilder.ide Thank you.


You didn't understand me - maybe my english is too poor :)
I'm writing programm and as I compile it I want to have possibility to
move some of the labels that I use in my programm.
It's like you have a leaf of paper and few sticky notes - you can move
them from place to place on that paper - I'd like to do the same thing
with Form and labels.

--
Borys Power
Jul 22 '05 #3

"Borys Power" <bo*****@gazeta.pl> wrote in message
news:cl**********@inews.gazeta.pl...
Victor Bazarov wrote:
Borys Power wrote:
Can anyone tell me how to drag labels or any other objects by mouse?

This newsgroup is for questions/discussions on C++ _language_. Any
issue you have with a particular product you should take to a newsgroup
dedicated to that product. Please ask your BCB mouse usage questions
in borland.public.cppbuilder.ide Thank you.


You didn't understand me - maybe my english is too poor :)


No, we understand what you're asking.
I'm writing programm and as I compile it I want to have possibility to
move some of the labels that I use in my programm.
It's like you have a leaf of paper and few sticky notes - you can move
them from place to place on that paper - I'd like to do the same thing
with Form and labels.


*You* misunderstand (the purpose of comp.lang.c++)
See: http://www.slack.net/~shiva/welcome.txt

The C++ language has no concepts of 'Form' or 'label' (as you use
the term; 'label' has a completely different meaning in C++).

Victor told you where to find answers to your questions about BCB.

Why not just ask there?

-Mike
Jul 22 '05 #4
Borys Power wrote:

Victor Bazarov wrote:
Borys Power wrote:
Can anyone tell me how to drag labels or any other objects by mouse?

This newsgroup is for questions/discussions on C++ _language_. Any
issue you have with a particular product you should take to a newsgroup
dedicated to that product. Please ask your BCB mouse usage questions
in borland.public.cppbuilder.ide Thank you.


You didn't understand me - maybe my english is too poor :)
I'm writing programm and as I compile it I want to have possibility to
move some of the labels that I use in my programm.
It's like you have a leaf of paper and few sticky notes - you can move
them from place to place on that paper - I'd like to do the same thing
with Form and labels.


It is you who doesn't understand.
This newsgroup, comp.lang.c++, does not deal with forms or labels or
moving them around. The simple reason is: There is no such thing
in *standard* C++.

Since all of this things are extension your compiler and/or platform
offers, you need to ask in a group dedicated to this compiler and/or platform.
--
Karl Heinz Buchegger
kb******@gascad.at
Jul 22 '05 #5
Karl Heinz Buchegger wrote:
*standard* C++.


OK - now I understand :)

bye ;)

br
--
Borys Power
Jul 22 '05 #6
Borys Power <bo*****@gazeta.pl> wrote in message news:<cl**********@inews.gazeta.pl>...
Can anyone tell me how to drag labels or any other objects by mouse?


By dragging them?

Seriously, you will need to ask this in a newsgroup specific to
your platform, compiler, and possibly language as it is not clear
you are even using C++. Heck, it's not even clear what OS you
are thinking of. Could be Windows, but could also be Mac, or a
couple others. So you need to find a news group that talks about
that combination.

Start with groups.google.com and go from there.
Socks
Jul 22 '05 #7
Borys Power wrote:
You didn't understand me - maybe my english is too poor :)
I'm writing programm and as I compile it I want to have possibility to
move some of the labels that I use in my programm.
It's like you have a leaf of paper and few sticky notes - you can move
them from place to place on that paper - I'd like to do the same thing
with Form and labels.


This is a platform specific question and Borland's newsgroups are the
best place for you to ask.
I will attempt to provide an answer though from my .NET experience. I do
not know if what you want to do is possible, but if it is, surely you
will use some events including when the mouse button is clicked, when
the mouse pointer is above the label, its coordinates vs the coordinates
of the label which you will probably change with your code.
I have never attempted such a thing though, and I do not know if it is
possible. On the other hand, it is easier to move the window, so why not
stick with that? I mean make the label size cover the whole window size
and work from there.
But it is entirely off topic in comp.lang.c++ which is about the
language itself and not about system specific facilities.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Seabass | last post: by
1 post views Thread by Donata | last post: by
3 posts views Thread by lesiox | last post: by
1 post views Thread by Piotr Turkowski | last post: by
7 posts views Thread by jcrouse | last post: by
2 posts views Thread by Carl Gilbert | last post: by
reply views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.