Thread 25 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Gaining and losing focus on TSpeedButtonSpeedbuttons do not have focus by design. If you want to have a button which can hold focus, you need to use either a TButton or a TBitBtn., , As a rule, only use a SpeedButton where you want the user to click on it with the mouse. |
 2 Hits |  Pascal and Delphi Coding |
|
Thread 24 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: dynamic buttons on the formI assume you mean that you are trying to place a second button on the same form, i.e. over the top of the first button., , If this is the case, there is a BringToFront function for visual components, but I would be tempted to just change the caption of the button depending on what the user has selected. You could then use the buttons caption in the same way as a variable. So, in the buttons OnClick event you could have something like, , if Button1.Caption = 'Button1' then, begin, Do the button1 procedure, end;, if Button1.Caption = 'Button2' then, begin, Do whatever the button2 procedure was meant to do, end; |
 2 Hits |  Pascal and Delphi Coding |
|
|
|
Thread 21 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Two TMainMenu on the main form .. is it possibOkay,, , First off, the Toolbar itself has a property in the Object Inspector entitled ShowCaptions. Set this to True to be able to see the captions on the buttons., , Secondly, set an Onclick action to the button and in there enter the code to manually execute the popupmenu., , PopupMenu1.Popup(X,Y);, , X is the Horizontal axis (integer) and Y is the vertical value. You should be able to work out these values based on the buttons position on the form., , HTH |
 2 Hits |  Pascal and Delphi Coding |
|
|
Thread 19 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Professional Resume ServiceOne moderator hanging head in shame.  , , I would have chimed in but I havent written a CV in over four years and I think if I did it would be lost in translation somewhere over the atlantic. |
 2 Hits |  PrestwoodBoards |
|
Thread 18 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Chris S joining up .......Yup, theres a small contingent of us based in the UK. |
 2 Hits |  PrestwoodBoards |
|
Thread 17 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Where do I startHaving read through a few of his books, I can confidently recommend anything by Marco Cantu. The man certainly knows his stuff and his books are full of "how to" examples. In fact many of his books come with a companion CD. Try to link up the version of Delphi you are using to his corresponding book and you should be upto speed in no time. |
 2 Hits |  Pascal and Delphi Coding |
|
Thread 16 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 snowsurfer | Where do I startI am interested in learing Delphi 6. I have no prior experience with programming. DOes any one have any ideas of where to start  Angel | Having read through a few of his books, I can confidently recommend anything by Marco Cantu. The man certainly knows his stuff and his books are full of "how to" examples. In fact many of his books come with a companion CD. Try to link up the version of Delphi you are using to his corresponding book and you should be upto speed in no time. |
|
 3033 Hits |  Pascal and Delphi Coding |
|
Thread 15 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: My Hawaii Hair CutAt this point I was going to point and laugh and then trigger some on running joke like the beardy one from oh so long ago, but then I remembered you can see my pic too and those in glass houses..., , I'll just sit here and dream of being able to take the time off to go to Hawaii instead!  |
 2 Hits |  PrestwoodBoards |
|
Thread 14 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Delphi/paradox multi-user appSounds like the BDE setup to me. Check out the BDE administrator in your control panel. Under the configuration tab, check out the drivers/native settings. In here, the Net Dir path needs to be pointing to the same folder on the server on each workstation. If this is not set sorrectly, you will indeed receive .Net warnings as several files will all be trying to manage access to the same database., , Ideally, you should create a new folder on the server specifically for housing the paradox .Net file. This folder should be seperate from your actual database and should be the path to which all workstations Net Dir points to., , Hope this helps you out. |
 2 Hits |  Pascal and Delphi Coding |
|
|
Thread 12 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: INI file problemAll an inifile does is store whatever information your program tells it to. Since your program is saving to the inifile correctly, I would assume that reading the inifile is also correct. I would guess then, that there is an error/ommission in either the code you use to call the two procedures, or within the procedures themselves., , If you post a snippet of the relevant code here, I am sure one of us will spot whats going wrong. |
 2 Hits |  Pascal and Delphi Coding |
|
Thread 11 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Feedback wanted on new lookIn fact it was my browser so you can disredard that comment!  |
 2 Hits |  PrestwoodBoards |
|
|
Thread 9 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Wow, it's a new question!Some questions..., , 1). Is this an application to be used by somebody who is computer literate?, 2). How many screens are there which require user input?, 3). Is this all the user requires the system to do, or is it to calculate wage structures, holiday allowances and so on..., , If you dont already have it, download the rmcontrols package for Delphi (http://www.torry.net/packslite.htm - Its free). It contains some great visual components, one of which is the rmOutlookButtonList. You can place one of these on the left hand side of your screen and use it to navigate all of your programs main screens. For each screen, use a panel and set its visibility and enabled properties as required., , The only problems is that if your program needs a lot of visual components, they will all be on one form which is not really a good thing but we do need to be talking about a lot of components! |
 2 Hits |  Pascal and Delphi Coding |
|
Thread 8 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: One for the technocratsWell, if you buy a house for only 17 cents...  |
 2 Hits |  PrestwoodBoards |
|
Thread 7 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 rt | One for the technocratsA hardware problem with a difference  , , Having just returned back from some time spent in foreign climes I was more than just a little surprised to find that in our absence two computers [i]had turned themselves on[/i] and one was running happily whilst the other had cooked it's cpu etc  , , Now, the house had been occupied whilst we were away but, being such a trusting soul, the computers in question were in a locked room along with family jewels and other bric-a-brac. The remaining operational computer was the only one connected (by DSL) to the net and there had been no thunderstorms during our holiday. Other things like video time clocks were functioning normally. , , Any ideas as to the cause   Angel | Well, if you buy a house for only 17 cents...  |
|
 2987 Hits |  PrestwoodBoards |
|
|
Thread 5 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Tips{Too Long!} |
 3736 Hits |  Pascal and Delphi Coding |
|
Thread 4 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Problem with TMenuItemThe simplest way to determine which menu item has been clicked is to use the sender command in your universal procedure., procedure TForm1.QuestShow(Sender: TObject);, var, MyString : String;, begin, MyString := TMenuItem(Sender).Caption;, , end;You now have the name of the menu item in the string which looking at your code, corresponds to the data you want to load into the memo., , Hope this helps you out! |
 2 Hits |  Pascal and Delphi Coding |
|
Thread 3 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: Forum : EncryptionI have only needed to encrypt sensitive data once before. It was a list of credit card numbers and expiration dates etc..., , I cant remember the specifics, but I incremented the characters ascii values by a set number and then saved the new data to the tables. Depending on which number was being incremented, depended on how many places it was incremented. When viewing, I simply reversed the procedure.  , , I have to do something similar again in the very near future so I would also be interested to hear others solutions to this. :) |
 2 Hits |  Pascal and Delphi Coding |
|
Thread 2 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 MGNew@VB | I need HELP ... PLEASE!!!!Hi, my name is Mary and I need some assistance with my VB college class project. This is a new arena for me and I am having some difficulty. , , When I am in the classroom I can get through the projects because I have helpe from the professor or another student but I am on my own right now and cannot get this program to run. , , I want to learn what it is that I need to do, but something is just not clicking for me with this class. I am beginning to think that at my age I am just not going to get it., , I have a calendar project and I am having trouble getting through the code to get it to work., , If someone could lok at my projuect and tell me what I am doing wrong I surely would appreciate it.  , , Please let me know ... thanks for listening.  Angel | Mary, , You would get a better response to this query if you asked in the VB forum. Common mistake lots of people make, but many users only surf the forum that relates to their field of expertice. :) |
|
 2496 Hits |  Visual Basic Classic |
|
Thread 1 of 25 |
Thread Starter or a Reply (but not last) | | | Group |
 Angel | Re: I need HELP ... PLEASE!!!!Mary, , You would get a better response to this query if you asked in the VB forum. Common mistake lots of people make, but many users only surf the forum that relates to their field of expertice. :) |
 2 Hits |  Visual Basic Classic |
|