Re: What is "DirectWrite API" and "GDI API"?

2019-03-03 Thread Jeffrey Kain via 4D_Tech
Different low level APIs in Windows for handling fonts and graphics.  GDI is 
older.  

> On Mar 3, 2019, at 9:55 PM, Jeremy French via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> What is the meaning of:


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

What is "DirectWrite API" and "GDI API"?

2019-03-03 Thread Jeremy French via 4D_Tech

What is the meaning of:

1) DirectWrite API
2) GDI API

used in the following sentence:

"This is because the calculation of the best size for a list box is based on 
the DirectWrite API while other objects are based on the GDI API.”

See “ Tech Tip: Differences of OBJECT GET BEST SIZE Behavior”
https://kb.4d.com/assetid=78214 
 


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Highlighting rows using Row Font Color Array

2019-03-03 Thread Jeffrey Kain via 4D_Tech
If the color of your text is black, make sure the font color is set to 
automatic and not black.  If you have other font colors that you want to 
reverse when they are selected, you have to do this yourself per the blog. 

> On Mar 3, 2019, at 4:14 PM, James Knight via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I'm using the Row Font Color Array in a listbox to allow different rows to 
> have different font colours. However, this seems to break the row 
> highlighting system which would usually reverse the font colour in relation 
> to the highlight colour when a row is selected. 
> 
> So, when the rows are not highlighted they are in the correct font colour. 
> But, when the row is highlighted, the font colour remains as set in the Row 
> Font Color Array rather than being reversed out in white. This often makes it 
> very hard to read. 
> 
> Does anyone know a way to work around this? 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: LEP that will quit Chrome?

2019-03-03 Thread Keith Goebel via 4D_Tech
Chip and Lutz,
Delayed thanks for your ideas.
I have had no luck so far, but have been pulled off that task for something 
else so have been unable to keep trying.
Thanks anyway.
Cheers, Keith
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Highlighting rows using Row Font Color Array

2019-03-03 Thread Keisuke Miyako via 4D_Tech
see blog

https://blog.4d.com/customize-highlight-color-upon-listbox-row-selection/

2019/03/04 6:14、James Knight via 4D_Tech 
<4d_tech@lists.4d.com>のメール:

Does anyone know a way to work around this?



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Highlighting rows using Row Font Color Array

2019-03-03 Thread James Knight via 4D_Tech

Hi 

I'm using the Row Font Color Array in a listbox to allow different rows to have 
different font colours. However, this seems to break the row highlighting 
system which would usually reverse the font colour in relation to the highlight 
colour when a row is selected. 

So, when the rows are not highlighted they are in the correct font colour. But, 
when the row is highlighted, the font colour remains as set in the Row Font 
Color Array rather than being reversed out in white. This often makes it very 
hard to read. 

Does anyone know a way to work around this? 

Thank you 

James
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**