User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Pascal and Delphi section within the Software Development category of DaniWeb, a massive community of 397,818 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,622 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Pascal and Delphi advertiser:
Views: 2034 | Replies: 13
Reply
Join Date: Mar 2007
Posts: 17
Reputation: chickenmcnugget is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
chickenmcnugget's Avatar
chickenmcnugget chickenmcnugget is offline Offline
Newbie Poster

Re: !!! Help ME !!!!!

  #11  
Mar 28th, 2007
thank you for your help and i am trying to learn like i said and i understand a little bit of wut you put but now that i got your help i will use my book that i have been using and see wut you did ya know anhd then figure it out that way thanx again for all your help and if i have any more qs may i ask you?
Reply With Quote  
Join Date: Dec 2006
Location: Romania
Posts: 171
Reputation: radu84 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 16
radu84 radu84 is offline Offline
Junior Poster

Re: !!! Help ME !!!!!

  #12  
Mar 29th, 2007
you don't need to ask me, post your questions over here, and if somebody can help then you'll receive your help

best regards,
Reply With Quote  
Join Date: May 2007
Posts: 1
Reputation: anwar_auctions is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
anwar_auctions anwar_auctions is offline Offline
Newbie Poster

Re: !!! Help ME !!!!!

  #13  
May 19th, 2007
may i know wat tree view ??
Reply With Quote  
Join Date: Apr 2007
Posts: 27
Reputation: Terry Robinson is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Terry Robinson Terry Robinson is offline Offline
Light Poster

Re: !!! Help ME !!!!!

  #14  
May 19th, 2007
As long as you're at it, here is how you get the program to run your Prime method when the Enter key is pressed without including a button:
1. Set the KeyPreview property of your form to True.
2. Go to the Events page of the form and double-click in the empty space to the right of the OnKeyDown event. This will create an empty method for this event.
3. In the event Delphi generates, add this code:
if Ord(Key) = VK_Return then (call your Prime function here)
Note that VK_Return is a constant defined as an integer, so you need to cast the Key value passed to your method before you can compare it to the character which you typed.

PS-They still teach Delphi in (good) schools because it is one of the best development tools for Windows and not too bad for Web and NET apps too.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Pascal and Delphi Marketplace
Thread Tools Display Modes

Other Threads in the Pascal and Delphi Forum

All times are GMT -4. The time now is 6:41 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC