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 » RichText,QTF,RTF... » Does a Ctrl may be a RichObject ?
Re: Does a Ctrl may be a RichObject ? [message #23314 is a reply to message #23288] Thu, 08 October 2009 16:32 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Wed, 07 October 2009 06:02

luzr wrote on Wed, 07 October 2009 11:16

koldo wrote on Mon, 05 October 2009 17:49

Hello all

I would like to know how to insert Ctrl like EditString, Button or DropList inside a RichEdit.

Here I enclose you a simulated screenshot from RichTextObject example.

index.php?t=getfile&id=1946&private=0

With it it would be possible to fill forms made with RichEdit and launch functions.

Best regards
Koldo


At the moment, this would be hard.

The only way is to use

http://www.ultimatepp.org/reference$RichTextLayoutTracer.htm l

and then place widgets over the RichText.

Mirek


Sorry Mirek

Could you detail this a little bit more? Smile



Use RichTextLayoutTracer to find out where are positions of various widgets you want to display (invent some way how to specify that in Qtf, e.g. misusing text in index would work), then, having positions, overlay them over the RichText.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RichEdit assertion
Next Topic: How do I detect if the data in a RichEdit was changed by user?
Goto Forum:
  


Current Time: Sun May 05 15:52:56 CEST 2024

Total time taken to generate the page: 0.01987 seconds