At 11:13 AM 10/3/2010, A.G. IJntema wrote:
I have tried PROPERTY <ComponentID> SHOW_EDITOR 'TRUE', the explanation
of this property is:
Will bring up the Note/BLOB Field Viewer/Editor with [NOTE/VARCHAR]
tab as default.
But it seems to me this does not work for the Advanced DB Rich Edit.
Do I miss something?
Tony,
Here's how:
01. Start R:BASE eXtreme 9.0 (32/64), Build: 9.0.4.11010 or R:BASE
eXtreme 9.1 (32/64), Build: 9.1.1.11010
02. CONNect the appropriate database
03. Open the desired form in Form Designer
04. While in Form Designer, having a unique <Component ID> assigned
to "Advanced DB Rich Edit" control linked with VARCHAR column,
use the following PROPERTY command to achieve your goal.
-- Edit VARCHAR data using R:BASE BLOB Editor [Rich Text] option
-- R:BASE eXtreme 9.0 and 9.1
PROPERTY AdvancedDBRichEditCompID SET_FOCUS 'TRUE'
PROPERTY AdvancedDBRichEditCompID SHOW_EDITOR 'TRUE'
PROPERTY AdvancedDBRichEditCompID SHOW_EDITOR 'LASTCHAR'
RETURN
This will bring up the [Rich Text] section of the Enhanced 9.x
R:BASE BLOB Editor to enter/update VARCHAR data.
With existing data, the cursor will be placed at the end of the
paragraph to continue editing, etc.
That's all there is to it!
Very Best R:egards,
Razzak.
P.S.
In addition to R:Presentations and Live Applications, 2010 Annual R:BASE
Conference highlights also include a presentation on:
Exploring the New Features and Properties of the Advanced Rich Text Control
http://www.rbase.com/conference