Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » double click (where double click in example or documentation?)
double click [message #54948] Thu, 01 October 2020 01:08 Go to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
how to produce in the code "a double click" either in a simple field or selecting a line in a grid? Do you have an example that shows how I do this?

thanks!
Re: double click [message #54949 is a reply to message #54948] Thu, 01 October 2020 02:37 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member

I'm sorry, it has a lot of code and it took me a while to find this documentation.

I found it in "examples" and "SQLApp"

-> book.WhenLeftDouble = THISBACK(EditBook);

if you want you can close this topic.

appreciate
Re: double click [message #54955 is a reply to message #54949] Thu, 01 October 2020 13:46 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13985
Registered: November 2005
Ultimate Member
BetoValle wrote on Thu, 01 October 2020 02:37

I'm sorry, it has a lot of code and it took me a while to find this documentation.

I found it in "examples" and "SQLApp"

-> book.WhenLeftDouble = THISBACK(EditBook);

if you want you can close this topic.

appreciate


Not all examples are updated to reflect latest improvements in U++. Here it is worth mentioning that lately you can completely specify the action using lambda:

book.WhenLeftDouble << [=] { some code describing what should happen };

without even defining another method.

Mirek
Re: double click [message #54959 is a reply to message #54955] Thu, 01 October 2020 19:36 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
thanks!
Previous Topic: submenu of submenu
Next Topic: Friends? Cousins? Half-siblings?
Goto Forum:
  


Current Time: Sun Jun 16 17:55:31 CEST 2024

Total time taken to generate the page: 0.02260 seconds