Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can the "CLICK" event be triggered #49

Open
LazerFaze opened this issue Jan 13, 2023 · 1 comment
Open

How can the "CLICK" event be triggered #49

LazerFaze opened this issue Jan 13, 2023 · 1 comment

Comments

@LazerFaze
Copy link

in my project, PRESS and RELEASE are working well, but CLICK is never normally working

@LordsWars
Copy link

LordsWars commented Aug 30, 2024

photo_2024-08-30_15-54-04
я решаю это так:
`void setup_callback ( UG_MESSAGE* msg )

{

if ( msg->id == OBJ_TYPE_ROW )

{

switch ( msg->sub_id )

{
case ROW_ID_0 :
{

if (msg->event==OBJ_EVENT_PRESSED)

{

	if (UN<100)UN++;

	sprintf(buffer1, "%d", UN  );

UG_TextboxSetText ( &setup , TXB_ID_0 ,buffer1 ) ;

}

break;

}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants