473,385 Members | 1,324 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,385 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 1856
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?

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.