1,826 Topics
| |
hey there i just started learning informatics and im currently learning pascal and im liking it a lot, its my first time with programming too, only problem i have is we dont have any computer in the classroom to try the code and unfortunately i dont have a laptop or … | |
HI! Thanks in advance. I wanna make comething like this: [CODE]Procedure GETDATA( VAR x : TCaption ) ; Begin .... x := '1' ; ... End ; ... ... a( SOMEString ) ; a( SOMETEDit.Text ) ; a( SOMETLabel.Caption ) ; end;[/CODE] HOw can I solve it? Thanks!!! | |
Hi all, I am trying to produce a basic till system, and at current am using an ADOquery to bring up the items ordered along with their relevant prices in a DBGrid. What I now need to be able to do is use the price values contained within the DBGrid … | |
i m new to delphi.i have coded in vb,php, c etc..now i have to learn delphi.I was wondering if there are any good websites or books, where I could learn the delphi.. ??? | |
Hi, I'm working on a simple calculator in Delphi. The assignment is convert C code to Delphi code. My problem is that I've tried for days and I can't come up with something to replace "getchar" from the C code. This is the code in C: [CODE]#include <stdio.h> #include <stdlib.h> … | |
hi guys , what am i doing wrong here, i have instigated several approaches, in assembly 8086 using borland/turbo 7.0 pascal on win 98se (so i can communicate easily to parallel port and stipulation of assignment) my issue lies with being able to allow execution of a looped routine but … | |
I am creating a Delphi program that needs to extract data from our database and create an Excel report. I would prefer to use the Delphi components TExcelApplication, TExcelWorkbook and TExcelWorksheet, but I haven't been able to get them to work. Most of the examples I have found are fairly … | |
Hi, I am trying to install the Python4Delphi components, but it doesn't compile (from python4delphi.googlecode.com/svn/trunk). It also seems out of date. What is the best current way to use Python inside Delphi? Any advice or help will be greatly appreciated. Thanks! | |
I've written some code below and I can't get it to compile. I think I have my While and If in the wrong place. Any help is greatly appreciated! Here is the structured english: [CODE]PlayerOneScore <- 0 PlayerTwoScore <- 0 OUTPUT ‘How many balls do you wish to face?’ INPUT … | |
program primo; uses crt; type tipo=file of integer; var scelta:integer; num:tipo; procedure inserisci(n:tipo); var nome,x:string; i:integer; begin write('Nome del file:'); readln(nome); x:='F:\File\Esercizi'+nome; assign(n,x); rewrite(n); write('Inserisci 20 numeri:'); for i:=1 to 20 do write(n,i); close(n); end; procedure scrivi(n:tipo); var nome,x:string; i:integer; begin write('Nome del file:'); readln(nome); x:='F:\File\Esercizi'+nome; assign(n,x); reset(n); while not … | |
Dear knowledgeable ones. I started on a project to be able to use a smart card and a smart card reader in order to limit access to a program. I had some sample code written in Visual Basic, and wanted to translate this to Delphi instead, something I think I … | |
Hi, need help with this. I have a text file with info in that format: [CODE]product1 description stock product2 description stock[/CODE] And want to save that values to a record like this: [CODE]prod=record name:string; des:string; sto:integer; end; [/CODE] forget the "assign" and "reset" part, I got this, I actually need … | |
I did an experiment regarding sorting of 256.000 random "names" using TListBox component. A friend of mine say that TListBox is faster than my code at sorting, so I wanted to test this out of curiosity. Method of testing. When I have created 256 thousand random textstrings, each 6 characters, … | |
how to divide frames in the program (pascal)? a program which can display different part through frame. | |
I did this code to compare to Delphi code in Delphi forum [URL="http://www.daniweb.com/software-development/pascal-and-delphi/threads/357771"]TListBox and sorting[/URL] which ran in my computer compiled in free Lazarus environment at time 7,235 s for generate and insert to listbox, 13,265 s sorting the listbox. | |
ola, Please help, stuck on this error "class TJvGifAnimator not found" and the web is of no use, anyone know of a way to fix this or what path I could include in CodeGear to fix this. I've re-installed all library packages from Jedi component library (JCL) and JVCL. Am … | |
What are the four major sections of a Delphi Unit? What is the difference between an Object and a Class? In the context of a class what does “static” mean? Why would you use it? How would you create a thread in Delphi? What are the issues that you can … | |
Hi guys/gals Ok here is my problem, when importing data from excel using ADO, delphi doesn't seem to be able to import mixed column values...e.g. the column is formatted to integer and the integer values correctly import into delphi, but the same column contains string values it imports nothing or … | |
I am trying to draw a few items on a canvas using Canvas.TextOut mainly. My problem is that when I grab the form holding the canvas and then move the form outside of the screen and back again, all text and drawings have vanished, as if they have been erased. … | |
I am designing a lot of TCheckBox at runtime, and uses mathematical formulas for placing these in columns and rows afterwards on a form. I assign an on click event that is exactly the same on all of them, and everything work, except... Color. My OnClick event is made like … | |
I have a problem that i need to solve, and dont know how to do it. I have two arrays of 80 numbers (array[1..80] of integer) and i want to multiply them, saving the result in another array. I am beginner in pascal, learning it at school, so i have … | |
Basically I have a label which I do the following with on start up of my application: [code] with Label1 do begin Caption := 'Computer Locked'; Align := alClient; Alignment := taCenter; Top := 400; end; [/code] Now the problem I have is the alClient and taCenter work perfectly making … | |
Hi everyone I'm trying to connect and display data in a TDBGrid (component) from an .mdf (made in sql) and connect it to a Delphi application. the .mdf is on the desktop and my databases name is Attach. If anyone has any clues or advice please let me know! Many … | |
Hello guys, basically I have two Delphi applications which I want to communicate and work with each other, the only problem is I don't know how. Can anyone help me create a as simple as possible programs so that when I press a button in the first program, it would … | |
After searching around for along time... I've found nothing. I need to be able to grab an image from an imagelist. I tried searching through the properties and methods, but found nothing that looked like it would help. [CODE] begin PicArray[WhichCol, WhichRow].Picture := {Image from imagelist} end; until Imageindex[WhichCol, WhichRow] … | |
hi, i try to make a square number but its not limited by 2. number and the square can be any numbers. so its like n^n. please help me.. i confused how to do this.. any help will be appreciated. thanks. | |
Hi all, Can someone tell me if this is a delphi bug? I am using a Controls.TDate to store a date and using the SysUtils.EncodeDate function to set the value. [code] Invoice.DateReceived := EncodeDate(2011, 03, 16); [/code] When I store it in a MS SQL database field, it is adding … | |
Hello! I have a little project of my own to convert a memory game puzzle from VB.Net into Delphi (Not a big Delphi fan). I was doing fine so far until a control would not be recognized (outlined in red and green). It is an imagelist containing 8 images. [LIST=1] … | |
Hi masters,, how can i count how many words in sentences using pascal? thanks before and best regards. | |
I have problems to play video files from different cameras with the media player supplied with Delphi. Does anyone know of a free compnent that I could test in stead? |
The End.