1,899 Topics
| |
Hello, I am a first year computing AS student coding a petrol pump program. You can see the specification [URL="http://pascalproject.wordpress.com/2008/01/31/project-specification/"]here[/URL]. I am a little stuck and I was wondering if anyone could point me in the right direction. I have coded a seven segment display using arrays, procedures, write lines … | |
Hi all... I have a problem and need to get your point of view regarding card game. 1. I need to build some kind of animation on event to flip playing card from back side to front and vice versa when needed. My idea is to assign picture to Timage … | |
can some1 help me on petes petrol pump in delphi please just a little problem | |
if you have completed the petes petrol pump in delphi can u email me i need some help asap | |
Hi all I'm self taught and relatively new to programming and have been battling with a TDBGrid's onMouseDown event in Delphi 7. Hopefully I'm missing something small and you masters out there will be able to enlighten me! I have a TVirtualStringGrid and TDBGrid on my form. I want to … | |
If this is in the wrong place, I apologize. I use ShellExecute only in Delphi, but I am aware that it may not be properly considered part of the language. I have a program that is supposed to generate a .csv file for an output report. However, my boss wants … | |
This Is My Code:- [code] Begin gotoxy(31,1); write('Peters Petrol Pump'); gotoxy(31,2); write('=================='); gotoxy(0,4); write('Welcome To Peters Petrol Pump...Here Are Your Options:-'); gotoxy(5,6); write('1. Console'); gotoxy(5,7); write('2. Petrol Pump'); gotoxy(5,8); write('3. Exit'); gotoxy(0,10); write('Please Select An Option...'); read(StartingAnswer); if StartingAnswer =1 then Begin clrscr; gotoxy(30,11); write('Under Construction'); repeat gotoxy(30,12); write('Press Enter … | |
hi program to ask the user a username and a password if pass and username good display OK else clear screen and reask the user for username and password again. this will continue until good username and password entred. using while loops thanks in advanced | |
Hi guys :) I've just learn programming in turbo pascal, and my teacher made an assignment to make pyramid of numbers as this: [code] 1 1 2 1 2 3 3 2 1 2 1 1 [/code] so far i've only come up as this: [code] uses crt; var i,j,k … | |
Hi everyone I have a simple yet annoying problem. I'm trying to change the selected color in a stringgrid, ie when selecting a cell the background must change color. The grid has no fixed rows or columns and only one column (like a simple list editor). I've overridden ondrawcell for … | |
Is it possible for an imported COM DLL server to be seen as an object in the 'TOOLS PALETTE' ? Thanks. | |
Hi again, this is a simple programme that I can't make work :S in turbo pascal. [COLOR="Green"]Write a program to create a new list and then display it through a Recursive Procedure ( and use 'p' as a local variable).[/COLOR] This is what I could do but considering I hate … | |
well i have set two tasks firstly create the seven segement display and do some sort of timer with the 7 segment display, i have done the seven segment display and here it is:- [CODE] Program SevenSegmentDisplayConverter; Uses Wincrt; var Line1 : string; Line2 : string; Line3 : string; x … | |
Can somebody help me make a 7 segment display please i need help i tried it but failed can some1 help me please send it me or just tell me a site where i can get it from | |
How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to … | |
Anyone know how to convert real e.g. 105.6 to string e.g. 105.6? | |
I want to fill a matrix randomly with True and False. The code below does produce a matrix where the proportion of True is roughly p, but all the Trues are at the beginning, and all the False at the end (so it looks like it generates the same random … | |
I'm working on a program designed to draw numeric summary information out of a database. The user can select four criteria via dropdown combo boxes, and the information is displayed in a string grid (TStringGrid component). A second string grid component is used to hold the highest-level division of the … | |
I don't know why the next program doesn't find an element of the array. [CODE=delphi] program rec; {$APPTYPE CONSOLE} uses SysUtils; procedure intarray(a:array of integer;longar:integer); begin if longar>=0 then begin write(a[longar],' '); intarray(a,longar-1); end; end; procedure exist (a:array of integer;num2,longar:integer;found:integer); begin if longar>1 then begin if a[longar]=num2 then found:=1 else … | |
Hello, How does my application know when another application window has lost its focus. I want my aplication can track if the active window has changed. Please paste some code about using shell hooks and HSHELL_WINDOWACTIVATED or without hooks to do this task. Thanks! | |
I am working on a school project, I need to do a keystroke to simulate filling car with petrol. There is two program I have done below but none of them work. I use Borland developer studio 2006 (Delphi Pascal) and does anyone know how to clear the screen in … | |
Hi, We are having problems with files FTP'ed and renamed around the various locations. JPGs can't be viewed, Exe's don't run. It seems to be something to do with the ownership of the files. The offending files have an owner of "Administrators" or else blank. TIA Mark | |
I have a Petrol Pump system that runs a timer that simulates the litres that run and the display shows the images inserting into an image box. Then the Price at current is the litres * the set price per litre. Thats where the problem is because I can't get … | |
want to know the coding of h ow to define connection of SQL database wid deplhi so that i can insert data in database | |
I've created a playing card descendent of TCustomControl and I want it to have rounded corners. The card is displayed in a Paint procedure where I determine the bitmap and then use a Canvas.Draw(0, 0, FCardBMP); This approach works well except - no rounded corners. Setting FCardBMP.Transparent := true; doesn't … | |
Hi, I am using Delphi 7 personal along with Indy 10. I have a program that uploads a 7 mb .dat file to a remote server thru ftp. I have my code wrapped into a try/except but for some reason and at some point, the transfer fails, and i get … | |
[code]program pics; var N : integer; OutString : string; begin for N := 1 to 6 do begin Str(2*N, OutString); writeln('image'+ OutString) end end.[/code] That is the code I've got and here is its output: image2 image4 image6 image8 image10 image12 but here is the output format that I want: … | |
i am seeking for an answer to fix my unit graph problems basically when i try to use it this error pops up BGI error: Graphics not initialized (use InintGraph) the funny thing though is that this unit works fine sometimes soooo your answers will be appriciated thanks | |
First of all please visit [url]www.flightemotion.com/prod01.html[/url] to know what we are speaking. We have finishe to develop the system BUT our software partner fail because health problems. We have now only manual software to move the motors. We have also some work done until now in Delphi and c++. We … | |
I’m trying to find out if either VB6 or Delphi could be used to make a simple dialer for Windows XP. A dialer my friend made in VB5 works on NT, but not on XP. By a simple dialer, I mean one that I can use to read a single … |
The End.