1,826 Topics

Member Avatar for
Member Avatar for infomanas

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 …

Member Avatar for Duoas
0
74
Member Avatar for Gotovina7

· 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 …

Member Avatar for Duoas
0
149
Member Avatar for squidd

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 …

Member Avatar for squidd
0
96
Member Avatar for infomanas

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 …

Member Avatar for ExplainThat
0
242
Member Avatar for kamatatul

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 ?

Member Avatar for squidd
0
88
Member Avatar for Lynxus

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 …

Member Avatar for Duoas
0
118
Member Avatar for koral

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 …

0
67
Member Avatar for ferhatkuskaya

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 …

Member Avatar for Micheus
0
273
Member Avatar for littlepriest01

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 …

Member Avatar for jwenting
0
116
Member Avatar for dodol

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

0
80
Member Avatar for simps0n

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 …

Member Avatar for simps0n
0
1K
Member Avatar for squidd

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 …

Member Avatar for squidd
0
457
Member Avatar for delphinew

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,,, …

Member Avatar for Duoas
0
213
Member Avatar for ferhatkuskaya

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 …

Member Avatar for Duoas
0
107
Member Avatar for ferhatkuskaya

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 …

0
49
Member Avatar for ferhatkuskaya

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; …

Member Avatar for Duoas
0
101
Member Avatar for reza_jolie

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 …

Member Avatar for Duoas
0
72
Member Avatar for bob on whidbey

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 …

Member Avatar for Duoas
0
73
Member Avatar for bob on whidbey

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 …

Member Avatar for bob on whidbey
0
209
Member Avatar for ferhatkuskaya

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; …

Member Avatar for Duoas
0
172
Member Avatar for ferhatkuskaya

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. …

Member Avatar for Duoas
0
82
Member Avatar for Loyen

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 …

Member Avatar for Loyen
0
141
Member Avatar for sura91
Member Avatar for ferhatkuskaya

TMemo(Anaform.FindComponent(('Memo'+inttostr(i)))).Lines[0]

0
55
Member Avatar for ferhatkuskaya

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 …

Member Avatar for Duoas
0
156
Member Avatar for ecostas

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 …

0
49
Member Avatar for squidd

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 …

Member Avatar for squidd
0
170
Member Avatar for ferhatkuskaya

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 …

Member Avatar for ferhatkuskaya
0
90
Member Avatar for ferhatkuskaya

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 …

Member Avatar for Duoas
0
107
Member Avatar for ferhatkuskaya

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 …

0
90

The End.