button including an image

Propose new features and changes
Asmodeus
Posts: 57
Joined: 19 Oct 2015, 15:53

button including an image

10 Oct 2018, 15:06

I think adding an an image to a button is often helpful.
any plans for adding this feature?
User avatar
TheDewd
Posts: 1510
Joined: 19 Dec 2013, 11:16
Location: USA

Re: button including an image

10 Oct 2018, 15:23

There are existing user-created functions available to do this. See https://autohotkey.com/boards/viewtopic ... 390#p11390

I agree that it would be great to have this feature available, however Lexikos doesn't care to be bothered with requests that can be easily solved using additional functions.

Use Google to search the forums. You'll usually find answers to many of your requests.
Asmodeus
Posts: 57
Joined: 19 Oct 2015, 15:53

Re: button including an image

10 Oct 2018, 17:32

I was thinking about having this feature natively build in, without work-arounds, external functions, dependencies, etc. something working right out of the box.

This is the "Wish List" section, where else do think I should post my enhancement request?
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: button including an image

10 Oct 2018, 23:48

You could code it yourself and make a PR on GitHub.
Recommends AHK Studio
n00b
Posts: 29
Joined: 24 May 2016, 16:42

Re: button including an image

23 Oct 2018, 09:13

is this what you're looking for?
Kilo_SSK
Posts: 6
Joined: 30 Oct 2018, 03:31

Re: button including an image

31 Oct 2018, 10:13

Yeah, I've already found something like this to download from another user, but it would definitely be great if it was officially endorsed. I mean, today, which program doesn't have small icons like that in order to highlight their text? Hell, some even get rid of the TEXT before getting rid of the image.
garry
Posts: 3758
Joined: 22 Dec 2013, 12:50

Re: button including an image

10 Dec 2018, 17:48

use picture as button

Code: Select all

F1=C:\test.jpg
Gui Add, Picture, gA1 w100 h-1 +0x4000000,%f1%
Gui, Show,, My GUI
return

A1:
Gui,1:submit,nohide
msgbox,Clicked %f1%
; do something
return

guiclose:
exitapp

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 22 guests