Hi,
I'm just starting with SQL and have quite a basic question.
I have a table People with the following fields:
PersonID, Name, CountryID
Sample data:
1 Bob 4
2 Jim 5
3 Bill 5
A Countries table with the following fields:
CountryID, Name, ContinentID
Sample data:
4 USA 1
5...
Hi,
How many bytes of storage does a real data type require? I'm trying to predict the filesize of a rather large file.
Also, is an integer data type sufficient for storing values which will range from 747 to 1646 inclusive. If not, would it store values between -255 and 644?
Thanks very...
Hi,
I'm playing around with creating images dynamically in Delphi 4. This code works when placed in the FormCreate procedure but not when placed in its own procedure. Why not?
The form is called frm1.
for i:=1 to 10 do
begin
imgBT[i]:=TimgBT.Create(frm1);
with...
Hi,
I've got a local variable A contained within a procedure.
I've got a function A which I want the value of to be assigned to the local variable A:
function A (b:Integer) : Integer;
begin
blah
end;
procedure ThisProcedure;
var A,b : Integer;
begin
blah
A:=A(b);
end;
Obviously...
Hi,
I want to use a joystick in one of my programs in Delphi 4.
I've never even used a joystick before.
This joystick seems to have all the controls to suit my purposes and I very much like the look of it...
Thanks very much for your reply. I've made an array of TPoint so I can use the code pretty much as supplied in the link.
Here's my code:
type TBoatTop = array[1..3] of TPoint;
var shpBoatTop : TBoatTop;
procedure TfrmRotation.FormCreate(Sender: TObject);
begin
//creates triangle of...
Hi,
I'm trying to rotate a rectangle in Delphi 4.
I looked at this:
http://www.delphi3000.com/articles/article_1466.asp?SK
which is the sort of thing I'm looking for but this requires a collection of points, and I need to rotate a shape.
I can't install any extra components, as my...
Hi,
I'm using a mask edit but don't seem to be able to use the StrToInt() function as I can with the contents of a normal edit box.
How can I convert the contents of a mask edit box to an integer?
Many thanks,
Froskoy.
Thanks very much whosrdaddy. That's really helpful and makes that sort of thing make more sense to me now so will be helpful in future as well.
Thanks also Glenn9999, that does look neat and something that I hadn't thought of off the top of my head.
Is saying
if (Intensity=24) or (Intensity=25) then TempGetColour:=RGB(168,168,168);
exactly the same as
if (Intensity=24 or 25) then TempGetColour:=RGB(160,160,160);
?
Thanks very much,
Froskoy.
Hi,
I have a series of rectangles on a form as follows:
rec0801 rec0802 rec0804 rec0805 ....... rec0824
.
.
.
.
rec0201 rec0202 rec0203 rec0204 ....... rec0224
rec0101 rec0102 rec0103 rec0104 ....... rec0124
A bit like pixels.
I need to manipulate these rectangles every time a timer...
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.