Solved

Component Properties default

Posted on 2001-08-06
2
136 Views
Last Modified: 2010-04-06
I have a boolean property which I want to be true when I place the component on a form. I could assing true to the property in the constructor, but if I then at designtime make the property false, the property is made true when I run the app.
0
Comment
Question by:sorentop
2 Comments
 
LVL 3

Accepted Solution

by:
nnbbb09 earned 50 total points
Comment Utility
If the property is published then the Delphi streaming mechanism will ensure that the correct value is set based on the properties you specify in the Object Inspector.
0
 

Author Comment

by:sorentop
Comment Utility
Hmm yearh you're right.
I tried to follow what happends in the constuctor and it temporary gets a true value, just as you said :)
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now