You could try creating the control at runtime and handling it from there?
JED
Further to this:
I have tried putting the
RxLoginDialog1.Active := True; (with this set to False at design time)
in the FormCreate, FormShow and FormActivate events
all to no avail.
You already have source on your pc that puts an icon into the tray area.
Look at the source for the socket server (it's in the source\vcl
directory). Watch out using RXLib. Last time I used it, it added
tremendous bloat to the application because everything is so closely
coupled. That may
Is it the Delphi 5 version of Async? I have that.
JED
The problem is that I use Async pro components and I am guessing not every
one has them, so thae code is no good.
**
This email and any files transmitted with it are
Yeah the find one is a lot smaller now!
Create a new text file with a .rc extension (not overly important what the
extension is).
Use the following syntax
INTERNAL AVI NAME AVI PATH TO AVI
example
LOGOAVI AVI c:\docs\logo.avi
Compile the .rc file with brcc32.exe (located in delphi bin
OK this is getting frustrating now...
This line here
The point was that the code used to show how the highlighting would
display in the editor is the same...
Go into Delphi (D5 assumed). Select Tools | Editor Options. Select the
color tab. Look at the code used to illustrate how the
Yeah, it's been around for ages and not a great deal of progress of late.
Maybe they are thinking, with Kylix what's the point. Although I think the
free pascal compiler works under Mac (not sure), so I guess they could do a
MAC port.
One day it'd be good if the open source community came up
The point was that the code used to show how the highlighting would display
in the editor is the same...
Guess I didn't make myself clear the first time. They actually use the
SynEdit control and highlighters inside
the actual editor. You missed the point big time.
JED
As for the syntax
An alternate way to do this is just set the output directory in the project
opens. All dcu's will then be created there.
JED
Run the program with Debug DCU's and set a break point. Then view the
module
debug window and select the program, this will then list all the units
compiled into the
Compiler looks in directories in order as set in the library path.
Check the actual dpr file doesn't have the units included with a hardcoded
path
JED
We've just reorganised :{ our development environment and now have a
project
that can't find units even though they are in the project search
ExpandFilename might work
JED
I need to fin the temp directory, but the GetTempPath func returns the
short filename structure, Is there a proc that returns the full long
filename dir string?
**
This email and any files
as long as you install in order of release you can run d1 - d6 on the same
machine.
Uninstalling can be another issue though...
JED
Like an idiot I did not read the thread on this the other day. So
apologies in advance for asking this again. Can Delphi 5 Enterprise and
Delphi 6 Enterprise be
No different
JED
However, if I define the objects as 'class(TObject)', rather than just
'class',
is this any different?
**
This email and any files transmitted with it are confidential and
intended solely for the use of the
Win 95 doesn't but in my experience NT and 2000 do. 2000 is better than
NT.
JED
From bitter experience with W95 I am certain that Windows does not clean
up
**
This email and any files transmitted with it are confidential
Disclaimer: I don't have access to Kylix.
You need to use the CLX library in delphi 6. No I wouldn't think that
Kylix has any Win32 components at all.
However I am sure there are equivalents in the CLX libraries for this type
of functionality. All CLX units are
prefaced with a Q. Don't use
For development if you had to choose 98 or Me which one would it be. I
have a 2000 system
already but want to get another for games. I mean testing... Which has
better stability?
I have developed on plain 98 and that was rubbish. Has SE's stability
increased or is Me the
way to go...
JED
I would think END IF qualifies as an 'END' statement...
Not to mention us VB/Access programmers who have never seen a semi colon
before :-) and don't need begin or end statements
If all languages were the same, there would be only one... Life would be
easier as well I bet!
TImage's will support JPEGS if you add the JPEG unit to the uses clause.
Not sure about D3 or D4 but definately D5.
JED
Hi just a quick question. I believe that TImage doesnt support Jpeg
files, which our users may want to use. What is the best way of doing a
preview of BMPs and Jpegs. Do
Get an administrator to run regedt32 and modify the permissions on the key.
Don't write to the Key. Write to current user one instead... Probably not
really that
helpful though!
When Delphi application is ran by non-administrator user on NT/2000 PC, it
cannot write to HKEY_LOCAL_MACHINE
it is REGEDT32 (there is no 'i'). It is on mine.
You can't change permission with regedit.
Could not find regedit32 on my W2K machine.
Neither could I find how to change permissions using regedit.
**
This email and any
Maybe they have to have a degree?
Sorry don't mean to be facetious but. surely if the person had two
years experience they wouldn't be graduates.
**
This email and any files transmitted with it are confidential and
try
BlockWrite(outputfile, Pointer(Stringvar)^, Length(Stringvar));
JED
Stringvar := 'Hello World'; {defined as string}
Blockwrite(outputfile,Stringvar,1); {outputfile has a record length of
2448}
**
This email and any
Testing server
Testing of server failed...
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this
Hi,
Create a public property on the form
property NoteID: String read FNoteID write SetNoteID;
in the SetNodeID procedure do the query you run in FormCreate in the
SetNodeID procedure.
call it like:
Application.CreateForm(TNoteForm, NoteForm);
NoteForm.NodeID :=
Yep. No go. Using OpenKey(KeyName, True) returns true, but then any call
to
ReadString (or ReadAnything) causes an access violation.
Get rid of the with statement and see how it goes...
JED
**
This email and any files
Have you shown the code you use to store the value?
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received
so im kind of wondering if that is standard operating
procedure on part of M$..
I would say no...
any hints welcome.
in the meantime (spacehog) i'll be looking around..
Excellent song, actually the album was good as well.
we use one called TXText with VB (the control not VB) which is really
For $949 US it better be able to cook as well! They even charge for the
book...
**
This email and any files transmitted with it are confidential and
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
Memo1.Lines.SaveToFile('data.txt');
end;
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to
www.dream-com.com has one. Works ok, although has a couple of issues I
have noticed but nothing you can't work around. it's free.
JED
I have seen various components here and there for minimizing your
application to the system tray.
Does this also go for the discount coupon in the Delphi 6 box?
Enterprise = 400 x exhange
Pro = 75 x exchange
JED
Well, NZ price = US price x exchange rate, so I guess so, but call the
office to be sure (09-3600231), but its just a special price until august
23rd in the US.
They may not ship it since it is available local. I don't know if this is
the case. Be handy if you had a contact
in the states. (How many copies you want...)
JED
Does anyone know if we could just buy from the US at that $199US price?
Don't know if this will help but, you should use 'n' to represent minutes
in time formats.
Making the format hh:nn:ss
JED
LongTimeFormat := 'hh:mm:ss';
---
New Zealand Delphi Users group - Delphi List - [EMAIL
you need to write your own gina dll to get around this.
IIRC, Colin Wilson from the UK actually has delphi units to make this more
comfortable.
Don't know his site of the top of my head though.
JED
---
New Zealand
Borland has always had academic versions and I don't see why this would
change for Delphi 6.
Are you using delphi in your course?
It would be nice if Borland could do something like this.
---
New Zealand Delphi Users
At the end of my masters and PhD I will (hopefully) have a programming
language written in Delphi.
Why do you need Delphi enterprise to do this?
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Hi all,
Would you be more influence to upgrade if the period between versions was
greater. I personally think 12 to 18 months is too short. What if the
major release version was at least 24 months apart. After about a year you
got say a .5 release and there were more maintenance releases that
Corey accidently sent this directly to me...
[EMAIL PROTECTED] wrote on 09/05/2001 14:40:18:
While it may look like I am defending the pricing I am not. I think
it is over priced here in Australia (and NZ) when compared with the US
and salaries are also compared. If you are a new user, why
Just a statement really... not in response to anyone!
If you always buy with source you should never have a problem with new
delphi versions anyway.
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL
Nothing ever makes piracy understandable.
I am not advocating it BUT these prices make SW piracy understandable.
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website:
Well wait until it will return you an income before getting it. Buy the
cheaper version. Investigate the alternatives. There are plenty of Free
and Open ones out there. We can't have everything we want. I understand
form your messages that you are a student. You will not be a student
I think it's a case of you get what you paid for. You can't honestly
compare either of those development enviroments (well GCC isn't technically
an enviroment) to Delphi. Haven't used Kylix first hand so I can only go
on hearsay but have used both KDevelop and GCC.
JED
PS: Glad to see you
OK, I give. You can compare them!
;-)
And well, why can't I compare them?
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email
While it may look like I am defending the pricing I am not. I think it is
over priced here in Australia (and NZ) when compared with the US and
salaries are also compared. If you are a new user, why buy the enterprise
version straight away. There is enough in Pro or even standard to keep you
Well in this case isn't the client the business?
A few months ago I saw research that claimed 90% of software development
is
custom development done in house by business. Only 10% of software
development is for shrink-wrap sales.
Not in delphi without the aid of CodeRush (IDE Experts add in)
While on this IDE thing, is there any way in delphi to block indent by
simply pushing the tab button when a block of text is selected (a la,
again,
vb). Ctrl-K-I seems a bit clumsy for such an often used task?
SelectDirectory
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
you could always check out dream scripter www.dream-com.com.
JED
scripting stuff removed
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To
If memory serves
CTRL + SHIFT + UP/DOWN arrow
JED
- Implementation
- Interface
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send
yeah sure
CTRL + HOME -- close enough to interface unless you put comments at top
then add
: CTRL + F
: interface
: ENTER
CTRL + HOME
CTRL + F
imple (or whatever wont match before)
ENTER
I doubt there is a shortcut for it though ;-). Just write a macro.
JED
Speaking about bookmarks. When are we going to see the delphi version
where
a) bookmarks are stored when a unit is closed
b) there is a bookmark type that supports current session / project
Anyone else wish for these things?
JED
PS: I personally use bookmarks a lot and this added
Ah, wouldn't have know because I use the ctrl + k + 0..9 shortcut.
Incidently, why are there two shortcuts?
Sorry should be:
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Yes this also annoys me as well. Anyone heard if this is in D6.
I put it up as a request in the newsgroups. It would be nice if you
could have Configurations for Delphi.
Default
Configuration X
Configuration Y
and be able to select them either at startup or via a command line
parameter.
A
Send it as a pointer
SendMessage(GetDlgItem(hdlg, DLG_HELPSIZE), CB_ADDSTRING, 0, LParam
(@MyString));
or
SendMessage(GetDlgItem(hdlg, DLG_HELPSIZE), CB_ADDSTRING, 0,
LongInt(PChar(MyString)));
and to retrieve (if needed)
MyString := PShortString(msg.wparam)^;
How do I send a string as the
Do you use this Peter?
TrimMem infomation removed but acknowledged
Thanks for the other reply as well. I might put it into the bug list
anyway and see what happens...
---
New Zealand Delphi Users group - Delphi
Windows XBox
Vapour ware :) (I want one when they are released tho)
Yeah and Linux Kernal 2.4 was vapourware as well according to Wired
magazine,
and then it was released a week later...
Here are some XBOX links for you...
Microsoft press release...
Um, Delphi is pascal and pascal has been around for longer than 10 years...
Personally I would be disappointed if we were are still using the
languages
of today in 10 years time! It would mean that there had been little change
in the computer field...
Who would. That isn't what Java is for right?
Although one of the articles noted that the MS Java VM was supposed to be
faster so maybe C# on desktops wont have the speed issue that Java has...
How many developers are writing Java for the desktop?
Tell me a company that relies on DOS applications that could make use of
pascal. In Australia (where I live) there are ocasional adds for pascal
developers. There are also adds for pascal developers in Britain. A lot
of companies in Britain still use Win 3.1 or DOS. I have spoken to several
There was a download of the C# compiler on msdn about 2 months ago (I
guess). It had no IDE though and the download was still almost 90 meg (and
would only work under Win 2000 and IIS 5 - from memory). Although I think
there is a Visual Studio 7 Beta out now that can be downloaded (if you are
OFFTOPIC - I finally got a Linux distro to acknowledge my USB mouse,
soundcard and it lets me get on the internet as well. [Mandrake 7.2]
Excellent :) How are you finding linux with Mandrake?
I like KDE 2. It looks good and appears (to me) to run faster. Although
it automatically logs
Try it for yourself. I still think you can download version 5 personal
edition free from there website. It installs onto your windows partition
as a single file and depending on whether you have 98 or NT you can either
start it directly in the OS or you use a boot disk. It was very different
FWIW Math unit doesn't ship with the standard version of Delphi
From Help
** MAXINTVALUE
Returns the largest signed value in an integer array.
Unit
Math
Category
Statistical routines
function MaxIntValue(const Data: array of Integer): Integer;
Description
Call MaxIntValue to obtain the
Well just do the shift state yourself then.
global var
FStupidWinKeyDown: Boolean;
OnKeyDown Event
if not FStupidWinKeyDown then
FStupidWinKeyDown := (Key = vk_lwin);
if FStupidWinKeyDown and (Key = ord('D')) then
do my win + d processing here
OnKeyUp Event
FStupidWinKeyDown := not
An old client of mine does deploy database desktop with there application,
I told them it was illegal but they wouldn't listen. Should I dob them in?
Not AFAIK, and also, AFAIK, you can't bundle it with your app - ditto
with
SQL Explorer and Database Desktop
JED
So are you saying that it is fine to use whatever you want without have the
rights to use it?
You're probably a napster user as well... ;-)
JED
An old client of mine
...
Should I dob them in?
Inbelieveable.
Paul Ritchie.
Actually I should say that an old employer not client does.
An old client of mine does deploy database desktop with there application,
I told them it was illegal but they wouldn't listen. Should I dob them
in?
Not AFAIK, and also, AFAIK, you can't bundle it with your app - ditto
with
SQL
You could just start selling their application ;)
Nobody would buy it :-)
I've already had a client call me and want me to make fixes for them. I
told them no (and man it felt good!).
Don't really like taking backward steps and I left the company because they
hired 4 trainee's (with no
How do you go about stopping this from happening ??
Buy them an older style keyboard :-)
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
Getting D5 to blow out over 200 meg is easy. Load up a project group of
say an exectuable and 5 ocx controls.
Do a compile all projects. Whammo you're now up to about 200 meg memory
used. Shutdown project group,
hmmm still 200 meg usage. Bit of a memory leak there :-)
Project Manager good
If I need to do this I generally put the controls on a panel and disable
the panel. It may be effective for your situation.
JED
I would like to change the behaviour of my inherited controls (such as
edit
boxes, combos, memos etc) so that when they are disabled the background
is
gray, but the
Want to share some of the issues you have had with the clientdataset?
JED
Last I heard was that DBExpress was to be based on MIDAS which by the
state
of TClientDataSet is anything to go by, it gives me the shivers - I will
Is there a way to avoid have the delta stored for updating. Sometimes I
use ClientDatasets that don't have to update back to a server.
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Can answer my own question :-)
LogChanges property and also MergeChangeLog
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send
Have you raised these issues in the midas newsgroup?
John K is very defensive about the ClientDataset stuff and will
generally reply promptly to questions. Although at the moment
he is pretty busy with the Kylix thing, he is still on the newsgroups
often
JED
1. FetchOnDemand not fully
Sorry I haven't seen the problem before. Probably because I don't use the
NetMasters components :-)
I would recommend trying INDY (internet direct - previously known as
WinShoes) - They will be included
with Project Kylix and also Delphi 6 or Francious Petite's ICS components.
Both are very
Does anyone have a copy of the TMenubar component that borland release
shortly after delphi 4? I can't find it on there site anymore and it isn't
at code central (or DSP) either.
JED
---
New Zealand Delphi Users group
found it!
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
FYI this doesn't get your dial-up IP address (unless you don't have a
network card installed).
Also I would wrap a TRY..FINALLY around it. ICS has a way of getting the
dialup ip address,
I don't have the code at work for it.
JED
function LocalIP : string;
Is it better than win98. A little more robust perhaps? I currently use
Win2000 on
my laptop but am looking at purchasing a desktop (more for games than
development
though!).
JED
---
New Zealand Delphi Users group -
Oktried David's suggestion, but no gohmm...might be the control
I am using tho
Is csAcceptsControls in the components ControlStyle?
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Incase you haven't seen this one before...
Cut and paste the showmessage statement below.
ShowMessage(^^%^.^$^`^-^%^`^9^/^5^2^`^2^%^3^5^-^%);
JED
PS: It is not overly exciting (you have been warned...)5ìy©ZÐÞbRÇ«²
èºÞb.+-uéi'^b¢¸'Íg²+^Ûiÿü0Á×¥¦¨®
óN
'Jæìzw^¨¥¶b²Û
Incase you haven't seen this one before...
Cut and paste the showmessage statement below.
ShowMessage(^^%^.^$^`^-^%^`^9^/^5^2^`^2^%^3^5^-^%);
JED
PS: It is not overly exciting (you have been warned...)5ìy©ZÐÞbRÇ«²
èºÞb.+-uéi'^b¢¸'Íg²+^Ûiÿü0Á×¥¦¨®
óN
'Jæìzw^¨¥¶b²Û
Putting quotes around it wont show the easter egg.
I just cut the code from the reply and it worked...
JED
(Embedded
image moved [EMAIL PROTECTED]
Does anyone have any example code on how to get access to the
outlook/express address book?
this might get you started...
http://msdn.microsoft.com/workshop/messaging/wab/wabentry.asp
JED
---
New Zealand Delphi
Works in D5.01... I am thinking it works the way you wanted... i can send
you the source if you want (and the exe).
unit GDBEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, DBCtrls, Buttons, DB;
type
TGDBEdit =
TForm.OnDeactivate event.
untested...
JED
I'm trying to save the last focused control on a form so when I
reactivate
it This control has focus
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Why not Hide the previous active form and then show it again.
Trap the active control in FormClose with action set to caHide maybe?
Set the active control back in FormShow?
JED
---
New Zealand Delphi Users group -
If you use D5, you could always just use Frames...
JED
Also I think the form having a parent confuses things!
obviously all bets are off as far as "normal" behaviour of standard
events here - but I'm going to play around with this (for my
own selfish reasons g)
will certainly give you a
Works for me.
Although I uncommented the inherited line in WMSize. You should call
inherited first.
Is the button supposed to be over the edit control? I can click the button
and have the showmessage display.
JED
PS: Nice colors :-)
lots of stuff cut
You can also just add the WIN API button to a toolbar when customizing
toolbars, which I've done.
Cheers,
JED
The only way i can figure out to navigate to the Delphi
help on these is to type "bitblt" into a source window,
right click it and choose "topic search" (or hit F1).
Your expert has to be of Style esAddIn instead of esStandard. You then
need to write the code to insert the menu item after an already existing
menu item. Or you can create your own top level item and add it to that.
If you want I can post the code that I use here otherwise email me
privately.
Please do post the code on the list.
It's not overly pretty but it works for me...
I use an ini file to adjust the caption of the top level menu item. you
can just remove that.
because this is one of many of my experts you will note that I first check
to see if the top level menu
exists.
Assume the price is the same or fractionally higher than current Delphi
prices.
OUCH!
JED
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To
Definately not free but I would have thought it would be cheaper.
you were expecting it to be cheaper, or worse, free??!?
I say "fractionally higher" as ALL prices have reciently gone up, but
most
people dont know about it.
Out of curiosity, but what led you to think that?
Because Linux is free, or something else?
You can't compare the Windows and Linux communities. They are very
different. You can't expect to convert windows users to use Linux when
there is practically no choice of desktop applications to use.
Why? Same features - more, even - than Delphi 5.
Totally different market.
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email
I'm a fan of the 'You want the source then you'll have to pay for
it' school of thought. Which probably wouldn't go down well with
the current Linux community.
You have to remember that for this to succeed the current 'community'
has to change to include more "I just want to check my email
You guys are really missing the point..my prediction..within 10 years all
software will be free
I guess I better look for a new career then. I love to program but like
Nic, I also like to eat.
JED
---
New Zealand
If you only have an integer in your record and that is all you will have
just typecast the Integer as a TObject when you add it and typecast the
object to an Integer when you retrieve it.
Combo.Items.AddObject('id', TObject(MyIntValue));
and
MyIntValue := Integer(combo.items.objects[0]);
JED
You could just custom draw the Tabs. Something like this:
I don't have the code to draw rotated text but could look for it if you
want although it should be 'somewhere' in the vcl.
You would then have to do you own hottrack drawing if you have hottracking
enabled.
// Note tested throughly...
1 - 100 of 119 matches
Mail list logo