Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #2K
~21.4K People Reached
Favorite Forums
Favorite Tags

33 Posted Topics

Member Avatar for CanYouHandstand

I think I see your problem: RegulatroSetting is a property, so assigning a value to it will call the SetRegulatorSetting, but, in the Get function you add a equally named variable, RegulatorSetting, that can be -and is- confused with the property it self! Avoid using the same name for 2 …

Member Avatar for CanYouHandstand
0
99
Member Avatar for webmasterd

With the bare tips you give, I can only tell you: press the print key on your keyboard and wait! ...or programatically, you can do the same from the form code just using this: [code] Print; [/code]

Member Avatar for BitFarmer
0
78
Member Avatar for Peppercat101

It depends on the database you are using: SQLServer, Access, etc., each one will have its own means to launch a backup proccess. Once you know the database you are using, then you can search on google (or send a more concise question here), I can't help you on that …

Member Avatar for BitFarmer
0
303
Member Avatar for venuvasulu

Many, basically trying to do something not matematically possible: Divide by cero, log of a negative number, sqrt of a negative number... and also operations with a result out of the limits: a:= Power(999,999) for instance won't fit in your PC!

Member Avatar for deyken
0
433
Member Avatar for MorrisL

If I am right, **ptr is a pointer to an array of pointers to short integers... in delphi it is not used like this (thanks, Lord!). If you know the lengths of the arrays when coding: [code] var a: array[0..10, 0..20] of short; [/code] Then you pass a as paramter, …

Member Avatar for BitFarmer
0
492
Member Avatar for iRemember

Not so simple... a .DFM is mandatory in that case, so you better find a computer that works and make it run... or you plan to debug/adjust output it remotely? And, btw, I think you will need a TImage on top of the form in order to paint something on …

Member Avatar for BitFarmer
0
94
Member Avatar for danielgraham

You can't autofix a database, here or in the moon. In SQl you can make a select to gather all the info you mention: Tablas, index on this tables... all depend on the database you use... for FireBird, i have some examples, but you can find them easily googling too. …

Member Avatar for BitFarmer
0
154
Member Avatar for _yanto_

FireBird is my clear choice: You have an "embeded" version that doesn't need to installl nothing, just copy a dll along with your exe and thats all (ofcourse no BDE install or anything, nothing). Yo can even access a database in read-only mode from your app having all the file …

Member Avatar for BitFarmer
0
95
Member Avatar for casper_wang

Well, you ask for help, but please, don't demand it! If 210 reads your question and don't understand it, or don't know any usefull answer, may be your question is too dificult, or too long (IT IS TOOOOO LONG in it's initial form) or described too poorly. Anyway, I will …

Member Avatar for redagent
0
469
Member Avatar for sabrinax

May be the initial database is corrupt, and a cicle of backup-restore fix it, so the resulting database can access asll the records, while the first one can't. Try deleting the indexes, then re-creating them again (or reconstruct it if such an option is on your database manager).

Member Avatar for BitFarmer
0
109
Member Avatar for princeknz

How do you connect to the DB? Where does those procedure live (trigger asociated to a table, on the DB itself, on the delphi code...)? I would take a little more info to solve, but looks strange anyhow (MS Office component uses to behave strange some times BTW).

Member Avatar for princeknz
0
317
Member Avatar for HelpMeIT

As I understood: You have a form "A" with a button to open a form"B", and also form "A" must close itself automatically. First, you need a Application.MainForm always present, it may be a menu, a wellcome splash (make it invisible, don't free it) but anyway you NEED a mainform. …

Member Avatar for House_of_Dexter
0
2K
Member Avatar for m610

HEY! I have it! I checked Word does it in options, select default locations, just hide the file type and file name component and use the '*.' trick commented above, so it looks as you should expect! It is a little tricky: On the dialog OnSohw you need to send …

Member Avatar for BitFarmer
0
4K
Member Avatar for azapovjednik

Well, you can format a number into string, or a date into string, but formating a string... it is just not the word, it is more a transformation... well, who minds about the name! In your case, you just want to change all '-' with '', so you onlky need …

Member Avatar for House_of_Dexter
0
2K
Member Avatar for fayyaz

Easy: One of them uses the other in the interface (on top of the code), while in the other one, after the "implementation" clause, you add a new "uses" -if it is not there by now- and add the unit you need. In that second unit, the classes defined in …

Member Avatar for BitFarmer
0
97
Member Avatar for quaifp1

"Screen.Monitors" has a list of installed monitors, and Forms have the "monitor" property where you could try to fix where you want it to appear in the FormCreate event... have you tried this (i don't have 2 monitor here to give it a try)? (All this info just typing "monitor" …

Member Avatar for BitFarmer
1
131
Member Avatar for mohsennour

Click on fayyaz name on one of his post, on the profile page, go down and press "Send message", so a private message is sent to him, and delivered to his personal email... well, I will do it that way instead of using the forum ;-)

Member Avatar for fayyaz
-4
76
Member Avatar for BitFarmer

Imagine I want to see all code snippet on delphi only... I can't! From web development I can jump to delphi FORUMS, not to delphi SNIPPETS, and in the "Revamped code snippets" page, I can't filter on a languaje... Isn't it the most basic feature on a code repository mixing …

Member Avatar for BitFarmer
-1
179
Member Avatar for laki4546

Supposing the 30 TEdit are in a TPanel called Panel1, I would do it like this: [code] for i:= 0 to 29 do TEdit(Panel1.FindChildControl('E'+IntToStr(i))).Text:= a[i]; [/code] This is the most similar to your example it can get, but, I would do it a little more robust: [code] for i:= 0 …

Member Avatar for laki4546
0
986
Member Avatar for AKJo

In the OnNotify event, do you set Notify:= true again? You should. Read a little more about it here: [URL="http://www.delphipages.com/forum/showthread.php?t=78624"]http://www.delphipages.com/forum/showthread.php?t=78624[/URL]

Member Avatar for AKJo
0
297
Member Avatar for vegaseat

andrewgalpin: your code count SPACES, not words... try it out with this text "hello bye", you won't get a 2, instead you will get the spaces between words... is NOT the same, and if you try to detect "first space" from "subsecuent spaces", then you end up with the original …

Member Avatar for BitFarmer
0
2K
Member Avatar for zahmatkesh

If you have ONE table, you can't append two dataset... something is not right in your question... if you have " tables and want to mix them into a single query, you should try UNION, as far as you are accesing those record via SQL. With the info you sent, …

Member Avatar for BitFarmer
0
101
Member Avatar for marygreen

A link to a screenshoot would be of help, I don't know what kind of puzzle you are trying to achieve... It sounds to me like a work for a TStringGrid better that any TRichEdit, as you can place text inside "excel like" grid and manage it very freely.

Member Avatar for BitFarmer
0
104
Member Avatar for fayyaz

1) ScrollBox, as any other componet, use positive positions, having the origin (0,0) on top-left, so you can't place anything above the top, it would be a negative value on top property, so it will be clipped away. The only work around -if you realy need to do this- is …

Member Avatar for BitFarmer
0
783
Member Avatar for Vdub.za

There is a very good unit called Launch.pas out there in the net, i grabbed it time ago and have added more functions over the time (not in the authors initial text, sorry), like one to wait until some exe drop below 1%CPU usage. I copy it here so you …

Member Avatar for BitFarmer
0
3K
Member Avatar for TomRandall

Why do you need to activate the hint (Application.ActivateHint(P)) by code? If grid.showhint is true, just changing the hint text should be ok... have you tried it without this line? Anyhow, the application.onhint event is tricky, for a component that can have several instances on one app, using this event …

Member Avatar for BitFarmer
0
631
Member Avatar for prefer

Yuo can use a 0 to 4 counter from a intenger incremented one by using (iRTeller mod 4), and aduust visibility by using a Visible:= ((iRTeller mod 4)=1), so your big code get this small (also note my different indentation, far more legible for me): [code] procedure TfrmRobot.tmrRobotTimer(Sender: TObject); begin …

Member Avatar for BitFarmer
-1
111
Member Avatar for alikSmehoff

You can do it by using a TOleContainer component placed on your form, read the help on this componet, you have all you need in there, also you can "mix" word menus with yours if neccesary.

Member Avatar for BitFarmer
0
1K
Member Avatar for Vdub.za

Just doing a "round(YourDate-now);" (both TDateTime or TDate) would do the work, but, you are supposing the user won't play with the system clock to fool your system!

Member Avatar for BitFarmer
0
152
Member Avatar for Vdub.za

Have you checked the rave help for a savetofile or savetocsv? Do you need the raw data or the report as an image? Do you need it to be automated from code, or just a way the user can do it for a given on-screen report? Anyway, try using a …

Member Avatar for BitFarmer
0
148
Member Avatar for mohsennour

You need a special component to do this for you, if you don't want to code each dot of the graph by yourself directly to a canvas... My Delphi 7 has a built-in DBChart componet on the DB control palette, drop one on your form, select it, and press F1 …

Member Avatar for BitFarmer
0
90
Member Avatar for mohsennour

Your grid is a TDBGrid or a TStringGrid? Your problem is to calculate those totals or to add them to the Grid? Anyhow, those kind of things will need you to code them, and, in a DBGrid you won't be able to "add a last line" as each line represent …

Member Avatar for BitFarmer
0
108
Member Avatar for Vampirewombat

The code you supplie DOESN'T do what you claim, it export each field in a separate row, don't mix any number of rows into a single one anyhow... so adding the town at the end is not the problem herte... isn't it?

Member Avatar for BitFarmer
0
646

The End.