Jump to content

Search the Community

Showing results for tags 'Click'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

There are no results to display.

Forums

  • Welcome to Smart Mobile Studio
    • News and Information
    • Pre-Sales Questions
    • Smart In the Media
    • Smart Contests
    • Meta
  • Smart Mobile Studio Discussion
    • General
    • IDE
    • RTL
    • Code
    • Client Server
    • Platform
    • Graphics
    • Deployment
    • Suggestion box
  • Smart Mobile Studio support
    • Support
    • Bug report
  • General Discussion
    • Pascal
    • Delphi
    • Javascript
    • HTML/HTML5
    • CSS
  • Resources
    • Website
    • Download Smart Mobile Studio

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Company name


Position

Found 4 results

  1. Ricardo

    button click

    Hi. If I insert a TW3Button and assign it an event (by double clicking on OnClick in the object inspector) the onClick event is not triggered by clicking with the mouse or with the finger on the mobile. If I set the focus on the button and press Enter it will fire. I've also tried assigning it to an onclick event in InitializebOject What do I need to add?
  2. I am still having a hard time with a Listbox and distinguishing between "touch" to select and item in a listbox on a desktop/laptop browser.....and "touch" to begin scrolling (e.g. on a phone/tablet) Using a basic example listbox with 100 items procedure TForm1.Resize; var i: integer; begin inherited; W3ListBox1.Clear; for i:= 1 to 100 do W3ListBox1.Add('Item ' + inttostr(i)); W3ListBox1.SetBounds(0,0,width,height); end; When a user is using the desktop/laptop browser, I need them to be able to use both mouse and touch (case their monitor is touch) to "scroll" and "select" item.....else if using their phone or tablet, need them to be able to use "touch" to scroll and "tap" to select item I assume we dont want to use the standard OnSelected event ? W3ListBox1..OnSelected := HandleLBItemSelected; and probably want to use the OnTouchBegin & OnTouchEnd, as well as the OnMouseDown & OnMouseUp events?????? If So, how? And how do you then handle the scrolling?
  3. I have a TW3ScrollControl on my form (with clickable images (icons) as menu items on the ScrollControl ) I have mouse and touch events to allow user to select a menu item depending on whether app is run in browser or other device. fOnMenuItemClick: TMouseClickEvent; fOnMenuItemTouch: TTouchBeginEvent; When I test it in browser, I can't use the scroll feature of TW3ScrollControl because it looks like it was designed for gestures not mouse When I test in on my phone, I can't use the gestures because it thinks I am touching the menu items and that event gets kicks off instead what to do?
  4. Hi, I am looking to a way to detect a long tap, say 2-3 seconds on an image or panel so as to enhance user functionality. There is some JS code for this on http://jsfiddle.net/f23ZW/ Any simple way I can do this using Object Pascal?
×
×
  • Create New...