447 Topics
| |
Hi, I'm a bit of a newbie to Pascal and I'm trying to create a simple program to convert binary numbers to decimal, I'm unsure of how I can disallow an input that is not binary, this is my code: var Validation : boolean; Binary, Number : String; Decimal, index, … | |
Morning, I am loading an xml file where i want to search low level node name if exists. For example: <xml> <A> <B> <c></c> <d></d> </B> </A> </xml> so i have IXMLDOMDocument and IXMLDOMNode, i need to load an existing xml file and to search the node <d> where i … | |
Hello all, I once had a program (.exe) that was a delphi tutorial, you could click an option and it would show you what it did and tell you how to do it.. i lost it in a format and im unable to locate it!, could someone point me in … | |
When formatted text is pasted from MSWord to a TRichEdit control, the bullets are well formatted (on the display) but after; Fetching the rtf data from the TRichEdit control using TStringStream, Saving the stream's DataString to a database and then Loading the saved rtf string back to the TRichEdit control … | |
Hi, I am in need of converting a project which is in Delphi 5 to Delphi XE2. When I run the same Delphi 5 code, in XE2 , I get some errors. In Delphi 5, we have used NMFTP component for file transfers. But here netmasters is not available. Instead, … | |
Hey guys I have a question and I hope someone can answer it. I've been having many problems in trying to find an answer to if I would be able to load a Turbo Delphi project I made this year into my ipod touch. | |
Hello I have been trying to get past certein exercises in Pascal but for some reason I always run into problems that I don't understand. I have the following (synthesized) TYPE Triangle = RECORD x, y, z : word; END; Triangles = ARRAY OF Triangle; {more code} TriangleSize : integer … | |
I am trying to open an instance of Excel 2007 and load some text into a new file's cells (such as a list of something) through my Delphi4 program. I have already tried the ShellExecute and ComObj (variant) methods. ShellExecute works fine on the Windows XP platform, but not on … | |
Basically I have a Delphi application which downloads some data on run time, it basically executes Form.OnCreate; and then ENABLES a TTimer component to do the downloading. This has been working fine for me as at least the user sees the interface whilst it's loading but now I have a … | |
Code a decision using an IF, THEN, ELSE statement (2 branch decision) Code a one branch decision using a null else statement The following is my answer: [CODE] program Negatives; {$APPTYPE CONSOLE} uses SysUtils, ourcrt; var balance, posNeg:integer; begin randomize; writeln ('Generating your bank balance'); writeln ('Please wait .....'); sleep … | |
In other threads I read that Delphi is not prepared, as a net for today, but the comparison was made on VCL in Delphi 7. Actually, the latest version of Delphi and its library is XE3 is FireMonkey I had seen the comparisons between C # and Delphi. I try … | |
Hi all. I have a radio group with a bunch of possible selections. User has to select one of the options in order to go on. Is there any faster way than a for loop iterating through the single buttons to verify one has been checked? Thanks | |
Hi all. I'm creating a cxDBgrid at runtime and I need to set all the cells in a column to be TcxSpinEdit (because I'm then exporting the grid to excel and I want the number format to be preserved). How can I do it? Thanks! | |
Hey Hey I have found that in certain instances breakpoint just dont cut it for me...let me explain: The current program I'm working on in Delphi Codegear has some 2 mil lines of code under a button click, not bad coding btw, just a lot of fuctionality. Now, the program … | |
Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used … | |
I need Delphi 2011 XE code for editing an Excel file. If there is found a text in a row of column A of the Excel file, to change the number of the same row in column B. That's all I need. Thanks! | |
Im having a bit of trouble converting the delphi code below into c++, i'm sure I need to use a Switch statement but I seem to be getting it wrong. Basically, I have 6 panels mounted on a larger Panel, each caption will contain a random number. A button then … | |
The `ReplaceStrings` function replaces all strings in `APatterns` found in `ASubject` with the value in `AReplacement`. As an example, I added the `RemoveStrings` function which replaces everthing with an empty string, thus deleting all strings found. Usage examples are in the XMLDoc comments. A good test will be to rewrite … | |
Working on a program that needs to open a file, read the contents which is a number, save the content as an integer in the program, edit the number by one and then save in the number in the file once more. | |
I have recently been working on a project that requires the use of vertical text within the first row of a Stringgrid. When I change the drawing style of the Stringgrid to gdsThemed, the vertical text displays , however the text is also displayed horisontaly accross the cell. Here is … | |
I found that there is a difference with the drawing of a custom bitmap brush, when I subclass TGraphicControl versus TCustomControl. The expected behaviour occurs when using the TCustomControl descendant. Each paint starts with the brush in the same position, no matter the location of the control (top-left). When using … | |
Hi there, I am currently struggling through trying to figure out why a statement in my source code isn't being executed when running the program. The code is as follows: taxableValueDifference := previousTaxableValue - newTaxableValue; grandTotalTVDifference := grandTotalTVDifference - taxableValueDifference; XLWorksheet.Cells[row, 7].Value := XLWorksheet.Cells[row, 7].Value + taxableValueDifference; The first and … | |
| Hi Is there anyone who could help to figure out how link regexbuddy to Delphi 7SE? |
Hello all! I have an old program from 2002, which was coded in Delphi 7. Now i would like to rewrite the whole program, and expand in Visual Basic. But, i am just learning the language, and it is very difficult to me after Delphi, so i would like a … | |
Hello Am running into a problem on how to store the TFont properties of a memo (or any component at that) to a database Please help. | |
Hi I am using jedi visual code libary with rad studio xe2. I have a question about using TJvImage. When i place an image on my form and add all the correct image states to JvImage1.Pictures if i disable the control and then test my project, the image is not … | |
Heya guys, basically here is some code for a simple example program: [CODE] unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls; type TForm1 = class(TForm) img1: TImage; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; … | |
I bought a Wacom Bamboo Pen Graphic Tablet. The software which came with the tablet is way below my needs/expectations. I found some sample prgrams from Wacom that require Microsoft Dev Studio C++, which I do not have. But I DO have Delphi Pascal 2007. Does anyone know of any … | |
hi Guys/Gals OK my question, it seems complicated why I want to do it this way but I have my reasons ^_^ I have 3 Forms, FormBlue and FormRed and FormFunctions Now, the code in FormFunctions e.g. **** uses Blue, red **** FormBlue.label1.color := clBlue; FormBlue.edtBox.text := 'Bla'; OK so … | |
Dear enlightened ones. First of all. I am using Delphi 9. My code compiles and run with no error at all, still I am confused about the structure window in the Delphi window. It tells me that I have redeclared some identifiers. The thing is that I have a few … |
The End.