Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Picture Button issues
Started by david.hutyra.stp Jan 30 2020 03:34 PM

- - - - -
4 replies to this topic
button issue
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

david.hutyra.stp

[GLOBAL: userInfoPane.html]
david.hutyra.stp
  • Observer

  • 12 posts
  • Corona SDK

I'm trying to make a button like a NEXT ROUND or RESTART button, however I can only find either only a press button animation, a press entire screen command, and corona's own button command which doesn't work. I'm finding issues with having press the button actually put a code out, like adding or removing pictures. Can anyone please help with this issue? Maybe even give an example. Thanks.



[TOPIC: post.html]
#2

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,219 posts
  • Corona SDK

Have you even viewed the docs? https://docs.coronalabs.com/api/library/widget/newButton.html



[TOPIC: post.html]
#3

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 822 posts
  • Corona SDK

@david

 

Take a look at some of the samples that come with Corona.  I know there are some buttons used there.  Also check out the marketplace for sample apps with buttons - some of them are free.



[TOPIC: post.html]
#4

david.hutyra.stp

[GLOBAL: userInfoPane.html]
david.hutyra.stp
  • Observer

  • 12 posts
  • Corona SDK

I used corona's documents and that was why I said I have a problem with it.



[TOPIC: post.html]
#5

pixec

[GLOBAL: userInfoPane.html]
pixec
  • Contributor

  • 218 posts
  • Corona SDK

You need to show code to better explain your issue. No one can really understand what you mean atm


[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: button, issue