How to set a flat style for TListView header In this tip I want to show how to change a style for header in TListView. For example, you may specify a flat header. You may do it so: 1. to get the header handle for the listview 2. to read the current
Can I display a node in standard TTreeView component with bold style without custom drawing?Time-to-time I receive the question how I realized a selection by the bold font for some nodes in the SMReport Explorer form.Today I have decided to describe
網站上看到很多問題,特別是有關webbrowser的,很多人都捨不得將技術回答,現將近階段整理的資料,奉獻給大家,希望對大家有所用處 procedure TForm1.CheckFontState(Doc: IHTMLDocument2); var FontName: variant; FontSize: variant; begin if Doc = nil then Exit; CBFontName.Visible :=
ItemID - Finding NodesA common problem encountered when using TreeViews is finding a node.... Say you want to keep a list of the last few nodes the user clicked, how would you do that? Actually its relatively simple. Each node is uniquely identified
delphi中Webbrowser問題收集獲得網頁中變數值 htm中<script> var currID=123</script> 程式中可以這麼調用 id := Form1.WebBrowser1.OleObject.Document.script.currID 值得說明的是,變數可以是javascript定義的,也可以是vbscript定義的,如果Webbrowser1中找不到該變數,調用會觸發一個例外狀況事件,即變數currID不存在2.
Invoke Hidden Commands in the TWebBrowser// The following codes demonstrates an innovative way to invoke hidden// commands to show modal dialogs such as "Add To Favorite" dialog,// "Import/Export Wizard" dialog in your WebBrowser-based
By Zarko Gajic, The TListView Delphi control displays and manages a list of items, displayed in columns, vertically or horizontally, with small or large icons. Windows XP, and later versions, support grouping items in a list view. With the grouping
To change a font for TListView header Today I want to show how to use the API calls and change a font for ListView header without any extended programming and custom drawing. For example, you have the ListView1 instance and want to set a bold font
save all TWebbrowser Frame Sources? Author: Thomas Stutz [ Print tip ] Tip Rating (5): // Code 1uses ActiveX, MSHTML_TLB, ComCtrls, ComObj;function GetBrowserForFrame(Doc: IHTMLDocument2; nFrame: Integer): IWebBrowser2; //Thanks to
making mdi child forms MODAL --------------------------------------------------------------------------------You can not show a MDIChild form as modal. their formStyle should be setto fsNormalI have solved this problem in the following way.I have (I
Avoid New MDI Child Resizing Animation (and Delay) in Delphi MDI ApplicationsLock (Prevent) Window Updating When Creating New MDI Child FormsBy Zarko Gajic If you are creating MDI applications using Delphi, you must have noticed some "quirks" or
The magic of method pointers Date added/modified: 11 Nov 1999 You may not realize it but this is a concept at the core of Delphi technology and makes it truly amazing. You use it all the time without knowing about it. It might be interesting to see
Adding additional data members to forms Suppose you want to add a new data member to a form. You want to initialize it in the constructor. What you will add is a constructor with your own name and the extra parameter:constructor