Home > Archive > Clarion > June 2006 > [cw55ee] How do I update a RTFTextBox on a Browse Window
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[cw55ee] How do I update a RTFTextBox on a Browse Window
|
|
| C.Joseph Drayton 2006-06-28, 9:55 pm |
| Hi All,
Here's the situation. I have a browse that displays two fields on
the left hand side of the window. On the right hand side of the
window are some of the other fields from the table. One of the
fields HAS to be displayed in an RTFTextBox. I have set it as a
'hotfield' when I scroll through the browse, the RTFTextBox does not
update. All of the other fields on the right side of the window
update correctly.
I have tried using the 'change' command, I have tried forcing a
refresh of the window, and a refresh of the display, and none of
those work.
Any ideas greatly appreciated.
Ciao . . . C.Joseph
And on the seventh day God said,
"I will rest . . . Murphy take over."
| |
| sandinzz@yahoo.com 2006-06-29, 3:55 am |
| See RTFNotepad Clarion example.
Z.
| |
| Robert Peros 2006-06-29, 6:55 pm |
| "C.Joseph Drayton" <csdcs@tlerma.com> wrote in message
> Here's the situation. I have a browse that displays two fields on
> the left hand side of the window. On the right hand side of the
> window are some of the other fields from the table. One of the
> fields HAS to be displayed in an RTFTextBox. I have set it as a
> 'hotfield' when I scroll through the browse, the RTFTextBox does not
> update. All of the other fields on the right side of the window
> update correctly.
>
> I have tried using the 'change' command, I have tried forcing a
> refresh of the window, and a refresh of the display, and none of
> those work.
You may test & tray something like this:
In probably After parent: BC.TakeNewSelection
0{PROP:Text} = FieldName ! Are they right contents updated
if no call SELF.UpdateViewRecord()
oRTF.LoadField(*STRING FieldName) =
String or Loc_CString[1: LEN(Loc_CString)])!
R.
| |
| C.Joseph Drayton 2006-06-30, 9:55 pm |
| Robert Peros wrote:
> "C.Joseph Drayton" <csdcs@tlerma.com> wrote in message
> You may test & tray something like this:
> In probably After parent: BC.TakeNewSelection
> 0{PROP:Text} = FieldName ! Are they right contents updated
> if no call SELF.UpdateViewRecord()
> oRTF.LoadField(*STRING FieldName) =
> String or Loc_CString[1: LEN(Loc_CString)])!
>
>
> R.
Hi Robert,
That worked perfectly. Thanks so much.
Ciao . . . C.Joseph
And on the seventh day God said,
"I will rest . . . Murphy take over."
|
|
|
|
|