Langsung ke konten utama

Postingan

About Delphi: The Width Of The Drop Down List For TComboBox

Sizing TComboBox Drop Down List Width - No Cut Off When a combo box is in dropped down state Windows draws a list box type of control to display combo box items for selection. When the length (of a string) of items exceeds the width of the combo box, the items are displayed as cut-off! Change the Default Application Icon for a Console Mode Delph For a normal GUI application you can change the application icon using Project - Options - Application - Application Settings - Icon. For console mode applications this section is disabled - and thus all console mode application have a default icon. Set Of String ...

About Delphi: Set Of String: implemented!

Set Of String in Delphi? Union, Intersection and Difference! A set is a collection of ordinal values. The values in a set have no order and it makes no sense to have a value twice (or more times) in a set. Since strings are not ordinal types you cannot have set of string declarations. Or, can you? Implementing StartsText With SubText As Pattern - When Pattern Is A Regular Expression! in regex :: For a relative file path like "abcdeffile.txt" I need to check if the file is located in the "abcdef" folder (or in any of its sub folders).... Read more Use TFile Delphi Record To Encrypt or D...

About Delphi: StartsText Regular Expression Patterned

Implementing StartsText With SubText As Pattern For a relative file path like "\abc\def\file.txt" I need to check if the file is located in the "\abc\def" folder (or in any of its sub folders). Let's call this "\abc\def" a predefined path. Note that I am not interested in the drive nor the path complexity before "\abc\def". Use TFile Delphi Record To Encrypt or Decrypt A File in Files and Folders ::A member of the Delphi Programming Forum in a post titled "RTF File encryption" is asking for some help in encrypting RTF documents. Starting with Delphi 2010,... Read more ...

Mungkinkah Ini Terjadi?

Dear Delphier Indonesia. Mungkin nggak kita bisa melakukan kegiatan rutin seperti di uandangan di bawah ini? Upcoming Sydney meeting Wednesday, 20th  July 2011 :  Join us for the  10th anniversary  ADUG meeting in  Sydney (yep, we started in July 2001 see also  here ): A Practical Overview of Delphi's Generic Collection Classes - Malcolm Groves Delphi introduced  Generics  a few versions back, along with a whole bunch of very useful generic collection classes. However, for some people all those angle brackets and T's still look like their keyboard threw up in their code editor. In this session Malcolm will attempt to give a gentle, practical overview of the various generic collections such as TList<T>, TDictionary<T>, TQueue<T> and others, along with topics such as searching, sorting, comparators and enumerators.  Code Crunch - Delphi Community Bring your Delphi project along to the meeting and let us hl...

Akhirnya Jakarta Didatangi Juga

Kabar gembira buat delphier Indonesia. RAD STUDIO WORLD TOUR akhirnya menyambangi jakarta. BY  MALCOLM , ON 1 DAY AGO , UNDER  DEVELOPMENT ,  EVENTS I promised to post more details of these upcoming events when I could. Well, now I can. Current cities: Auckland  (04 August 2011) Australia  (Sydney/Melbourne, 11-12 August 2011) Seoul  (12 August 2011) Taiwan  (4 cities, 16-19 August 2011) Mumbai  (17 August 2011) Bangalore  (18 August 2011) Jakarta  (9 September 2011) …and here’s the very high-level description: Whether you are building new applications, or migrating existing systems, this workshop will help you decide where to invest your team’s time and effort to make the most positive impact on your business, today and into the future. You will hear about: Application frameworks Delphi  64-bit The future of database access DataSnap and Cloud Mobile development Before you ask, yes, there will be more cities and co...

Why startups don't use .net

Why startups don't use .net Posted: 30 Mar 2011 12:58 AM PDT There have been several articles over the last couple of weeks about the usefulness of .net for startups. I will mention three: * Did the Microsoft stack kill MySpace? * Why we don't hire .net programmers * Why Microsoft could kill your startup career Even though our company is now several years ... QC #2746: How high is your TButton? 23? Posted: 29 Mar 2011 10:58 AM PDT In standard Windows applications the default button height is 23 pixels. To get that information you could try to measure buttons in other applications, but you will very likely fail to get the exact size, because some controls do have invisible borders. Thatswhy you better check the "Windows ... Delphi Labs: DataSnap - Passing "Plain Old Delphi Objects" Parameters Posted: 29 Mar 2011 07:08 AM PDT One of the cool new features in introduced in Delphi XE is a possibility to use TObject-descendant as...

Cara Efektif Menambahkan Komentar Pada Source Code

Dear Delphiers, pada artikel ini saya akan mencoba membahas bagaimana cara membuat komentar yang efektif pada source code aplikasi yang kita bangun. Saya sendiri merasa source code tanpa komentar bagaikan sayur tanpa garam. Ga sedap gitu lho ... : ). Tapi kalau kebanyakan komentar juga tidak bagus juga. Source code jadi kotor, semrawut, dan sulit dibaca. Ibarat sayur kebanyakan garam, ASIN !! Di delphi, ada beberapa cara untuk membuat komentar. Yang pertama dengan menggunakan operator "//". Tanda ini akan menjadikan baris di sebelah kanannya tidak akan dieksekusi oleh compiler . Cara ini sangat cocok untuk menambahkan satu atau dua baris komentar saja. Cara kedua dengan mengapit komentar dengan kurung kurawal "{}" . Karakter yang berada diantara tanda "{}" tidak akan dieksekusi oleh compiler. Cara ini sangat efektif untuk menambahkan komentar yang cukup panjang. Dalam menambahkan komentar, menurut saya, ada beberapa hal yang perlu diperhatikan ...