Jump to content


Photo

How Do I Send A "tap" Event To An Object At RunTime ?

tap event

  • Please log in to reply
6 replies to this topic

#1 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 158 posts
  • LocationMelbourne Australia

Posted 07 December 2017 - 10:20 PM

I have a need where after a form has shown I need to send a "tap" event to a HTMLFrame object within the form, please advise how - thanks.


  • 0

Andy


#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3648 posts

Posted 08 December 2017 - 03:54 AM

Hi,

 

Please, can you explain in more details ?!


  • 0

#3 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 158 posts
  • LocationMelbourne Australia

Posted 08 December 2017 - 08:09 AM

Programatically simulate a "tap" event.

 

From FormShow event send a "tap" event to a HTMLFrame via code.


  • 0

Andy


#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3648 posts

Posted 08 December 2017 - 08:37 AM

Hi,

 

Sorry, your question is not clear,
Which application are you using, mobile or desktop
?!

 

Please make a simple testcase for this if possible

 

Best regards,


  • 0

#5 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 158 posts
  • LocationMelbourne Australia

Posted 08 December 2017 - 08:52 AM

I am using mobile, I am posting in uniGUI Mobile.


  • 0

Andy


#6 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 158 posts
  • LocationMelbourne Australia

Posted 08 December 2017 - 09:02 AM

procedure TZoommForm.UnimFormShow(Sender: TObject);

begin

  ...

  UniSession.AddJS(ZoommForm.HTMLFrame.JSName+'tap');

  ...


  • 0

Andy


#7 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 158 posts
  • LocationMelbourne Australia

Posted 09 December 2017 - 07:53 PM

Farshad, how do I programatically send a "tap" event ?


  • 0

Andy






Also tagged with one or more of these keywords: tap, event

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users