Delphi

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

Automating VideoLan's VLC using Delphi

若如初见. 提交于 2020-01-11 11:03:30
问题 I've generated a type-library import unit from v.2.2.1 of VideoLan's VLC player and embedded the resulting plug-in component in a simple Delphi (D7 and XE8) form. Code extract is below. The basic functionality of the component is fine - I can play a (local) .MP4 file, stop it, speed it up and down, etc without any problem. However, there is one basic function which is not working, namely volume control. The plug-in displays a v. simple (compared with the one in VLC running as an app) toobar

How can I make a TList property from my custom control streamable?

情到浓时终转凉″ 提交于 2020-01-11 10:27:34
问题 Overview I am writing my own listbox control derived from TCustomListBox . I have also began implementing my own property editor to allowing editing the caption and imageindex of items at designtime (I am custom drawing the listbox and have published my own ImageList property from my control). Problem So far everything is working well, however I cannot get the items to stream to the dfm. I believe this could be due to the fact that the standard listbox Items property is of TStrings , and from

How do you fix “Could not load unit UnitName symbol information for TClassName. Do you want to try to find this file yourself?”

夙愿已清 提交于 2020-01-11 10:13:10
问题 In delphi, creating ActiveX controls was something that was once more popular than it is now. However it remains possible to create ActiveX controls with Delphi. This question assumes Delphi 2007, but it should be the same no matter what Delphi version you use. There are some strange errors in Delphi when you create ActiveX controls. IN my case, I can now no longer import a certain class that I am trying to import and wrap, and Delphi won't tell me why any more, just that it could not load

How do you fix “Could not load unit UnitName symbol information for TClassName. Do you want to try to find this file yourself?”

时间秒杀一切 提交于 2020-01-11 10:12:24
问题 In delphi, creating ActiveX controls was something that was once more popular than it is now. However it remains possible to create ActiveX controls with Delphi. This question assumes Delphi 2007, but it should be the same no matter what Delphi version you use. There are some strange errors in Delphi when you create ActiveX controls. IN my case, I can now no longer import a certain class that I am trying to import and wrap, and Delphi won't tell me why any more, just that it could not load

How do you fix “Could not load unit UnitName symbol information for TClassName. Do you want to try to find this file yourself?”

[亡魂溺海] 提交于 2020-01-11 10:11:53
问题 In delphi, creating ActiveX controls was something that was once more popular than it is now. However it remains possible to create ActiveX controls with Delphi. This question assumes Delphi 2007, but it should be the same no matter what Delphi version you use. There are some strange errors in Delphi when you create ActiveX controls. IN my case, I can now no longer import a certain class that I am trying to import and wrap, and Delphi won't tell me why any more, just that it could not load

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