GUI suggestions
Re: GUI suggestions
Very cool. Especially on the AltSubmit and LV_GetText parts. I dig it.
Re: GUI suggestions
So where did we land on the renaming of controls and background coloring for labels?
Re: GUI suggestions
I'll probably rename Text to Label. I don't plan to implement background colouring for labels.
For the moment I think I'll wait to see how fincs Gui API turns out.
For the moment I think I'll wait to see how fincs Gui API turns out.
- Blackholyman
- Posts: 1293
- Joined: 29 Sep 2013, 22:57
- Location: Denmark
- Contact:
Re: GUI suggestions
I don't really think label is preferable over Text.
But that may just be because I have no real insight in to how other languages do it, also my native language is not english so that may also be part of it, to me label just don't fit what it does, where as text tells me that I am adding text to the gui, label on the other hand seems like a controls attribute and not the control it self...
Sorry if that does not make any sense but that just how i see it.
But that may just be because I have no real insight in to how other languages do it, also my native language is not english so that may also be part of it, to me label just don't fit what it does, where as text tells me that I am adding text to the gui, label on the other hand seems like a controls attribute and not the control it self...
Sorry if that does not make any sense but that just how i see it.
Courses on AutoHotkey
My Autohotkey Blog
Re: GUI suggestions
Labels are usually used to provide information. Labels on bottles might tell you what they contain. Labels on food might tell you their nutritional value. Labels on a GUI provide other information.
In most GUI systems, a label is attached to (placed nearby) some other control, providing information about it (such as what the field is called, or what to enter in the field).
I don't have any strong feeling either way, so perhaps I'll do what I normally do in such cases: nothing.
In most GUI systems, a label is attached to (placed nearby) some other control, providing information about it (such as what the field is called, or what to enter in the field).
I don't have any strong feeling either way, so perhaps I'll do what I normally do in such cases: nothing.
Re: GUI suggestions
lexikos wrote:perhaps I'll do what I normally do in such cases: nothing.
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: GUI suggestions
and this is usually the correct thing to do in those caseslexikos wrote:I don't have any strong feeling either way, so perhaps I'll do what I normally do in such cases: nothing.
Re: GUI suggestions
0 for 3.
Re: GUI suggestions
Fincs has indeed changed text to label in his release binaries.
IMHO, I think Text is probably more descriptive - sometimes it is not really a "label" - in my mind, a label is for exactly one object, however not all text in a gui pertains to exatly one item - it may pertain to zero other items (eg some Instructions text) or more than one item (eg if you have 2 text boxes X and Y : "You have used " X " of " Y " widgets").
But whatever, it is a minor issue and V2 is meant to break compatibility (A Good Thing IMHO) so its no skin off my nose.
IMHO, I think Text is probably more descriptive - sometimes it is not really a "label" - in my mind, a label is for exactly one object, however not all text in a gui pertains to exatly one item - it may pertain to zero other items (eg some Instructions text) or more than one item (eg if you have 2 text boxes X and Y : "You have used " X " of " Y " widgets").
But whatever, it is a minor issue and V2 is meant to break compatibility (A Good Thing IMHO) so its no skin off my nose.
Re: GUI suggestions
I hear what everyone is saying about their interpritation on Label vs Text, but I was just trying to see if we could make v2 (and ahk in general) a little more like other languages. Here's just a few examples I can provide.
- .NET http://msdn.microsoft.com/en-us/library ... .110).aspx
GWT http://www.gwtproject.org/javadoc/lates ... Label.html
Java http://docs.oracle.com/javase/7/docs/ap ... Label.html
iOS https://developer.apple.com/library/iOs ... Label.html
Python (pyjamas) http://pyjd.org/api/pyjamas.ui.Label-class.html
- .NET http://msdn.microsoft.com/en-us/library ... .110).aspx
GWT http://www.gwtproject.org/javadoc/lates ... xtBox.html
Java http://docs.oracle.com/javase/tutorial/ ... field.html
iOS https://developer.apple.com/library/ios ... Field.html
Android http://developer.android.com/guide/topi ... /text.html
Python (pyjamas) http://pyjd.org/api/pyjamas.ui.TextBox-class.html
Re: GUI suggestions
Cool news on the change by the way. Glad to hear it.
Return to “AutoHotkey Development”
Who is online
Users browsing this forum: No registered users and 27 guests