Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » Using value from EditInt
Re: Using value from EditInt [message #2935 is a reply to message #2931] |
Sun, 30 April 2006 23:52 |
|
forlano
Messages: 1185 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
BenP wrote on Sun, 30 April 2006 21:15 | Hi,
I have tried the following but with no success
d.TicketLookupBtn <<= THISBACK1(EditTicket, d.TicketLookupBox);
How do I use what is in the edit box and pass it to my function?
|
To get the data associated with the widget myWidget you can use the operator '~'. For example a = ~myWidget as showed above.
When you need to set some value use the operator '<<='. For example:
myWidget <<= data;
In your case I think you can use
d.TicketLookupBtn <<= THISBACK1(EditTicket, ~d.TicketLookupBox);
Let us know if you resolved the problem.
Luigi
[Updated on: Sun, 30 April 2006 23:55] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri May 10 22:22:09 CEST 2024
Total time taken to generate the page: 0.01568 seconds
|