Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / [BlueGUI] RichEdit broken with DBPro 6.9?

Author
Message
Omen
17
Years of Service
User Offline
Joined: 7th Nov 2006
Location: Maple Grove, MN US
Posted: 8th Aug 2008 03:31
This code used to work in 6.8 (it should produce yellow text on a gray background)... but in 6.9, the text color stays black :/

Anyone else seeing strange things happening with BlueGUI under DBPro 6.9?



Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 24th Sep 2008 00:36
You need to select the text which you wish to change with that command, so you should set the gadget text first, then select it (with setSelStart and setSelLen) and then set its properties.
Just setting it otherwise will influence all characters entered (by writing to the edit, that is) to the gadget, while the setGadgetText just sets the text string of it and hence doesn't take note for any prior formatting.

I don't think it did so in earlier DBPro releases either (would be very strange in such a case).

"I kören hörs de brummande busarna Björnligan och Gondolen"

Login to post a reply

Server time is: 2024-04-19 22:09:28
Your offset time is: 2024-04-19 22:09:28