RichEdit Functions (OOP) New: with Image-Support

Share your advanced PureBasic knowledge/code with the community.
User avatar
OldSkoolGamer
Enthusiast
Enthusiast
Posts: 150
Joined: Mon Dec 15, 2008 11:15 pm
Location: Nashville, TN
Contact:

Re: RichEdit Functions (OOP) New: with Image-Support

Post by OldSkoolGamer »

Fred wrote: Wed Nov 08, 2023 5:19 pm You need to enable the RTF mode for the editogadget. Put this code after the line '\hWnd = GadgetID(\ID)':

Code: Select all

SendMessage_(\hWnd, #EM_SETTEXTMODE, #TM_RICHTEXT, 0)
Thanks Fred, that fixed my issue. Appreciate it!!!
nick12
New User
New User
Posts: 2
Joined: Mon Jun 02, 2025 11:14 am

Re: RichEdit Functions (OOP) New: with Image-Support

Post by nick12 »

Does anyone have the last version of the source files ?

I can't download from original post.
Axolotl
Enthusiast
Enthusiast
Posts: 798
Joined: Wed Dec 31, 2008 3:36 pm

Re: RichEdit Functions (OOP) New: with Image-Support

Post by Axolotl »

I don't have it, but maybe this link can help.
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
nick12
New User
New User
Posts: 2
Joined: Mon Jun 02, 2025 11:14 am

Re: RichEdit Functions (OOP) New: with Image-Support

Post by nick12 »

Thanks a lot, Axolotl !

It has version 2.4 of RichEdit.pbi :)
Post Reply