Re: [DUG]: passworddlg

2001-10-13 Thread NIRAV KAKU
The example shown was to illustrate how does one show a form before the main form (which is what I thought you needed!). Then that form can be logging in form, splash screen..password dialog! ; ) HTH regards, NIRAV KAKU On 13 Oct 01, at 14:33, [EMAIL PROTECTED] wrote: On Fri, 12 Oct

Re: [DUG]: passworddlg

2001-10-11 Thread NIRAV KAKU
; if frmLogin.LoginSuccessful True then Exit; Application.Run; regards, NIRAV KAKU On 12 Oct 01, at 13:03, [EMAIL PROTECTED] wrote: On Fri, 12 Oct 2001 00:38:12 +0530, you wrote: Quiet simple. Open the project source file. Before the Application.Run method, do a LoginForm.Create

Re: [DUG]: Name of Caller Procedure

2001-10-08 Thread NIRAV KAKU
Quick and dirty? A variable that keeps track of the calling function. Else give a param to myproc of type proc a/b/c/d/e provided those have the same params signature. regards, NIRAV KAKU On 9 Oct 01, at 4:41, Paul Mostek wrote: Dear Sirs, I have the following problem: Imagine you

[DUG]: Thanks Max

2001-10-07 Thread NIRAV KAKU
Cracked it. : ) regards, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http

RE: [DUG]: Implmenting my own field type

2001-10-04 Thread NIRAV KAKU
to implment encryption/decryption before calling the SetData. 3. Added the Register method which has the following: procedure Register; begin RegisterFields([TNKCryptField]); end; How do I get to make a field of type TNKCryptField? regards, NIRAV KAKU Not too difficult depending

[DUG]: Implmenting my own field type

2001-10-01 Thread NIRAV KAKU
Hello guys, Anyone here has written his own field type here? Basically I need to do something with the field value before I post it to the table and do something else when I retrieve it. Thanks. regards, NIRAV KAKU -- Sent through GMX FreeMail - http://www.gmx.net

[DUG]: Implmenting my own field type

2001-10-01 Thread NIRAV KAKU
Hello guys, Anyone here has written his own field type here? Basically I need to do something with the field value before I post it to the table and do something else when I retrieve it. Thanks. regards, NIRAV KAKU -- Sent through GMX FreeMail - http://www.gmx.net

Re: [DUG]: String Encryption routine

2001-09-26 Thread NIRAV KAKU
(1024) - (encryption) Certificates, (authentication), etc. regards, NIRAV KAKU On 26 Sep 01, at 13:30, Ross Levis wrote: Firstly, thanks to those who helped me find a Help authoring tool. I've searched the Net but not found some simple Delphi source to encrypt a string (based on a given key

[DUG]: case tool

2001-09-20 Thread NIRAV KAKU
Hello Anyone knows of a good and free case tools for Delphi? regards, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group - Delphi List - [EMAIL

[DUG]: Forms in threads?

2001-09-13 Thread NIRAV KAKU
Hi, Is it a good idea to create forms in threads? Any precaution to be taken? regards, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group

Re: [DUG]: DB Grids

2001-09-09 Thread NIRAV KAKU
DBGrid.DrawDataCell will let you draw the cells yourself - you can do whatever you want. In the app i mentioned above we used different font colours. Dont forget to turn the DefaultDrawing property of the grid to False!! : ) regards, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm

Re: [DUG]: my procedure for diskfree

2001-09-08 Thread NIRAV KAKU
(PChar(d+':\'))of Drive_Fixed: Memo1.Lines.Add(dletter + IntToStr(DiskFree(Counter)) + ' Bytes Free'); // MODIFIED end; Inc(Counter); // ADDED end; regards, NIRAV KAKU On 8 Sep 01, at 17:35, [EMAIL PROTECTED] wrote: here is the full code of the procedure var d :char

re: [DUG]: System Tray app

2001-09-04 Thread NIRAV KAKU
or you could do it the good old WinAPI way and write the code which is not any effort at all. Read more on NOTIFYICONDATA. regards, NIRAV KAKU On 4 Sep 01, at 18:54, Ben Taylor wrote: hi! the easy drag/drop way: - get rxlib, drop the trayicon component onto the main form - set the icon

Re: [DUG]: Should be Offtopic but....

2001-08-31 Thread NIRAV KAKU
Interesting. But doesn't the caller ID come from the telephone company? As in, if they wish they, could they stop it? Here in INDIA, we have CLIP too BUT you have to pay for it. Anyways, do mail me the code, definitely woudl like to check it out. regards, NIRAV KAKU On 1 Sep 01, at 8:28

[DUG]: d6 bug report (?)

2001-08-19 Thread NIRAV KAKU
Hello, I just realised something. If you maximise a child mdi form, the system buttons ie (Minimise, Restore, Exit) disappear! Pray tell me my eyes are lying!! ; ) regards, NIRAV KAKU -- Sent through GMX FreeMail - http://www.gmx.net

[DUG]: Kylix installation (argh!)

2001-08-08 Thread NIRAV KAKU
of Delphi 6. Good but the help sucks. regards, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website

Re: [DUG]: Business Objects/ Best Delphi Practise

2001-08-08 Thread NIRAV KAKU
of BOs IF one jumps into implementing it right away (or thats how it happened to me!). So go ahead and experiment and if you have problems, enough help is available from everyone here. looing at others Right guys? ; ) regards, NIRAV KAKU On 9 Aug 01, at 11:12, James Low wrote: Does anyone have

Re: [DUG]: How to talk to web asp page to get info back to delphi App?

2001-08-03 Thread NIRAV KAKU
Hi, I think you want to visit www.matlus.com for tutorials. regards, NIRAV KAKU On 3 Aug 01, at 10:08, Jason Coley wrote: I have never used delphi to get web info before, so how do I go about using D5 to send an asp url and get the stream back, so I can parse it into meaningful

[DUG]: Directory watch

2001-07-31 Thread NIRAV KAKU
to true, it fails while watch subtree set to false works fine. Views appreciated. regards, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group

RE: [DUG]: Changing forms to DLLs

2001-07-26 Thread NIRAV KAKU
I thought packages were dlls! regards, NIRAV KAKU On 26 Jul 01, at 18:20, Myles Penlington wrote: Packages are a lot easier to use - read don't have the hidden issues that DLL's have. Ie You could split your application into packages almost without any re-coding effort - which

Re: [DUG]: Monitoring a service

2001-07-24 Thread NIRAV KAKU
! regards, NIRAV KAKU On 24 Jul 01, at 16:59, Luke Pascoe wrote: I'm about to begin dabbling in Services and have no idea where to start. I've guessed that the service itself will be a TServiceApplication, but I will need a service monitor as well. How do you interface this (I assume) seperate app

Re: [DUG]: Indy TCP Server

2001-07-23 Thread NIRAV KAKU
. I think there are events for these. regards, NIRAV KAKU On 24 Jul 01, at 10:16, Stephen Bertram wrote: Hi All If anyone can tell me how to access the number of active connections using TIdTCPServer I would appreciate it. TIA Stephen

Re: [DUG]: right-click on listboxes

2001-07-20 Thread NIRAV KAKU
Ross, procedure TForm1.ListBox1MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); var Z: TPoint; begin Z.x := X; Z.y := Y; ListBox1.ItemIndex := ListBox1.ItemAtPos(Z, True); end; Hope this helps. regards, NIRAV KAKU On 20 Jul 01, at 18:10

[DUG]: More reporting issues

2001-07-17 Thread NIRAV KAKU
Hi guys, QuickReport (QR) has a function called GetExpression which took 3 params earlier and now it takes 5. The first three are the same as the old ones but it's the new ones that are bothering me. Here are the 4th and 5th param. Maybe you could throw some light and tell me what values should

Re: [DUG]: Delphi Kylix compatibility

2001-07-15 Thread NIRAV KAKU
that feature. When I replying mails to DUG, I seldom realise to switch off that feature because my answers are more or less spontaneous. Anyhow, I will take care in the future, which is good for me too! regards, NIRAV KAKU On 15 Jul 01, at 23:26, Corey Murtagh wrote: Nirav, could you

Re: [DUG]: Delphi Kylix compatibility

2001-07-14 Thread NIRAV KAKU
based application will run as it is on Linux using CLX. No code change required. regards, NIRAV KAKU On 14 Jul 01, at 22:10, Ross Levis wrote: For those using Kylix. I may want to transfer my apps to Linux in the future. Are all the built-in components in Delphi available in Kylix

[DUG]: Tapi components

2001-07-08 Thread NIRAV KAKU
Hello, Anyone knows of free TAPI components for D5? Do let me know. regards, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group - Delphi List - [EMAIL

RE: [DUG]: Tapi components

2001-07-08 Thread NIRAV KAKU
Steve, I found a component called TTapiDial. Works pretty well on ME (thats WindowsME ; )). I modified the source code slightly because I think the header he used is different from the header JEDI converted but it works fine. regards, NIRAV KAKU On 9 Jul 01, at 13:58, Steve Aish wrote

[DUG]: Quick report queries

2001-07-07 Thread NIRAV KAKU
this method does. If you want, I can send you the snippet of how D3 version uses it. TIA, NIRAV KAKU - From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group - Delphi List

Re: Listbox items (Was: Re: [DUG]: array of TStringList)

2001-07-06 Thread NIRAV KAKU
; begin MyRec.Name := 'NIRAV KAKU'; MyRec.Age := 22; // record to object PMyRec := @MyRec; MyObj := TObject(PMyRec); // object to record Z := pTMyRec(MyObj); // testing results ShowMessage(TMyRec(Z^).Name); ShowMessage(IntToStr(TMyRec(Z^).Age)); end; Records save memory. Hope

RE: Listbox items (Was: Re: [DUG]: array of TStringList)

2001-07-06 Thread NIRAV KAKU
Of course its not an object! The idea was to show Ross how he could store records where object types were required. ( eg. Listbox.Items.Objects[x] ) My apologies if I didn't make that clear. I wrote that code in about 2 mins at 12 in the night. ; ) regards, NIRAV KAKU On 7 Jul 01, at 11:30

Re: [DUG]: array of TStringList

2001-07-05 Thread NIRAV KAKU
Use SetLength first. regards, NIRAV KAKU On 5 Jul 01, at 21:55, Ross Levis wrote: I was hoping the following would work but it appears not. It compiles OK but produces memory errors at runtime. Why doesn't the compiler complain if TSringList can't be used in an array? var Categories

Re: Listbox items (Was: Re: [DUG]: array of TStringList)

2001-07-05 Thread NIRAV KAKU
Objects property would be a good choice. regards, NIRAV KAKU On 6 Jul 01, at 12:22, Ross Levis wrote: Thanks all for the help. I think I will use a static array and limit the numbers. I have another newbie question. What is the standard way of internally storing data attached

Re: [DUG]: TChart Alternative...

2001-07-04 Thread NIRAV KAKU
small header to it which will identify the packet. regards, NIRAV KAKU On 4 Jul 01, at 21:47, Allan Vergara wrote: hey guys, can anyone tell me what's a good alternative to TChart? _ Get Your Private, Free E-mail from MSN

RE: [DUG]: Traps with MessDlg()

2001-06-22 Thread NIRAV KAKU
uh uh. escape returns idNo. : ) NIRAV KAKU On 21 Jun 01, at 15:26, ClearNet - Willie wrote: ... and another trap that Steve didn't mention - the default option of Escape key returning mrCancel! So even if you remove the little [x] box from the dialog the unhappy user can simply press Escape

Re: [DUG]: String in Case Statement

2001-06-07 Thread NIRAV KAKU
to get an index of the string you pass in the case statement. Just a thought. Details at the website above. regards, NIRAV KAKU On 7 Jun 01, at 12:15, Reginald Ebenezer wrote: Hi I understand that string cannot be used in a Case statement because delphi does not support it. A work around

Re: [DUG]: TCustomListBox. Multiselect

2001-06-07 Thread NIRAV KAKU
in the unit that you need to use the protected method... type THackCustomListBox = class(TCheckListBox) begin (myCheckListBox as THackCustomListBox).MultiSelect := True; end; Hope this helped. NIRAV KAKU On 8 Jun 01, at 8:24, James Low wrote: I am using a TCheckListBox

[DUG]: Test

2001-06-02 Thread NIRAV KAKU
- From the Shreemat Bhägwat Gïta - 'Sarcasm is the lowest form of wit.' --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to:

[DUG]: Re: system tray

2001-05-24 Thread NIRAV KAKU
or NIF_ICON or NIF_TIP; FIconData.hIcon := Forms.Application.Icon.Handle; FIconData.uCallbackMessage := WM_CALLBACKFUNCTION; StrCopy(FIconData.szTip, PChar(Caption)); // will put the icon in systray when you minimise Shell_NotifyIcon(NIM_Add, @FIconData); end; : ) NIRAV

Re: [DUG] System tray (more..)

2001-05-24 Thread NIRAV KAKU
oops I forgot the nitty gritty parts... FIconData: TNotifyDataIcon (record} To remove procedure RemoveIconInSysTray; begin Shell_NotifyIcon(NIM_Delete, @FIconData); end; NIRAV KAKU --- New

[DUG]: What's that??

2001-05-10 Thread NIRAV KAKU
, NIRAV KAKU --- 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