473,404 Members | 2,195 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,404 software developers and data experts.

[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 1858
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Seabass | last post by:
Hey all, I have come across the following issue. I have an application written with Borland C++ Builder, this application loads dlls(plug-ins) dynamically during run time. To make things easier...
1
by: Donata | last post by:
Hi, I'm programming in BCB simple text editor in c++. I used TRichEdit control. The thing I need is to format the text entered so every line/paragraph entered would be numbered (1, 2, 3...etc),...
3
by: lesiox | last post by:
Hi I wrote some GUI to connect to MySQL. I need add,edit,delete records - nothing hard. I'm using ODBC to connect to MySQL. I can add records, but when i try edit them or delete i have error:...
1
by: Piotr Turkowski | last post by:
Hi, I have wrote some program in C, and now I want to include it in my BCB project. Here's my problems: 1.) How can I remove some text from a TMemo component (just like key Del) from a button....
6
by: Uli | last post by:
Hello, I'm trying to use a DLL (by static linking) which was compiled with Borland C++Builder (BCB) in Visual C++ (Visual-Studio 2003). All functions are declared with the directive 'extern...
7
by: jcrouse | last post by:
I use the following three subs to click on a label and reposition it at runtime: Private Sub lblP1JoyUp_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs)...
2
by: Carl Gilbert | last post by:
Hi I have a math kinda problem where I'm trying to split some lines when two or more lines connect two shapes. The reason I am doing this is to make it clear that there are multiple lines...
3
by: Chris S | last post by:
We are moving from ASP.Net 1.1 to ASP.Net 2.0. As we do not have the luxury of spending weeks trying out different techniques, I'd like to rely on some tried and true methods, but need some...
1
by: murataykut | last post by:
Hi, I'm writing image processing program on BCB. But, for huge amount of memory allocation BCB doesn't works properly. I want to allocate nearly 2 GB (total) dynamic arrays. For 1,5 GB there is no...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.