UGUI icon indicating copy to clipboard operation
UGUI copied to clipboard

How can the "CLICK" event be triggered

Open LazerFaze opened this issue 2 years ago • 1 comments

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

LazerFaze avatar Jan 13 '23 11:01 LazerFaze

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;

}`

LordsWars avatar Aug 30 '24 08:08 LordsWars