delphi-7

Which functions are predefined in JCL TEvaluator class

雨燕双飞 提交于 2020-01-13 11:00:11
问题 Does anyone know which predefined functions (e.g ABS function) are included in the TEvaluator JCL class for Delphi 7? 回答1: There are none of the standard functions from Math.pas included. All that is implemented in the default evaluation parser are the operators or , xor , and , not , mod , + , - , / , * , < , > , <= , >= , = , div , cmp , bor , bxor , band , bnot , shl , and shr . (As many as I found in a quick check of the source, and a few I missed based on @David's comment.) You can add

Eurekalog: save exception stacktrace into a log file

此生再无相见时 提交于 2020-01-13 10:17:27
问题 I'm using delphi 7. I need to log to a file the complete informations of any exception that occurs. Normally I use Eurekalog. This wonderful product shows a dialog with all the stack trace information and many many others for debugging purpouse. I need to access this informations Eureka log gives me (really I need just the stack trace) because I need to send them in a syslog deamon. Is there a way to access the information from the Eureka log programmatically ? I can use the bare delphi 7 or

How can I change the color of certain characters in a TRichEdit? [closed]

Deadly 提交于 2020-01-11 11:11:50
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I'm doing a Delphi 7 project where I have to let a user enter in a number (Layers going down) to build a Christmas tree, but I also need to display the output as * (stars). I am having a problem editing a certain

How can I change the color of certain characters in a TRichEdit? [closed]

…衆ロ難τιáo~ 提交于 2020-01-11 11:11:30
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I'm doing a Delphi 7 project where I have to let a user enter in a number (Layers going down) to build a Christmas tree, but I also need to display the output as * (stars). I am having a problem editing a certain

Call procedure on another form?

陌路散爱 提交于 2020-01-11 10:06:33
问题 I'm sure this has been asked before, but I couldn't seem to find it. I use the code below to display an Image from a MS Access database. However, I would like know how to do the following: -Is it possible to take the procedure below and 'call' it in another form? Scenario : Three Forms. Three Tables, One Database. I access the tables via a TADOTable component and TADOConnection. Each form has a button (btnShowImage), to show the picture from the datbase. In order for it to currently work, I

Call procedure on another form?

末鹿安然 提交于 2020-01-11 10:06:10
问题 I'm sure this has been asked before, but I couldn't seem to find it. I use the code below to display an Image from a MS Access database. However, I would like know how to do the following: -Is it possible to take the procedure below and 'call' it in another form? Scenario : Three Forms. Three Tables, One Database. I access the tables via a TADOTable component and TADOConnection. Each form has a button (btnShowImage), to show the picture from the datbase. In order for it to currently work, I

Call procedure on another form?

牧云@^-^@ 提交于 2020-01-11 10:05:45
问题 I'm sure this has been asked before, but I couldn't seem to find it. I use the code below to display an Image from a MS Access database. However, I would like know how to do the following: -Is it possible to take the procedure below and 'call' it in another form? Scenario : Three Forms. Three Tables, One Database. I access the tables via a TADOTable component and TADOConnection. Each form has a button (btnShowImage), to show the picture from the datbase. In order for it to currently work, I

How to Search a File through all the SubDirectories in Delphi

两盒软妹~` 提交于 2020-01-10 04:24:05
问题 I implemented this code but again i am not able to search through the subdirectories . procedure TFfileSearch.FileSearch(const dirName:string); begin //We write our search code here if FindFirst(dirName,faAnyFile or faDirectory,searchResult)=0 then begin try repeat ShowMessage(IntToStr(searchResult.Attr)); if (searchResult.Attr and faDirectory)=0 then //The Result is a File //begin lbSearchResult.Items.Append(searchResult.Name) else begin FileSearch(IncludeTrailingBackSlash(dirName)

Error on LoadURL with TChromium

岁酱吖の 提交于 2020-01-09 10:51:33
问题 I found the brilliant Delphi Chromium project for embedding Chrome in a Delphi form. It works well in Delphi7 after a bit of hacking and I can get the demo app running. However when I do my own app with the component, I can't load my own url. I get a access violation. Chromium2.Browser.MainFrame.LoadUrl('http://www.example.com'); The TChromium component is working and I have all the DLLs in the right place, since if I set DefaultUrl it works fine. I have Chromium2 in a TPageControl page and

Error on LoadURL with TChromium

限于喜欢 提交于 2020-01-09 10:51:31
问题 I found the brilliant Delphi Chromium project for embedding Chrome in a Delphi form. It works well in Delphi7 after a bit of hacking and I can get the demo app running. However when I do my own app with the component, I can't load my own url. I get a access violation. Chromium2.Browser.MainFrame.LoadUrl('http://www.example.com'); The TChromium component is working and I have all the DLLs in the right place, since if I set DefaultUrl it works fine. I have Chromium2 in a TPageControl page and