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 » The role of Convert diagram
The role of Convert diagram [message #9353] Tue, 01 May 2007 18:00 Go to next message
andrei-catalin is currently offline  andrei-catalin
Messages: 62
Registered: May 2006
Location: Romania
Member
index.php?t=getfile&id=533&private=0

In this diagram I've tried to summarize the role of Convert on EditField control, easy to understand.

Let's consider reference/Convert app.

text is the main private data member of EditField class used to store internal data of this control.

e.g. To set text="1001" there are many possibilies:

via Keyboard
Keyboard--> "120051"-->Filter-->text="1001"

programmaticaly using SetData
bin.SetData(9)-->Format-->text="1001" (Short form: bin<<=9;)

programmaticaly using SetText
bin.SetText("1001")-->text="1001" (Short form: bin="1001";)

To retrieve the value v of bin ctrl using GetData(): "1001"-->Scan-->v=9

whereas GetText() returns the value of WString text="1001"

Another interesting aspect apparent in this diagram is the autoformat mechanism - like a feedback.

Andrei
  • Attachment: convert.png
    (Size: 20.16KB, Downloaded 700 times)

[Updated on: Wed, 02 May 2007 11:13]

Report message to a moderator

Re: The role of Convert diagram [message #11645 is a reply to message #9353] Thu, 20 September 2007 14:44 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Nice.
Previous Topic: Self-install / uninstall in Win32
Next Topic: Image Contol with Zoom/pan/scrollbar capabilities
Goto Forum:
  


Current Time: Fri Apr 19 02:33:59 CEST 2024

Total time taken to generate the page: 0.03380 seconds