Some more testresults.
Because I'm working with resources, I didn't noticed them before ( from code ) :
using multiline Text for checkboxes with different Fonts and Colors from Resources :
REDEFINE CHECKBOX oCheck1 VAR lCheck1 ID 110 OF oDlg1
REDEFINE CHECKBOX oCheck2 VAR lCheck2 ID 120 OF oDlg1
REDEFINE SAY oSay1 VAR cSay1 ID 210 OF oDlg1 FONT oFont1 COLOR 128 // Red
REDEFINE SAY oSay2 VAR cSay2 ID 220 OF oDlg1 FONT oFont2 // Black
REDEFINE SAY oSay3 VAR cSay3 ID 230 OF oDlg1 FONT oFont2 // BlackFrom code it is not possible.
1. a checkbox without prompt shows allways the Text < Checkbox >
2. with a undefined font, You can click far outside, to set the checkbox to .T. or .F.
@ 2, 2 CHECKBOX oCheck3 PROMPT "This is a first CHECKBOX" OF oDlg2
// no prompt shows : < Checkbox >, using PROMPT "" shows nothing.
@ 3, 2 CHECKBOX oCheck4 OF oDlg2 // PROMPT "This is a second CHECKBOX" OF oDlg2
Result, to show the 2. checkbox with a empty prompt from code :
Best Regards
Uwe