IT_Tuga
(IT Tuga)
April 8, 2016, 8:14pm
1
Hi there i would like to ask a question to this person
please if you read my message Sir reply to me
robin lauryssen mitchell
this its my email address IT.Tuga@live.com
please reply back i need to ask one question how did you add action on labels
as you said i can do it by my own
could you teach me how to do it
thanks
Action events on buttons do not fire if the mouse is released outside of the button, keep that in mind as you read the documentation for the events below:
http://documentation.xojo.com/index.php/Label.MouseDown
http://documentation.xojo.com/index.php/Label.MouseUp
http://documentation.xojo.com/index.php/Canvas.MouseDown
http://documentation.xojo.com/index.php/Canvas.MouseUp
Do not rely on your user being able to determine a label as clickable. There’s a reason labels don’t have an Action event.
IT_Tuga
(IT Tuga)
April 8, 2016, 8:25pm
3
on VB studio and Delphi labels can be use as buttons
why on XOJO can be used
Pictures and labels are controls and both can be used with action
similar to VB Studio microsoft use
to use as links and pictures
so you guys has any buttons to be invisible and showing the text only
and buttons with image as well
Simply use the MouseUp/Down events. If you want the action to be on the MouseUp event return true on the MouseDown event. Then in MouseUp do whatever you want for the ‘action’.