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 » U++ Library support » U++ Widgets - General questions or Mixed problems » What is best way to obtain button info via callback?
Re: What is best way to obtain button info via callback? [message #13588 is a reply to message #13586] Tue, 15 January 2008 20:36 Go to previous messageGo to previous message
jlfranks is currently offline  jlfranks
Messages: 57
Registered: May 2007
Location: Houston, TX, USA
Member
Just found this documented on the Upp Overview page and is pretty much all I need:
----------
void MyDlg::SetEditorValue(int x)
{
editor <<= x;
}

MyDlg::MyDlg()
{
button1 <<= THISBACK1(SetEditorValue, 1);
button2 <<= THISBACK1(SetEditorValue, 2);

---------
Sorry for the wasted bandwidth.

--jlf
 
Read Message
Read Message
Read Message
Previous Topic: Zooming layouts and different behaviour windows/linux
Next Topic: QTF tooltip on tray icon.
Goto Forum:
  


Current Time: Mon May 13 16:31:36 CEST 2024

Total time taken to generate the page: 0.01838 seconds