LazPlanet

Lazarus and Free Pascal blog

Home Start Here! FAQ Resources Archives Contact
2013-04-19
Code Snippets►Text Operation

Simple Text Search 2 (with "search next")

Another example of simple text search which implements a Search Next button, which continuously searches for the given text. Its very easy. Heres how…

Read More

Share
  • Explanation
  • Next
  • Sample Code
  • Search
2013-04-16
Code Snippets►Text Operation

Simple text search

Searching is one of the tasks of programing that reduces so much of our work and hardship. Today we see a very simple string search sample code…

Read More

Share
  • Sample Code
  • Tutorials
2013-04-14

"Shuvo Noboborsho" and here is a new mascot

Today is 14 April 2013, the first day of Bangla calendar. And in this auspicious day, an idea for a cartoon figure, as a mascot for LazPlanet has come to my mind. Here is the first image of him…

Read More

Share
  • News
2013-04-14
Code Snippets►Text Operation

How to Capitalize Text

We write the words in the middle of the sentence in lowercase letters. Capitalizing is sometimes necessary to emphasize things. Any text (or string) can be converted to uppercase (capitalize). Here’s how…

Read More

Share
  • Sample Code
  • Tutorials
2013-04-12
Code Snippets►Form Controls

Make your forms transparent!

Forms are boring solid objects. But you can make it fun in many ways. One of them is transparency. Here’s how…

Read More

Share
  • Sample Code
  • Tutorials
2013-04-09
Code Snippets►System API

Get all running windows' titles

With this simple little code you can list the windows/software that are running. You can identify if some specific software is running or do some magic tricks with Windows API. It is up to you…

Read More

Share
  • Sample Code
  • Tutorials
2013-04-07
Form Controls►Screen Graphics►System API

How to get your mouse cursor position (+Bonus: set position also!!)

Find out if your user is pointing to left or right, top or down of the screen. If you are keen for a shock, then yes! You can also position the cursor wherever you want! Without having the user moving their mouse! Here’s how

Read More

Share
  • Hardware
2013-04-06
Math Dates►Text Operation

Convert a number to Roman

Roman characters look very formal. I, II, III, IV … BBC uses Roman for their copyright statement (e.g. BBC (c) MMVI). And it looks exceptional. What is your birth year in Roman? Let your program find that for you! Here’s how:

Read More

Share
  • Sample Code
  • Tutorials
2013-04-04
Text Operation

Count how many words are in a string

Suppose you have found a huge paragraph. How many words are in that paragraph? Do you want to count yourself? No. We can let our program count the words! Here’s how…

Read More

Share
  • Tutorials
2013-04-03
Form Controls

Clone your form into many !!!

This is a fun code example to try. When you open up a new Application project, you get a form. To have fun, we can create hundreds of “copies” of this form! On runtime. Here’s how…

Read More

Share
  • Sample Code
  • Tutorials
« Prev1…89101112Next »

Categories

  • Algorithms
  • Artificial Intelligence
  • Audio Video
  • Code Snippets
  • Console
  • Databases
  • Files Directories
  • Form Controls
  • Games
  • Guides
  • HTML Web
  • Hardware
  • List Iteration
  • Math Dates
  • Misc
  • Screen Graphics
  • System API
  • Text Operation
  • Tutorials

Tags

  • 2D Game
  • 2D Graphics
  • 3D Graphics
  • Algorithms
  • Array
  • Articles
  • Balloon
  • Celsius
  • Code Snippets
  • Compiler
  • Console
  • Data
  • E-book
  • Explanation
  • FPC
  • Fahrenheit
  • Form Controls
  • Free Pascal
  • GeckoPort
  • GetTickCount
  • Graphics
  • Hardware
  • IDE
  • Interface
  • Introduction
  • JSON
  • Lazarus
  • Linux
  • Metro
  • Multidimensional
  • News
  • Next
  • OOP
  • Project
  • QR
  • REST API
  • Raring
  • Reviews
  • SAPI
  • Sample Code
  • Screen Graphics
  • Search
  • ShellExecute
  • Software
  • Spotlight
  • System API
  • TRichMemo
  • TTS
  • Tennis
  • Text
  • Text Operation
  • Tutorials
  • Ubuntu
  • Windows
  • Windows 8
  • Windows API
  • Windows Only
  • add
  • airbrush
  • alarm
  • always on top
  • analog
  • angle
  • animation
  • arc
  • area
  • average
  • basic
  • beginners
  • browser
  • brush
  • building
  • calculate
  • canvas
  • change
  • clear
  • clipboard
  • clock
  • code
  • compiling
  • components
  • compression
  • connection
  • convert
  • converter
  • copy
  • create
  • crop
  • cross
  • custom
  • data storage
  • delete
  • desktop
  • dictionary
  • digital
  • docking
  • download
  • drag and drop
  • draw
  • effect
  • events
  • explorer
  • facebook
  • feature
  • features
  • file
  • folder
  • fonts
  • forms
  • formula
  • fullscreen
  • generate
  • guide
  • help
  • hide
  • hint
  • hooks
  • hover
  • i18n
  • icon
  • image
  • input
  • install
  • internet
  • jpeg
  • jpg
  • languages
  • latest
  • lazarus
  • line
  • list
  • localization
  • lpi
  • lpk
  • lpr
  • lua
  • manager
  • manipulation
  • mask
  • media
  • menu
  • minimum
  • modal
  • mouse
  • move
  • multilanguage
  • multilingual
  • multimedia
  • multiple
  • new
  • numbers
  • objects
  • online
  • open
  • openbsd
  • options
  • owner
  • paint
  • parse
  • pas
  • paste
  • pencil
  • photo
  • plain text
  • player
  • png
  • popup
  • processing
  • processor
  • program
  • random
  • rectangle
  • reference
  • region
  • release
  • request
  • resource
  • response
  • restore
  • rich
  • right click
  • running
  • runtime
  • scroll
  • select
  • shape
  • shortcuts
  • show
  • sidebar
  • single window
  • social
  • status
  • structure
  • system tray
  • system wide
  • tab delimited
  • tabs
  • taskbar
  • temperature
  • text editor
  • time
  • tips
  • title bar
  • toggle
  • tooltip
  • translation
  • transparent
  • unit
  • units
  • use
  • utility
  • version
  • video
  • virtual
  • vlc
  • wallpaper
  • weather
  • website
  • wheel
  • window
  • wininet
  • word
  • zip
  • zoom

Tag Cloud

2D Game 2D Graphics 3D Graphics Algorithms Array Articles Balloon Celsius Code Snippets Compiler Console Data E-book Explanation FPC Fahrenheit Form Controls Free Pascal GeckoPort GetTickCount Graphics Hardware IDE Interface Introduction JSON Lazarus Linux Metro Multidimensional News Next OOP Project QR REST API Raring Reviews SAPI Sample Code Screen Graphics Search ShellExecute Software Spotlight System API TRichMemo TTS Tennis Text Text Operation Tutorials Ubuntu Windows Windows 8 Windows API Windows Only add airbrush alarm always on top analog angle animation arc area average basic beginners browser brush building calculate canvas change clear clipboard clock code compiling components compression connection convert converter copy create crop cross custom data storage delete desktop dictionary digital docking download drag and drop draw effect events explorer facebook feature features file folder fonts forms formula fullscreen generate guide help hide hint hooks hover i18n icon image input install internet jpeg jpg languages latest lazarus line list localization lpi lpk lpr lua manager manipulation mask media menu minimum modal mouse move multilanguage multilingual multimedia multiple new numbers objects online open openbsd options owner paint parse pas paste pencil photo plain text player png popup processing processor program random rectangle reference region release request resource response restore rich right click running runtime scroll select shape shortcuts show sidebar single window social status structure system tray system wide tab delimited tabs taskbar temperature text editor time tips title bar toggle tooltip translation transparent unit units use utility version video virtual vlc wallpaper weather website wheel window wininet word zip zoom

Archives

  • March 2022
  • January 2022
  • December 2021
  • May 2020
  • April 2020
  • March 2019
  • February 2019
  • December 2018
  • May 2018
  • January 2018
  • December 2017
  • May 2017
  • June 2016
  • April 2016
  • September 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • January 2015
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013

Recent Posts

  • How to install Lazarus on OpenBSD
  • Lazarus 2.2.0 Released - with Fixes Under the Hood
  • How to Generate QR Codes in Lazarus
  • How to Make a Simple Alarm Clock with Lazarus
  • How to Cross Compile on Lazarus
© 2022 LazPlanet
Fork this blog
Home Start Here! FAQ Resources Archives Contact