Search found 959 matches: Rich

Searched query: +Rich

by skinkairewalker
Fri Sep 26, 2025 1:22 pm
Forum: 3D Programming
Topic: Should I build my own sprite-based UI system or wait?
Replies: 19
Views: 1479

Re: Should I build my own sprite-based UI system or wait?

... think there's a lot of fun to be had in writing your own, as long as you have the time to spare & your aspirations are realistic. A full & feature-rich UI would be a lot of work, but a 'only what you need' approach could suffice.

I wrote a minimalistic one earlier this year that enabled some basic ...
by pjay
Fri Sep 26, 2025 8:14 am
Forum: 3D Programming
Topic: Should I build my own sprite-based UI system or wait?
Replies: 19
Views: 1479

Re: Should I build my own sprite-based UI system or wait?

I think there's a lot of fun to be had in writing your own, as long as you have the time to spare & your aspirations are realistic. A full & feature-rich UI would be a lot of work, but a 'only what you need' approach could suffice.

I wrote a minimalistic one earlier this year that enabled some basic ...
by dige
Tue Sep 09, 2025 2:28 pm
Forum: Tricks 'n' Tips
Topic: Clipboard UI Inspector
Replies: 5
Views: 1112

Clipboard UI Inspector

... h) : EndIf
EndIf
EndIf
ProcedureReturn s$
EndProcedure

Procedure.s GetRtf()
Protected s$ = ""
Protected cf = RegisterClipboardFormat_("Rich Text Format")
If cf And IsClipboardFormatAvailable_(cf)
Protected h = GetClipboardData_(cf)
If h
Protected *p = GlobalLock_(h)
If *p : s ...
by Olli
Mon Aug 18, 2025 1:44 am
Forum: General Discussion
Topic: Build a text editor
Replies: 37
Views: 3717

Re: Build a text editor

... problem... Sure...

I will wait if anybody looks a performance problem with this small 3rd simulation.

And I will need a convention language to enrich the text, because the RTF language is absolutely not what I prefer. I d like a simpler language, an intuitive thing, which eases the write of a rich ...
by minimy
Mon Jul 28, 2025 9:34 pm
Forum: Game Programming
Topic: Primitive scenary editor
Replies: 1
Views: 960

Primitive scenary editor

... draft to get an idea because I never take notes or plan how to make the programs, everything is in the coconut :mrgreen:

I hope it will help someone, that they make a game, that they sell it, that they become rich, that they set up an aerospace company... hmm. Wait!, that's already happened... :lol:
by Olli
Sun Jul 13, 2025 10:31 pm
Forum: General Discussion
Topic: Build a text editor
Replies: 37
Views: 3717

Re: Build a text editor

... I can just add step by step the answers I find by testing to technical questions.

A technical question is about the easier ways we have :
- a rich text support on Microsoft
- a pdf support on Linux

This let us imagine a byte code dedicated to rich text.

Note that I test on full screen. I ...
by JHPJHP
Sat Jun 07, 2025 6:11 pm
Forum: Announcement
Topic: OpenAI REST API
Replies: 28
Views: 5765

Re: ChatGPT REST API

... Enhancements (Should You Implement It)
Pre-prompt Classification Layer
Use script to classify the board state into categories (e.g., “merge-rich,” “clustered,” “blocked,” “stalled”) and tag prompts accordingly.

Prompt Library with Token Budgeting
Maintain a set of minimalistic prompts ...
by Quin
Fri May 30, 2025 1:16 pm
Forum: Feature Requests and Wishlists
Topic: Enable expandability of the gadget library
Replies: 8
Views: 1147

Re: Enable expandability of the gadget library

I fully agree with this feature request, but EditorGadget() is already a rich edit gadget and we have TreeGadget :?:
by tspivey
Sun May 25, 2025 5:48 am
Forum: Feature Requests and Wishlists
Topic: EditorGadget reads final lines incorrectly with screen readers
Replies: 18
Views: 2108

Re: EditorGadget reads final lines incorrectly with screen readers

... EM_SETTEXTMODE to the control with TM_PLAINTEXT. Put this before the first AddGadgetItem call:

SendMessage_(GadgetID(0), #EM_SETTEXTMODE, #TM_RICHTEXT, 0)


And NVDA reads it correctly again. This sets the mode back to the default.

Maybe NVDA and Narrator weren't designed to handle rich text ...
by Quin
Sat May 24, 2025 11:02 pm
Forum: Feature Requests and Wishlists
Topic: EditorGadget reads final lines incorrectly with screen readers
Replies: 18
Views: 2108

Re: EditorGadget reads final lines incorrectly with screen readers

Something interesting I notice is that in wordpad's rich edit control, if I type a line of text and don't press enter, then try to left/right arrow to read by character, my screen reader will see a line feed as the last character, even though I didn't insert one. PB's EditorGadgets don't have this ...
by Quin
Mon May 19, 2025 1:34 pm
Forum: Feature Requests and Wishlists
Topic: EditorGadget reads final lines incorrectly with screen readers
Replies: 18
Views: 2108

Re: EditorGadget reads final lines incorrectly with screen readers

PB's rich edit control is the only edit control I've seen do this. wxWidget's wxRichTextCtrl doesn't do it, nor does wordpad.
Good catch on the \rs nsstudios, I never would've thought to check that.
by RalfP
Tue May 06, 2025 1:57 am
Forum: Coding Questions
Topic: EditorGadget() clears the clipboard when the program ends
Replies: 23
Views: 1487

Re: EditorGadget() clears the clipboard when the program ends

Thanks for testing.

The Rich Text Editor control only returns the CF_OEMTEXT format to the clipboard, and some programs can't handle this when pasting.
So this is an incompatibility between the Rich Text Editor control and the other programs (e.g., Notepad) and not a PureBasic bug.

I'll use the ...
by Quin
Mon Apr 14, 2025 5:08 pm
Forum: Coding Questions
Topic: Disabling message beeps in EditorGadget() on Windows?
Replies: 9
Views: 519

Disabling message beeps in EditorGadget() on Windows?

... Stack Overflow answer about how to eliminate the frankly incredibly annoying message beep that occurs when doing many actions in an EditorGadget/rich text control. However, COM in PB terrifies me and I'm frankly horrible at it, and have no idea how to do any of this. I figured one of the wizards ...
by BarryG
Sun Feb 23, 2025 6:16 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2214

Re: Difficulty with Editor Gadget

Yeah, that looks like rich text to me, because there's two different font sizes. So I was right in my initial comment.
by AZJIO
Sun Feb 23, 2025 5:36 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2214

Re: Difficulty with Editor Gadget

coco2 wrote: Sun Feb 23, 2025 4:13 am remove all rich text formatting
What version of PureBasic are you using? In recent versions, RTF is disabled by default.