Hello Roberto,
Since I started HMG, one very silly question is coming to my mind. Why you used the term "value" for "label" control, not "caption"? I guess there must be a reason for this. I think, what we called "caption" in other software tool (eg., VFP) is actually "value" of the "label" control. Am I right?
Thanks in advance.
With best regards.
Sudip
Why the term, "value", is used for "label" control?
Moderator: Rathinagiri
Why the term, "value", is used for "label" control?
With best regards,
Sudip
Sudip
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Why the term, "value", is used for "label" control?
I've took the idea of 'Value' from VFP. It signals the content for the most important property in a control, that usually comes from user interaction.sudip wrote:Hello Roberto,
Since I started HMG, one very silly question is coming to my mind. Why you used the term "value" for "label" control, not "caption"? I guess there must be a reason for this. I think, what we called "caption" in other software tool (eg., VFP) is actually "value" of the "label" control. Am I right?
Thanks in advance.
With best regards.
Sudip
In my TODO list is the creation of synonyms for 'value' property for all controls using it.
In the case of Label, could be good that the synonymous be called 'Caption' of course.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Why the term, "value", is used for "label" control?
Hello Roberto,
Thanks a lot
Thanks a lot
With best regards,
Sudip
Sudip
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Why the term, "value", is used for "label" control?
Nice discussion here.
IMHO, I like the property "value" than "caption" for label.
(I didn't use VFP and jumped from clipper to HMG)
IMHO, I like the property "value" than "caption" for label.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: Why the term, "value", is used for "label" control?
Rathi,rathinagiri wrote:Nice discussion here.
IMHO, I like the property "value" than "caption" for label.(I didn't use VFP and jumped from clipper to HMG)
My path was Clipper -> VFP -> HMG. But, I also agree with you
I haven't used VFP above 6. But, saw MS used "text" property instead of "caption" in VB.Net.
BTW, can we have default property for each control in future? In most cases it will be "value"
With best regards,
Sudip
Sudip