Showing posts with label Sample Code. Show all posts
Showing posts with label Sample Code. Show all posts

7.30.2014 OOP Example: Artificial Persons that Respond!

Today we create bionic, robotic, futuristic human beings! That can even respond to your question! A virtual TPerson to be precise!

7.22.2014 What are Classes and What They Can Do for You

Learn one of the most powerful features of any language. We will be talking about things that come alive! Plus, learn how to build a robot with the keystrokes!

3.24.2014 How to compress an Image to JPG (w/o preview)

Today we'll make a JPEG compressor. Sounds exciting, doesn't it? It can convert and compress from any other image formats too!

3.03.2014 How to Open a Folder in Windows Explorer

We often need to open a directory/folder in a File Manager to show its contents. Today we learn how to run Windows Explorer to automatically show the content of a directory of our choice.

2.21.2014 How to make your form Fullscreen & Restore

Lazarus Fullscreen Form project source code + article
Fullscreen is a common option in many of the popular programs we use. Today we learn the simple trick of making our program fullscreen.

2.20.2014 How to Show / Hide the Windows Taskbar with Lazarus

If you want to build some uncommon software which needs hiding the taskbar then check out this article.

1.12.2014 How to make your form Always on Top

We learn how to make our forms stay Always on Top so that it always stays shown on screen. It is good for projects where live information is shown or sometimes just for fun!

12.13.2013 How to list all the Fonts easily

font
Fonts are a very attractive customization option. It is essential in text editing programs. Changing the font by code is easy, but listing them? Today we'll see how to list all the fonts in a TListBox.

6.11.2013 How to create a Basic Paint Software in Lazarus

Today, in our special post, we see how to create a basic paint software in Lazarus with some basic drawing tools and Open, Save, Resize options. A must see for Lazarians!

6.03.2013 Create a Simple File Browser in 2 Minutes!

File folder icon
File browsers are very useful in our everyday lives. What if you can create a file browser in 2 Minutes? ...without writing code? Yes! That's how we do it in Lazarus.

5.31.2013 Highlight a part or all of Text in TEdit

Select text article thumb
Sometimes highlighting or selecting some part, not all, becomes necessary. We look into the method of how we can do it.

5.24.2013 How to get the files/folders inside a ZIP file

Ever wanted to make your own Zip Viewer? In this article we look at a simple code for listing the files/folders inside a ZIP file, without any third party libraries.

5.23.2013 How to Generate Random Number (with/without a range)

Random numbers
Do you know what face of dice is going to come up before throwing? That's what random means. We learn how to create a program that shows a random number each time you click a button.

5.15.2013 How to use Text and Background Color in FPC

Using colors in Free Pascal console apps
Console applications are not of entertaining type. They have that whitish dull color in a black background. But who says you cannot change it! Here is a tip to change the text color of console programs.

5.11.2013 Create a Form Fade in Effect

Forms are a bit boring sometimes, right? Spice it a little bit with a Fade In animation effect on startup. That boring square area of form will amuse the users a bit more.

5.09.2013 Calculate Average of Unlimited Numbers


We have seen a lot of average calculation programs. They have limit to their numbers of input. So we have a code that will let you enter number to your heart's content.

5.07.2013 How to Add, Delete, Clear Items of a ListBox

Learn how to manipulate a list
Learn how to code a program to list different things. Make your own lists with your own program! Utilize this article to list many things that you have never listed before!

5.05.2013 Image Copy Paste: Storing an Image in Clipboard & Retrieving it

In paint programs, we see a function to copy an image to clipboard and paste it from there. Paste an image from anywhere, Photoshop, Firefox in your own program! Here's how...

5.04.2013 A Simple Image Viewer from Start to Finish


Today we are going to make a simple image viewer. It will have a lot of functionality but with only 5 lines of code!

5.02.2013 How to Cut Copy Paste Text with code

Word processors and even browsers have cut, copy, paste functions. You have used them many times in your life. But now make yours!
 
Copyright 2013 LazPlanet
Carbon 12 Blogger template by Blogger Bits. Supported by Bloggermint