1,899 Topics
![]() | |
i'm not sure if i'm getting this right, but i still remember java allowing me to cast an object to another type as long as their ancestors are the same? I can't seem to do this in delphi, the compiler doesn't seem to understand the methods and attributes of each … | |
This is a 3DS max loader in Delphi6. The program always end with an access violation in memory, somwhere in the T3DObject.Create section, when it is called from an another class. (first occur in TChunk.Load3Data when AddObject is called) Why? How can it be solved? [ICODE]unit Unit3DS_11; interface uses Windows, … | |
Hi I want to read a pascal file a find a certain word in that file. Thanks | |
hi, i want to write a pascal program. the program will input two roman numbers and an arithmetic operation and print out the result of the operation ,also as a roman number. thanks. | |
Firstly to tell that im glad to find your site. Thanks i've starting a new program and i need to backup my tables. so i tried the command [CODE]copyfile[/CODE] and [CODE]send to[/CODE] but it doesent work. so please help me. i need to save my db tables to another location … | |
The upper-left corner cell of a stringgrid has a blue background - I believe because it is selected. I don't want any cells "selected". The solutions to this problem that I've seen have the user modify the DrawCell procedure. But I'm using a TtntStringGrid component in order to get Unicode … | |
Hi. I'm starting to use clientdatasets after years with Zeos DBO and I'm facing some difficulties. I created a TSQLConnection, a TSqlDataset as a ctTable, a TDatasetProvider and a TClientdataset. I populated the clientdataset and tried an ApplyUpdates(0) to insert the records. But I'm getting a "cannot modify a read-only … | |
Hi, I can't seem to find any information at all...about how I can assign an Array into TStringList. I'd like to do something like that : for i:=0 to 10 do begin vArr[0] := intToStr(i); vArr[1] := intToStr(i + 1); vAStringList.addObject(inttostr(i), vArr); end; I'm trying to build a data structure … | |
How to code Poisson distribution in Turbo Pascal ? tnx in advance | |
can anyone give me a link to a good turbo vision tutorial. i have been searching for one for months now and would be greatful for any help. | |
1. "Memo1" component that hides value such as 100,200,300 or 450 ounce etc. 2. "Memo2" component that hides value such as 50,100,150 or 225 ounce so the component will store the decreasing values from 100,200,300 or 450 pounds. Thus the bar image's height will be 50% of the barimage old … | |
Hi All how can I change System time format From hh:mm:ss(12 Hour) to HH:mm:ss(24 Hour) Using Delphi code? Thanks ![]() | |
I have a Listbox with different numbers that can be added at any time through a TEdit. How can I take each item from the listbox and just simply add them to get a Total Amount. For example.. Say My Listbox looks like this: 14.00 2.00 7.00 13.00 how do … | |
How do I list the number of elements in a vector, i.e test : array[1..10] of string; ? | |
plenty of examples on the net for I think pascal version .00000011 hehe I cant seem to get it to work properly. Better yet, a component to load binary files into a memo, listview, richedit, etc would be even better. Any ideas? Ive been looking into this for a few … | |
i want only[B]5 (five lines of codes)[/B] for a win32 application in delphi u can use resource file and dpr file can any body help | |
I have a new program I am working on and I would like to repeat a portion of code to redo the same thing again, and again. When the program starts, it will give me a number from my NIC card (I think). Ok so I have it going to … | |
Hi, maybe can you can help me. I need to write a pascal a program which would read text file from hard disk and would sort all text's words to 3 columns, and would save results to the another file. Let's say that we have no more than 1000 words … | |
· The complete arithmetic expression will be read from a input file. An equation will not cover more than one line and may be assumed to be entirely valid. The input file will contain a single equation For example the file might contain the following: 56 – 12/3 + 1 … | |
I know this must be painfully simple to do, but I cant seem to find any text that makes sense to me regarding how to actually do it. Basically I have program "X". Program X has the TTrayIcon component added to the MainForm. From what I have read, the need … | |
Hi, maybe can you can help me. I need to write a pascal a program [B]which would read text file from hard disk and would sort all text's words to 3 columns, and would save results to the another file. Let's say that we have no more than 1000 words … | |
Hi. When i run a dephi 7 project the executable file is created with only 1.9mb size, actually it should have been around 7 mb. Can any one help me ? | |
I don't know what the proper name is for it lol, but I have an assignment. I am fairly new to delphi. I understand the homework rules so I don't expect it all to be done I just need help in the understanding and feel free to help as much … | |
I use TDE. I've got MainForm with FormStyle = fsMDIForm. And the second form, base one: TBaseForm with FormStyle = dsMDIChild. From TBaseForm I inherit next forms and they behave right. (all closing things are done in TBaseForm). Also in TBaseForm WindowState = wsMaximized. I inherit from TBaseForm a form … | |
Hi friends again. Can you tell me how I will justify right edit box components in delphi. Ok I have found the memo to justify right for my input variables. But when I delete the text inside the memo components. Some of strings in memo components are not coming to … ![]() | |
I have been working on this for days and it's the most annoying error. For some reason, everything works correctly the first time through, as you can see from the sample output. However, if you go through a second time (as the input is from the command line, i.e. if … | |
Hi All, Is it possible using POP3 INDY component for DELPHI 6 to receiving email wiht port 995??. If posible, What Steps I should do??? Thanks You. GBU DODOL | |
Hello, guys! I have to make a program with the following features. - [B]array of records[/B][code=Pascal]TYPE employeeRecord = RECORD name: STRING; surname: STRING; age: Integer; END; employeeRecords = ARRAY OF employeeRecord ;[/code]- [B]a procedure/function to ADD data into the array[/B] I did this one and I think it is working … | |
I have one form that is doing a security check. if the serial number or whatever is found, then a button will appear to open the actual program. Welp, that isnt working out so well. How do I have a Tbutton open another form and close the first form? This … | |
Please...i ask helping from..all .... i want to write sound value from dinamic array,,to save in .wav type... i tried to write header .wav and result it i think is true... but i still confused how way to write sound value.. i put sound value in array, name is hasil_wav,,, … | |
Hi, I want to learn whether any components such as coloured bars whose heights are automatically changing in the two values which comes from one editbox. If I write 50 to editbox, The colour bar will be half of its height automatically. If I write 75 to editbox, The colour … | |
Hi, I want to learn whether any components such as coloured bars whose heights are automatically changing in the two values which comes from one editbox. If I write 50 to editbox, The colour bar will be half of its height automatically. If I write 75 to editbox, The colour … | |
I used 3 timer component and I m using one checkbox. And I have three procedures for timer1, timer2 and timer3 and I writed below these in my unit code explorer. Note that band1,band2 and band3 are images that will be animated ordinarily. [COLOR="red"]procedure TForm1.Timer1Timer(Sender: TObject); begin timer1.Enabled:=true; timer1.Interval:=2000; band1.Visible:=true; … | |
im programing student our master wanna me make this program with 0.1 accuracy i use "writeln(h:nr:nl)" that was wrong this is original program 2 cal sum of 1¹-(2³/3!)+(2⁵/5!)-(2⁷/7!)+(2⁹/9!)…+-(2ⁿ... program p1; var n,i,sign: integer; h,p,fac: real; begin h:=1; p:=2; sign:=-1; fac:=1; readln(n); for i:=2 to n do begin fac:=fac*i; p:=p*2; if … | |
I'm having no problem adding components to to the Palette in Delphi 2007. Generally I do this by adding units to a .dproj and then installing the .dproj. I've tried to delete a unit - and that appeared to work. Later I tried to add the unit back into the … | |
I'm having trouble creating a RES file (for a visual component). This was easy under XP as I had the file extension for all .rc files set up to run RC.EXE. I am now using Vista and can't find the RC.EXE file. Also, do I need to make changes in … | |
I used 3 timer component and I m using one checkbox. And I have three procedures for timer1, timer2 and timer3 and I writed below these in my unit code explorer. Note that band1,band2 and band3 are images that will be animated ordinarily. procedure TForm1.Timer1Timer(Sender: TObject); begin timer1.Enabled:=true; timer1.Interval:=2000; band1.Visible:=true; … | |
Now I want to know how I will short my code lines within one procudures just as sharing of events in only one procedures. for now I have written my program code like that but I want to learn how I will use events for 5 components within IF conditions. … | |
Okay, I got a school assignment and got a problem here. It says that: D:\Skola\Programmering A\Inlämningsuppgifter\inlupp_2\Inlupp_2.pas:5: parse error before `:=' I know there's wrong with the array, but I want the user to write how many letters his/her name contains so that the array can take each letter out later … | |
5 Advantages of Using Procedures Within Pascal Programming? any help here please? | |
| |
Ok Now I will send you my code procedure TAnaform.TrnsferButton1Click(Sender: TObject); var i:integer; begin for i:=1 to 82 do TLabel(DisplayForm.FindComponent('Label'+inttostr(i))).caption:= TMemo(Anaform.FindComponent(('Memo'+inttostr(i)))).Lines[0]; DisplayForm.Show; end; But when I entered the '0' inside "lines" property of memo components in object inspector instead of "Memo1","Memo2" and others... the code is working truely. If I … | |
Hi. I know it must be something really stupid but I've been stuck with this problem for hours now. I have always used Zeos DBO with Delphi 5 but, as I bought Delphi 2007, I decided to turn to dbExpress. Things are starting to work but my first query with … | |
All the help I have received in here has been wonderful and I am very glad that there are good people in here to help us newbies. I know I sure need it! So these last few things would be nice to get some help with and then I will … | |
Again hi. I want to learn about how I will write these two components :Label and Memo using one loop such as "for" loop in delphi. For example: I have 50 memo and I m transferring the strings in line 1 to labels. Can you help me about how I … | |
Hi Can you tell me how I will add labels to buttons in delphi? When I add labels to button the labels are coming under the button but I want to see the labels on the button just as tag of buttons can you help me about that problem. Thank … | |
Hİ THANK YOU FOR YOUR LABEL COMMENTS LETS FORGET THAT QUESTION. I have chosen it with a different solution and :). now I want to know how I will use the message buttons with if conditions... I dont know why my message dialog box's message values are passive in my … | |
Hey all, I have been stuck on this problem for weeks now. Basically I took a variation on Wirth's compiler and adding some more functionality to it. I needed to add FOR loop and CASE statement functionality to it. I have the bulk of both of them done but when … | |
Hi All, Any one know What steps should I do if I program pop3s using indy for D6. But the used port is 95.?? Before I use 110 it works because now using SSL using 95.. It doesnot work.. What should I do with Indy for D6 change from port … |
The End.