Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder 2 Preview » View Thread |
Messages 1 to 10 of 16 total |
Tcheckbox not working on IOS |
Thu, May 14 2015 8:00 AM | Permanent Link |
Kane Jun EZ-Tech, Inc | Hi. all
I am not sure if it is a bug. On apple IOS checkbox does not check. Any one have same problem? Also how Isandroid and ISIOS work? They don't work when I tried... Thanks, |
Thu, May 14 2015 8:21 AM | Permanent Link |
Raul Team Elevate | On 5/14/2015 8:00 AM, Kane Jun wrote:
> I am not sure if it is a bug. > On apple IOS checkbox does not check. It works fine here (on iphone at least but browser would be same on ipad also). I'm using build v2 preview build 7. > Any one have same problem? No - can you provide additional steps so we can try to duplicate. In my case i just dropped a TCheckBox on the form and ran project. > Also how Isandroid and ISIOS work? > They don't work when I tried... They are now called "IsPlatformIOS" and "IsPlatformAndroid" (you need to also include WebDOM in uses clause) and just return a true for appropriate platform if you're running on it. Raul. |
Thu, May 14 2015 8:31 AM | Permanent Link |
Kane Jun EZ-Tech, Inc | Raul wrote:
On 5/14/2015 8:00 AM, Kane Jun wrote: > I am not sure if it is a bug. > On apple IOS checkbox does not check. It works fine here (on iphone at least but browser would be same on ipad also). I'm using build v2 preview build 7. > Any one have same problem? No - can you provide additional steps so we can try to duplicate. In my case i just dropped a TCheckBox on the form and ran project. > Also how Isandroid and ISIOS work? > They don't work when I tried... They are now called "IsPlatformIOS" and "IsPlatformAndroid" (you need to also include WebDOM in uses clause) and just return a true for appropriate platform if you're running on it. Raul. Thank you for checking Raul. I created checkbox dynamically You can check www.texasbrisket.net with your Iphone. Select one the item menu and try to check on checkbox. |
Thu, May 14 2015 8:40 AM | Permanent Link |
Uli Becker | Raul,
> They are now called "IsPlatformIOS" and "IsPlatformAndroid" Application.IsAndroid / Application.IsIOS defined in webui still work (actually they call "IsPlatformAndroid" / "IsPlatformIOS"). Uli |
Thu, May 14 2015 8:42 AM | Permanent Link |
Matthew Jones | Kane Jun wrote:
> You can check www.texasbrisket.net with your Iphone. > Select one the item menu and try to check on checkbox. Yep, I see it not working here too. If I tap and hold, the checkbox shows, but on removing it disappears again. Given Tim was only recently doing the touch stuff, I suspect it is an "incompleteness". I suggest you email support with the details of this so it can be put into the release. |
Thu, May 14 2015 11:02 AM | Permanent Link |
Raul Team Elevate | << Kane Jun wrote:
I created checkbox dynamically You can check www.texasbrisket.net with your Iphone. Select one the item menu and try to check on checkbox. >> I see it as well - the checkbox does appear and then disappears when i release touch. Do you have any events attached ? Raul |
Thu, May 14 2015 11:27 AM | Permanent Link |
Kane Jun EZ-Tech, Inc | Raul wrote:
<< Kane Jun wrote: I created checkbox dynamically You can check www.texasbrisket.net with your Iphone. Select one the item menu and try to check on checkbox. >> I see it as well - the checkbox does appear and then disappears when i release touch. Do you have any events attached ? Raul Raul below is code snippet It works on ff,chrom,android. but not on safari. It may be my coding. Please excuse me if it is. var c:tcheckbox; c:=tcheckbox.create(self); c.caption:=a[i]; c.tag:=d; inc(d); c.font.color:=clblack; c.layout.position:=lptopleft; c.layout.consumption:=lcbottom; c.layout.reset:=true; c.parent:=orderdetailform.scrollpanel1; c.selectionstate:=ssunselected; c.margins.left:=20; c.width:=160; c.ontouchstart:=CheckBox1TouchStart(c,false,false,false,0,0); procedure Torderdetailform.CheckBox1TouchStart(Sender: TObject; ShiftKey, CtrlKey, AltKey: Boolean; X, Y: Integer); begin if tcheckbox(sender).selectionstate=ssselected then tcheckbox(sender).selectionstate:=ssunselected else tcheckbox(sender).selectionstate:=ssselected; end; |
Thu, May 14 2015 11:38 AM | Permanent Link |
Matthew Jones | Kane Jun wrote:
> procedure Torderdetailform.CheckBox1TouchStart(Sender: TObject; > ShiftKey, CtrlKey, AltKey: Boolean; X, Y: Integer); begin > if tcheckbox(sender).selectionstate=ssselected then > tcheckbox(sender).selectionstate:=ssunselected > else > tcheckbox(sender).selectionstate:=ssselected; > end; What happens if you comment that out? My suspicion is that you are getting in on the touch, and then the normal "tap" detection is happening, and reversing the selection. Why did you think this was needed? I think the delay between touch event and click event is quite small. |
Thu, May 14 2015 11:51 AM | Permanent Link |
Kane Jun EZ-Tech, Inc | "Matthew Jones" wrote:
Kane Jun wrote: > procedure Torderdetailform.CheckBox1TouchStart(Sender: TObject; > ShiftKey, CtrlKey, AltKey: Boolean; X, Y: Integer); begin > if tcheckbox(sender).selectionstate=ssselected then > tcheckbox(sender).selectionstate:=ssunselected > else > tcheckbox(sender).selectionstate:=ssselected; > end; What happens if you comment that out? My suspicion is that you are getting in on the touch, and then the normal "tap" detection is happening, and reversing the selection. Why did you think this was needed? I think the delay between touch event and click event is quite small. Hi Metthew and all Please disregard all I did it for some reason but let me check my coding. Thank you for everything, evertbody. |
Thu, May 14 2015 11:52 AM | Permanent Link |
Kane Jun EZ-Tech, Inc | Kane Jun wrote:
"Matthew Jones" wrote: Kane Jun wrote: > procedure Torderdetailform.CheckBox1TouchStart(Sender: TObject; > ShiftKey, CtrlKey, AltKey: Boolean; X, Y: Integer); begin > if tcheckbox(sender).selectionstate=ssselected then > tcheckbox(sender).selectionstate:=ssunselected > else > tcheckbox(sender).selectionstate:=ssselected; > end; What happens if you comment that out? My suspicion is that you are getting in on the touch, and then the normal "tap" detection is happening, and reversing the selection. Why did you think this was needed? I think the delay between touch event and click event is quite small. Hi Metthew and all Please disregard all I did it for some reason but let me check my coding. Thank you for everything, evertbody. Question. How can i delete my own post? |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Saturday, April 27, 2024 at 08:52 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |