GUI suggestions

Discuss the future of the AutoHotkey language
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: GUI suggestions

22 Jul 2014, 13:33

Very cool. Especially on the AltSubmit and LV_GetText parts. I dig it.
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: GUI suggestions

29 Jul 2014, 23:07

So where did we land on the renaming of controls and background coloring for labels?
lexikos
Posts: 9690
Joined: 30 Sep 2013, 04:07
Contact:

Re: GUI suggestions

30 Jul 2014, 01:16

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.
User avatar
Blackholyman
Posts: 1293
Joined: 29 Sep 2013, 22:57
Location: Denmark
Contact:

Re: GUI suggestions

30 Jul 2014, 02:23

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.
Also check out:
Courses on AutoHotkey

My Autohotkey Blog
:dance:
lexikos
Posts: 9690
Joined: 30 Sep 2013, 04:07
Contact:

Re: GUI suggestions

30 Jul 2014, 02:31

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.
User avatar
joedf
Posts: 9000
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: GUI suggestions

30 Jul 2014, 02:33

lexikos wrote:perhaps I'll do what I normally do in such cases: nothing.
:lol:
Image Image Image Image Image
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]
guest3456
Posts: 3469
Joined: 09 Oct 2013, 10:31

Re: GUI suggestions

30 Jul 2014, 09:55

lexikos wrote:I don't have any strong feeling either way, so perhaps I'll do what I normally do in such cases: nothing.
and this is usually the correct thing to do in those cases

User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: GUI suggestions

01 Aug 2014, 18:58

0 for 3. :(
User avatar
evilC
Posts: 4824
Joined: 27 Feb 2014, 12:30

Re: GUI suggestions

02 Aug 2014, 08:33

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.
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: GUI suggestions

04 Aug 2014, 20:33

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.
The only exception to this rule that I have found is Android. Android seems to use TextFields like AutoHotkey does. Other than that, pretty much everywhere else a label is static text and a textbox/textfield is a control to accept input.
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: GUI suggestions

04 Aug 2014, 20:39

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