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 457,736 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,611 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: Programming Forums
Views: 828 | Replies: 17
Reply
Join Date: Oct 2008
Posts: 9
Reputation: cheburaska is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cheburaska cheburaska is offline Offline
Newbie Poster

Delphi dictionary [HELP!]

  #1  
Oct 11th, 2008
Hey, im writing a dictionary in Delphi, and i dont know how to solve 1 problem. How to make Delphi display an explanation for the selected word from the word list?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2008
Posts: 872
Reputation: LizR will become famous soon enough LizR will become famous soon enough 
Rep Power: 3
Solved Threads: 81
LizR LizR is offline Offline
Practically a Posting Shark

Re: Delphi dictionary [HELP!]

  #2  
Oct 11th, 2008
Theres a lot of potential answers for this, how hae you stored your words vs defintiions? which version of delphi are you using?, how much experience do you have? and what have you read about and dismissed so far (and why was it dismissed)?
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote  
Join Date: Oct 2008
Posts: 9
Reputation: cheburaska is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cheburaska cheburaska is offline Offline
Newbie Poster

Re: Delphi dictionary [HELP!]

  #3  
Oct 11th, 2008
Im using Delphi 7. I've stored words in TXT file, 1 words per line. I have enough expirience to make that dictionary and i read lots of tuts... and i didnt found anythis about this.
Reply With Quote  
Join Date: Oct 2008
Posts: 9
Reputation: cheburaska is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cheburaska cheburaska is offline Offline
Newbie Poster

Re: Delphi dictionary [HELP!]

  #4  
Oct 12th, 2008
COMEON PPL! help me!! i need it really badly!
Reply With Quote  
Join Date: Aug 2008
Posts: 872
Reputation: LizR will become famous soon enough LizR will become famous soon enough 
Rep Power: 3
Solved Threads: 81
LizR LizR is offline Offline
Practically a Posting Shark

Re: Delphi dictionary [HELP!]

  #5  
Oct 12th, 2008
You didnt entirely answer the question about how your dictionary was laid out, you said you stored words in a txt file, how? wheres the description?

A better answer by the sounds of it would have been a database. However, if you take a look at stringlist you'll see a keyd list and you could use that, assuming you read the word and description in correctly.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote  
Join Date: Oct 2008
Posts: 9
Reputation: cheburaska is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cheburaska cheburaska is offline Offline
Newbie Poster

Re: Delphi dictionary [HELP!]

  #6  
Oct 12th, 2008
Well, yeah, i seen it now. My idea now is to put words into a list by String List, and i want to do like, when you click on a word in List box, or when you type in the word in Edit box and press ENTER, it shows the explanation for that word in Memo box. And i dont know how to do that.
In my project, i used Memo box, List box and Edit box.
Reply With Quote  
Join Date: Aug 2008
Posts: 872
Reputation: LizR will become famous soon enough LizR will become famous soon enough 
Rep Power: 3
Solved Threads: 81
LizR LizR is offline Offline
Practically a Posting Shark

Re: Delphi dictionary [HELP!]

  #7  
Oct 12th, 2008
string list will do that for you if you do it right.. Hold both the word and the description..
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote  
Join Date: Oct 2008
Posts: 9
Reputation: cheburaska is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cheburaska cheburaska is offline Offline
Newbie Poster

Re: Delphi dictionary [HELP!]

  #8  
Oct 12th, 2008
Then, can u tell me how to do that?
But i think, that reading from a file is better, cuz ill be adding hundrets of words in there. So i think reading a description from a file, will be way better. But that will work 2.
Reply With Quote  
Join Date: Aug 2008
Posts: 872
Reputation: LizR will become famous soon enough LizR will become famous soon enough 
Rep Power: 3
Solved Threads: 81
LizR LizR is offline Offline
Practically a Posting Shark

Re: Delphi dictionary [HELP!]

  #9  
Oct 12th, 2008
Well. Take a look at stringlist - theres enough examples.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote  
Join Date: Oct 2008
Posts: 9
Reputation: cheburaska is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cheburaska cheburaska is offline Offline
Newbie Poster

Re: Delphi dictionary [HELP!]

  #10  
Oct 13th, 2008
I dont understand... i looked at that StringList, and i didnt see anything at all, that could helped me.
Reply With Quote  
Reply

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

DaniWeb Pascal and Delphi Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Pascal and Delphi Forum

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