edit-control

How do I intercept a paste event in an editbox?

元气小坏坏 提交于 2019-12-24 17:25:45
问题 How do I intercept a paste event in an editbox, possibly before the value is transferred to the object? 回答1: Look up subclassing windows. 回答2: If you subclass then intercept the WM_PASTE message you can do what you want, throw the message away to prevent the paste, manipulate the clipboard data, whatever. 回答3: Subclass the edit box and handle the WM_PASTE message. 来源: https://stackoverflow.com/questions/96271/how-do-i-intercept-a-paste-event-in-an-editbox

Strange behaviour of edit control background color when using WinXp common controls

自作多情 提交于 2019-12-13 01:14:37
问题 I am having a strange problem ( well, at least i find it strange =) ). I am writing my own GUI library, which is a wrapper around windows api (and yes, i am aware of WTL and frameworks like MFC =) ). At the current stage i have incapsulated common controls in such manner: for example, Edit class consists of a simple window and an standard edit window above it ( MainWindow -> GhostWindow -> EditBox ). That is how i can for example change a background colour of an edit inside an edit class

Is there an edit control for Delphi that allows path editing?

邮差的信 提交于 2019-11-30 05:12:51
I have various hierarchical structures and would like to allow navigation around then using an editor like the Microsoft one found in the explorer address bar below. Is there such a Delphi component? (Paid for or free)? TAdvExplorerTreeview from TMS might be what your looking for: http://www.tmssoftware.com/site/advexptree.asp Linas Haven't tried by myself but Roy Klever's PathViewer component looks quite interesting. I have spent the morning writing such a control. Actually, I wrote a very generic, completely virtual base control, from which I later derived a directory browser control: The

Is there an edit control for Delphi that allows path editing?

爷,独闯天下 提交于 2019-11-29 03:07:35
问题 I have various hierarchical structures and would like to allow navigation around then using an editor like the Microsoft one found in the explorer address bar below. Is there such a Delphi component? (Paid for or free)? 回答1: TAdvExplorerTreeview from TMS might be what your looking for: http://www.tmssoftware.com/site/advexptree.asp 回答2: Haven't tried by myself but Roy Klever's PathViewer component looks quite interesting. 回答3: I have spent the morning writing such a control. Actually, I wrote