The error is: ERangeError
I think the problem lies in the way I am copying AnsiString to AnsiString. Text1 and Text are AnsiStrings. I must admit I'm not sure about ansistrings... never used them before but real the help files. This line below was copied from a help file but I may have...
Supernat03
Any chance you would put you tips on graphics stuff in a doc so I/We could download them. I wondered why builder produced flickering graphics. Nice reply.
Mike
Am trying to take one character at a time from one AnsiString and put it in another with an aim of creating scrolling text.
for(i = 0; i < displaylength; i++)
{
Text1[startposition] = Text2[startposition++];
if( startposition >= Text2.Length() ) {...
Was using PopupMenu1->PopupMenu(X,Y);
But X and Y were screen co-ordinates i.e. 0,0.
Used below (Ceol being the form)
X = Ceol->Left;
Y = Ceol->Top;
To get the relative position and then...
PopupMenu1->Popup(X+10,Y+10);
Many Thanks.
Many Thanks Lads
The code has worked. I manage to the moving windows last night but did not know how to return the mouse position.
Strange I could not find any reference to it in the help.
"~ Mouse->CursorPos.x; Mouse->CursorPos.y; & P.x & P.y give you the cursor position within...
Can anyone tell me why my popupmenu is opening at 0,0 i.e. the monitor top left. I have used the example in builder but it dont work. How do I return the position of the current window/form without writing yards of code. I might add my help is crashing so I can use it to get answers.
Mike
Many Thanks.
I will try this out. I am adding code to move the window onmousedown mainly because I have hidden the menu bar of the window. In C I can use wherex() and wherey() to return the position of the cursor/mouse how do I do this in C++ (Borland Builder). I would have imagined this code...
Can some one tell me how do I move a window/form onmousedown?
I don't need the code just a pointer to the correct functions.
I have set the form to hide the borders, menu, etc. I am simply trying to access the normal functions on a mousedown event but my Builder Help crashes.
While I'm at it...
Update:
Can now see Linux Box... but when asked for password and username... none of the ones I give allow access. Have decided to read all (every word) about Samba. If that dosent work I'll consider myself an Idiot and give up or re-read it until I get it right. Many thanks to all who helped. :d
Many thanks for the help ifincham. I seem to have some thing else amiss or perhaps it's not possible?
From the linux box should I be able to see the windows box? or even the linux system folders?
If I use the local networks (browse) option in linx I see nothing.. Could not connect to host...
I note your answers indicate a knowledge of Linux and Windows connectivity.. Could you advise me?
I want to connect a linux box to my windows machine. So far I can see the Linux box in the network, but I cant access it. I can browse part of the linux box.. that is the default.html page but thats...
I have the same sound card. Installations work perfectly. Something to try: Take out the card and install 8.1. Make sure its working and then close down and install the card. Mandrake should find new hardware and install it. Check the name on the main (biggest) chip on the sound card it may not...
GForce III works perfectly including supporting large displays (for some reason 32 bit colour can't be set at1024x1280).
Update drivers as often as you can. Remember 3D is in early stages of development (linux that is!) and should be up to scratch soon.
You won't notice a major difference...
If you are reallllly happy with your motherboard post a reply and rate it of of 100.
Give the PC spec. Cause I want to buy a motherboard! and I want the best.. ;)
Note all the pros and cons. This should be helpful for other on the boards at least it will point us in the right direction...
Note Just In:
Searching through other unrelated posts! I found a partial fix. By adding the line "netbios name = myname" I can now see 3 computers in my win 2000 network.
The win2000 box.
A linux box called localhost and
a linux box called "myname".
But so far when I try...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.