1. Bernhard Giesriegl
  2. PowerBuilder
  3. Monday, 31 July 2017 08:12 AM UTC

Hello all,

in the Rich Text Edit Control TX Text Control shipped with PB 12.6 it was possible to set the font before doing a ReplaceText with the undocumented function:

long ColorLogFont105 ( long hWnd, ulong Msg, ulong wParam, ref s_logfont clf )  Library "user32.dll" Alias For "SendMessageW"

 

This seems not to work in the Text Control shipped with PB 2017.

Is there a possibility to set the font before doing a ReplaceText?

And, additional, is there a possibility to set tabs too?

 

Thanks in advance!

Bernhard Giesriegl

Bjoern Meyer Accepted Answer Pending Moderation
  1. Friday, 18 August 2017 14:43 PM UTC
  2. PowerBuilder
  3. # 1

Hi Roland,

Feel free to contact us at Text Control to find out your options of using TX Text Control without removing functionality from your applications.

bjoern@textcontrol.com

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 31 July 2017 14:05 PM UTC
  2. PowerBuilder
  3. # 2

The Rich Text control no longer uses TX Text Control, it uses a different 3rd party control. I'm not sure if they have mentioned which one it is. The message you are sending is unique to TX Text Control.

Comment
  1. Bernhard Giesriegl
  2. Tuesday, 1 August 2017 05:29 AM UTC
So Bruce Armstrong told us in an article before that here is used TE Edit Control.



Now the question is how to change the font before using ReplaceText

  1. Helpful
  1. Bjoern Meyer
  2. Friday, 18 August 2017 15:00 PM UTC
Hi Bernhard,



Feel free to contact us at Text Control to find out your options of using TX Text Control without removing functionality from your applications.



bjoern@textcontrol.com



 

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.