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 » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » OptionImage ctrl: how to make it better...
Re: OptionImage ctrl: how to make it better... [message #2473 is a reply to message #2465] Thu, 13 April 2006 19:32 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
forlano wrote on Thu, 13 April 2006 16:43

fudadmin wrote on Thu, 13 April 2006 16:47

void Avail3(One<Ctrl>& ctrl)
{
//	ctrl.Create<Option>().ThreeState();
	ctrl.Create<OptionImage>().ThreeState().SetImage(imgYes(), imgNo(), imgMaybe());
	
}

Smile



I remind to have tried even this combination but without success Embarassed . Perhaps there were a mistake in some other place.
Luigi


1. Perhaps you should try exactly what is here? (it's not in your code...)

2. I'm surprised how from such simple U++ application you were able to make a "spaghetti code"... Smile. First of all, it doesn't run out of the box because I don't use C: and I don't have MyApps... - Why do you use absolute references in *.upp file?
And you don't need a hundred of #include in each file with U++...

http://en.wikipedia.org/wiki/Spaghetti_code
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Different color for three state option button
Next Topic: How to create a non modal dialog
Goto Forum:
  


Current Time: Fri May 10 06:03:52 CEST 2024

Total time taken to generate the page: 0.02588 seconds