Axolotl, thank you !
This is what is needed.
Search found 391 matches
- Thu Nov 20, 2025 9:02 am
- Forum: Coding Questions
- Topic: EditorGadget - determine selection
- Replies: 2
- Views: 331
- Mon Nov 17, 2025 7:36 pm
- Forum: Coding Questions
- Topic: EditorGadget - determine selection
- Replies: 2
- Views: 331
EditorGadget - determine selection
Good day to all.
Maybe someone has already encountered a similar problem ? Maybe someone has already solved this ?
I have an editor gadget. The user selects one line, several lines, or all lines. It doesn't matter if it was a mouse or another method (keyboard). These questions interest me. That is ...
Maybe someone has already encountered a similar problem ? Maybe someone has already solved this ?
I have an editor gadget. The user selects one line, several lines, or all lines. It doesn't matter if it was a mouse or another method (keyboard). These questions interest me. That is ...
- Wed Nov 12, 2025 7:47 pm
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 835
Re: EditorGadget - reset the style of the copied text.
normeus
Thanks for your reply.
I think I'm starting to understand what you wanted to say. I guess this can be compared to a keyboard layout. Windows remembers the keyboard layout state for each window. It turns out that the same story applies to the clipboard. Thus, it turns out that in order to ...
Thanks for your reply.
I think I'm starting to understand what you wanted to say. I guess this can be compared to a keyboard layout. Windows remembers the keyboard layout state for each window. It turns out that the same story applies to the clipboard. Thus, it turns out that in order to ...
- Wed Nov 12, 2025 4:31 pm
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 835
Re: EditorGadget - reset the style of the copied text.
RASHAD
Since you've touched on the topic of the pop-up menu, I have another question:
Is it possible to increase the size of the system popup menu window ?
I came across your code somewhere for increasing the font size in this menu. This is great !
But now another problem has arisen: the text of ...
Since you've touched on the topic of the pop-up menu, I have another question:
Is it possible to increase the size of the system popup menu window ?
I came across your code somewhere for increasing the font size in this menu. This is great !
But now another problem has arisen: the text of ...
- Wed Nov 12, 2025 4:19 pm
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 835
Re: EditorGadget - reset the style of the copied text.
Axolotl
Sounds strange, and I cannot explain that.
Me too ! :D
normeus
When you use PB's GetClipboardText(), you are getting text without formatting.
Okay ! Did you read my message above ? There I actually rewrite the clipboard data. Text without formatting !
How come when I paste it into ...
Sounds strange, and I cannot explain that.
Me too ! :D
normeus
When you use PB's GetClipboardText(), you are getting text without formatting.
Okay ! Did you read my message above ? There I actually rewrite the clipboard data. Text without formatting !
How come when I paste it into ...
- Wed Nov 12, 2025 4:14 pm
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 835
Re: EditorGadget - reset the style of the copied text.
RASHAD , thank you for your reply.
But my task is not about the capabilities of EditorGadget. Okay, let me explain again.
Run your code and you will see the red bold text "RTF". Then copy it to the clipboard and paste it into MS Word. The text will be exactly the same in Word. Excellent ! Imagine ...
But my task is not about the capabilities of EditorGadget. Okay, let me explain again.
Run your code and you will see the red bold text "RTF". Then copy it to the clipboard and paste it into MS Word. The text will be exactly the same in Word. Excellent ! Imagine ...
- Wed Nov 12, 2025 2:55 pm
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 835
Re: EditorGadget - reset the style of the copied text.
I was experimenting with the clipboard and completely by accident came up with this solution to this problem:
;...
Case #PB_Event_Menu
Select EventMenu()
Case #mPaste
Debug "Paste"
tmp$ = GetClipboardText()
SetClipboardText(tmp$)
SendMessage_(hWnd, #WM_PASTE, 0, 0)
;...
I don't ...
;...
Case #PB_Event_Menu
Select EventMenu()
Case #mPaste
Debug "Paste"
tmp$ = GetClipboardText()
SetClipboardText(tmp$)
SendMessage_(hWnd, #WM_PASTE, 0, 0)
;...
I don't ...
- Wed Nov 12, 2025 12:44 pm
- Forum: Coding Questions
- Topic: [Solved] Difficulties with StatusBar
- Replies: 4
- Views: 482
Re: Difficulties with StatusBar
Mesa, thanks a lot !
Looks like this is what it takes !
P.S. Yes, that's it! Thanks again!
Looks like this is what it takes !
P.S. Yes, that's it! Thanks again!
- Wed Nov 12, 2025 8:52 am
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 835
Re: EditorGadget - reset the style of the copied text.
Good time, BarryG .
Yes, you are absolutely right. I think so too. If I understand you correctly, you recommend disabling the advanced features of the gadget. Yes, I know it's off by default. To enable it, you need to use a special API function. These are obvious things. That would be too easy ...
Yes, you are absolutely right. I think so too. If I understand you correctly, you recommend disabling the advanced features of the gadget. Yes, I know it's off by default. To enable it, you need to use a special API function. These are obvious things. That would be too easy ...
- Wed Nov 12, 2025 7:21 am
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 835
EditorGadget - reset the style of the copied text.
Hi, all.
I have an editor in my window that has a font assigned to it that I defined. I didn't realize it would be used in this way. Problem: A person writes text in a third-party text editor, such as Word, and then pastes it into my program. The font changes according to how it was selected in ...
I have an editor in my window that has a font assigned to it that I defined. I didn't realize it would be used in this way. Problem: A person writes text in a third-party text editor, such as Word, and then pastes it into my program. The font changes according to how it was selected in ...
- Wed Nov 12, 2025 7:12 am
- Forum: Coding Questions
- Topic: The problem of finding an interval and the closest points.
- Replies: 4
- Views: 488
Re: The problem of finding an interval and the closest points.
spikey, thanks for your version and explanations.
- Sun Nov 09, 2025 8:23 am
- Forum: Coding Questions
- Topic: [Solved] Difficulties with StatusBar
- Replies: 4
- Views: 482
Re: Difficulties with StatusBar
skywalk , thanks for your reply !
I will consider your solution in more detail.
P.S. Such nuances and workarounds make interface development tedious and slow down the main work.
So I'd like to see native support for such basic features in future versions of PB. I hope so.
When you resize the ...
I will consider your solution in more detail.
P.S. Such nuances and workarounds make interface development tedious and slow down the main work.
So I'd like to see native support for such basic features in future versions of PB. I hope so.
When you resize the ...
- Sat Nov 08, 2025 9:22 pm
- Forum: Feature Requests and Wishlists
- Topic: Placeholder
- Replies: 0
- Views: 636
Placeholder
Maybe add the same for EditorGadget ?PureBasic 6.30
2025-09-12: beta 2 is out !
...
- Added: Placeholder support for StringGadget() with #PB_String_PlaceHolder flag
...
- Sat Nov 08, 2025 9:14 pm
- Forum: Coding Questions
- Topic: [Solved] Difficulties with StatusBar
- Replies: 4
- Views: 482
[Solved] Difficulties with StatusBar
Hello everyone again.
I also wanted to say that I am experiencing difficulties when working with StatusBar. Why can't I choose a font style for the StatusBar ? Maybe I missed something ?
I have to use this old code:
; Title: Custom Statusbar Text Colors
; Author: Fluid Byte
; Date: December 28 ...
I also wanted to say that I am experiencing difficulties when working with StatusBar. Why can't I choose a font style for the StatusBar ? Maybe I missed something ?
I have to use this old code:
; Title: Custom Statusbar Text Colors
; Author: Fluid Byte
; Date: December 28 ...
- Sat Nov 08, 2025 5:03 pm
- Forum: Coding Questions
- Topic: The problem of finding an interval and the closest points.
- Replies: 4
- Views: 488
Re: The problem of finding an interval and the closest points.
Good time, spikey !
Are we talking 1D, 2D or 3D points here?
Sorry, I expressed myself incorrectly. According to your classification, it will be one ! D
How many control points are there likely to be?
Just four !
Everything is much simpler ! I just want to make a timer.
Okay. This is how I ...
Are we talking 1D, 2D or 3D points here?
Sorry, I expressed myself incorrectly. According to your classification, it will be one ! D
How many control points are there likely to be?
Just four !
Everything is much simpler ! I just want to make a timer.
Okay. This is how I ...