Man you've got to be quick to get your answer on to the List, I've just
posted mine and received 4 other worthy replies.
Rob
Software engineer
Wild Software Ltd
Ph 03 338-1407
- Original Message -
From: "Alistair George" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAI
Panadol (Morphine to follow if required)
Don't use a For loop use a while loop. For loops evaluate Count only once
(when they Start), while loops perform the evaluation each time they loop.
So For loops offer better performance (less evaluation) but break if the
number of items to be iterated th
Hi,
--On Tuesday, October 29, 2002 13:50:59 +1300 Alistair George
<[EMAIL PROTECTED]> wrote:
Hi all.
I am having a problem with tmemo in that if I delete one item in the loop
below the memo is stuffed afterwards. But in the second example memo is
OK. Any tips?? Logically, memo count is adjusted
If deleting items from a list you should count backwards.
for tval := Memo1.Lines.Count - 1 downto 0 do
JED
=
Hi all.
I am having a problem with tmemo in that if I delete one item in the loop
below
Probably a more elegant solution exists but the following works:
tval := 0;
while tval < memo1.lines.Count do
begin
with memo1.Lines do
begin
if (directoryexists(strings[tval])) then //its DEFINITELY a directory
if not dirhasfile(strings[tval]) then
begin
I haven't looked at your code closely, but one suggestion (a good one in
general) is to work downwards when deleting things - I suspect this could be
your problem.
e.g.
for tval := Pred(memo1.Lines.Count) downto 0 do
HTH,
Conor
P.S. Not really being anal, but having come back from holiday afte
Hi all.
I am having a problem with tmemo in that if I delete one item in the loop below
the memo is stuffed afterwards. But in the second example memo is OK. Any tips??
Logically, memo count is adjusted after one item deleted but tval is inc'd for next.
Tval needs to be dec'd prior to next count (I
OK, I just saw the answer, duh, the tabvisible
property, OK must be time for a coffee already
Jason
-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf
Of Jason Coley
Sent: Tuesday, 29 October 2002
9:14 a.m.
To: 'Multiple recipients of list
delphi
Good morning everyone!
I have just been playing with a PageControl and have a few
tab sheets on it and would like to have a couple of the tabs invisible until
certain criteria are met, but when I change the visible property to false in
the designer when I go back to it its visible again
Enough of this sitting it feeling guilty. I'll do it but it will be unprepared!!! If
it isn't working people will have to tell me to stop.
>Sorry Neven, I'm frantically working towards a 31st Oct completion date. Next time,
>if required.
>>
>> Can you present tonight on UML
>>
Hello Dennis,
MSB is the high (Most) significant bit eg, the leftmost BIT not byte.
Regards,
Al+
Tuesday, October 29, 2002, 8:13:23 AM, you wrote:
DC> Message
DC> Is the MSB (Most significant byte) to the left or to the right? If it is to
DC> the left,
DC> ieventclass := (eventpack[3]
Sorry Neven, I'm frantically working towards a 31st Oct completion date. Next time, if
required.
>
> Can you present tonight on UML
>
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Hi all,
Is there a function like:
IsDirectoryEmpty(string);
or
DirFileSize(string);
If so, what is it please.
Al+
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.
G'Day
Has anyone come across this, and fixed it
...
I am using D6
TDBGrid with multi-select on (it is a TBDGrid descendant
- but it appears to be the TDBGrid
functionality that has changed - between D5 & D6).
Fot the Grid we have a Popup menu (right-Click
activation).
What happens is:
Message
Is the MSB (Most significant byte) to the left or to the right? If it is to
the left,
ieventclass := (eventpack[3] and $F0) shr 4;
ieventflags := (eventpack[3] and $0C) shr 2;
iTmpSession1 := eventpack[3] and $03;
If its to the right
ieventclass := (eventpack[0
Chris
Can you present tonight on UML
If you need anything (Dataprojector
etc)
Pls contact Alice Kennedy at Borland
[EMAIL PROTECTED]
Unfortunately I wont be available today (I driving
from
Hastings back to Auckland) So any changes will have
to
be worked out on the DUG Mailing list
Hi Guys
Just a reminder DUG ing is tonight
at
Borland
Level 4
Landmark House
187 Queen Street
5:30 kickoff, Lawrence Wilkinson on F1
Software
(How many of you guys write software that does
0-100kph in 2.7 sec)
6:00 Drinks
Delphi and UML
6:30 End
Regards Neven N.K. MacEwan B.E.
E&E P
17 matches
Mail list logo