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 » Developing U++ » UppHub » PopEasy
Re: PopEasy [message #36499 is a reply to message #36498] Sun, 03 June 2012 01:45 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 526
Registered: March 2007
Contributor
Hi Omari:

I separate the Edit Ctrl (main ctrl) and the pop up on purpose.

In the above example, the Edits use the PopUp but don't contain it. The share a single instance of PopUp. If the list is static (no auto filtering) as in your case, this can save some memory space.

Also there are other concerns. The EditField could be a multi-line edit (LineEdit) or even a RichEdit. As long as they talk to each other through some simple and complete interface (normal functions and virtual functions and callbacks).

The PopUp can be a TreeCtrl, a ArrayCtrl, a GridCtrl, or a combination of many of them.

I am not familiar with Upp, but EditField might be a better option than EditString. There a lots of details waiting to be decided. Please do have a look at the code and give me some suggestion.
 
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: MediaPlayer compiler error
Next Topic: AngelScript - AngelCode Scripting Library
Goto Forum:
  


Current Time: Sun Apr 28 00:37:07 CEST 2024

Total time taken to generate the page: 0.05633 seconds