Imagen con la funcion de un boton

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Imagen con la funcion de un boton

Re: Imagen con la funcion de un boton

Post by garry » 06 Apr 2018, 02:08

Picture-Button start calc.exe

Code: Select all

Picture =c:\test.jpg
Gui, Add, Picture,  gImageButton, %Picture%
Gui, Show
Return

GuiClose:
ExitApp

ImageButton:
MsgBox,,, You clicked on %A_ThisLabel%, 1
run,calc
Return

Imagen con la funcion de un boton

Post by KaliiLinux » 05 Apr 2018, 13:45

Hola tengo una duda, me gustaria saber si es posible que una imagen tenga la misma funcion que un boton, lo que quiero decir es que cuando le des click a la imagen ejecute un un codigo, etc...
Porfavor pongan referencias gracias.

Top