Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / No command for GetEditBoxHitTest()

Author
Message
Rudders
12
Years of Service
User Offline
Joined: 20th Jan 2012
Location: Oxfordshire UK
Posted: 7th Apr 2023 11:04 Edited at: 7th Apr 2023 11:07
Hi, I guess this is a development suggestion but I cannot find a command for testing if an EditBox is hit with a pointer x, y. There is a GetTextHitTest() but Edit Boxes does not even record a Pointer Pressed when selected.

I know that there is little use for this in gaming apps but when programming business apps with forms and selections this would be a very useful and consistent addition.

I am currently using a list of If EditBoxHasFocus( MyBox ) = 1 for every EditBox on screen, not very elegant!

Thanks for listening and any comments welcome.

PS. I have programmed a very useful 'Drop Down' Edit Box to select different options, see image:

Attachments

Login to view attachments
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 7th Apr 2023 14:32 Edited at: 7th Apr 2023 14:33
the screenie looks nice

otherwise, i would use dummy sprites for a lookup table. a start:
Rudders
12
Years of Service
User Offline
Joined: 20th Jan 2012
Location: Oxfordshire UK
Posted: 8th Apr 2023 12:12
Thanks VN, will look at the code in depth, thank you. My EPOS project is going very well and just about to start on the Touch Screen Till display.

Cheers P

Login to post a reply

Server time is: 2024-09-08 05:17:14
Your offset time is: 2024-09-08 05:17:14