Page 1 of 1

EditiorGadget stopped to understand RTF format in 6.02

Posted: Mon May 22, 2023 6:08 am
by GogaII
Hi everyone
As I understood, the EditorGadget stopped to understand the RTF format in 6.02 version
Check, please, its working in 6.01 and 6.02

Code: Select all

OpenWindow(#PB_Any, 0, 0, 500, 150, "bug", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 10, 10, 300, 100)
pp$="{\rtf\ansi\ansicpg1251\fs24\i I don't want to work in PowerBasic 6.02"
SetGadgetText(0, pp$)
Repeat
  Event = WaitWindowEvent()
 Until Event = #PB_Event_CloseWindow


Re: EditiorGadget stopped to understand RTF format in 6.02

Posted: Mon May 22, 2023 6:11 am
by BarryG
Confirmed here. Your RTF example works in 6.01 but not 6.02.

Re: EditiorGadget stopped to understand RTF format in 6.02

Posted: Mon May 22, 2023 6:13 am
by Fred
Please check this viewtopic.php?p=599790

Re: EditiorGadget stopped to understand RTF format in 6.02

Posted: Tue May 23, 2023 3:14 am
by ozzie
Thanks. That tripped me up as well. Working OK now with the extra SendMessage_ call.