Hi,
Now I get an another problem with the EditField.
I try to change the Font name and Font Size in an 'Document Window'
'in the fly' from an 'Font Window'.
The settings take affect, but when i change font size from 12 to 24
then the EditField in the 'Document Window'
only show the 'half text' (half file), the scrollbar is not updated.
It work similar when I change the font size from 24 to 12, then the
half document is blank
and the first half showing all the text. The scrollbar is not updated.
I tried with both composite and none composite window. And refresh
the EditField and also the Window, change scroll position, change the
window size and back, ScrollbarHorizontal on/off but still not working..
<code>
if wnd.TextDocOpen > 0 then
i = DocRw.GetTextWindowNumber
TextWindow(window(i)).TextField.TextFont = myFontName
TextWindow(window(i)).TextField.TextSize = val(myFontSize)
TextWindow(window(i)).TextField.Refresh(true)
end if
</code>
Is there any known workaround for this?
Regards,
Sven E Olsson
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>