EditiorGadget stopped to understand RTF format in 6.02

Just starting out? Need help? Post your questions and find answers here.
GogaII
User
User
Posts: 29
Joined: Sun Nov 15, 2020 10:03 am

EditiorGadget stopped to understand RTF format in 6.02

Post 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

BarryG
Addict
Addict
Posts: 4180
Joined: Thu Apr 18, 2019 8:17 am

Re: EditiorGadget stopped to understand RTF format in 6.02

Post by BarryG »

Confirmed here. Your RTF example works in 6.01 but not 6.02.
Fred
Administrator
Administrator
Posts: 18254
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: EditiorGadget stopped to understand RTF format in 6.02

Post by Fred »

Please check this viewtopic.php?p=599790
ozzie
Enthusiast
Enthusiast
Posts: 443
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: EditiorGadget stopped to understand RTF format in 6.02

Post by ozzie »

Thanks. That tripped me up as well. Working OK now with the extra SendMessage_ call.
Post Reply