FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Border on checkbox
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Border on checkbox
Posted: Thu Jan 29, 2009 04:11 AM

Hello,

I am using CHECKBOX with FOLDER; however when the CHECKBOX, there is no border to indicate to user the field is active; how do I correct this problem?

Thank You,

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Border on checkbox
Posted: Sun Feb 01, 2009 11:47 AM

Darrell,

Are you using themes ?

1 24 "WindowsXP.Manifest"

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: Border on checkbox
Posted: Sun Feb 01, 2009 03:57 PM

Dear Antonio,

Yes, we are using themes.

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Border on checkbox
Posted: Mon Feb 02, 2009 02:33 AM
Darrell,

Once the dialog is visible, the user has to press Alt in order to make the focus visible.

Here you have a working example:
#include "FiveWin.ch" 

function Main() 

   local oDlg, oFld, lValue := .T. 
    
   DEFINE DIALOG oDlg SIZE 400, 300

   @ 0.5, 1 FOLDER oFld OF oDlg SIZE 188, 138 ;
      PROMPTS "One", "Two", "Three"
      
   @ 1, 1 CHECKBOX lValue OF oFld:aDialogs[ 1 ]   

   @ 3, 1 BUTTON "Test" OF oFld:aDialogs[ 1 ]
      
   ACTIVATE DIALOG oDlg CENTERED 

return nil

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: Border on checkbox
Posted: Mon Feb 02, 2009 04:07 AM

Anthonio,

Is there a solution available that does not require user to press ATL so border and button shortcuts are available? Users will complain if they have to press additional keys.

Thank You,

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Border on checkbox
Posted: Mon Feb 02, 2009 08:58 AM

It's a Windows setting (look in the desktop properties).

EMG

Continue the discussion