Border on checkbox

Border on checkbox

Postby cdmmaui » Thu Jan 29, 2009 4: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
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: Border on checkbox

Postby Antonio Linares » Sun Feb 01, 2009 11:47 am

Darrell,

Are you using themes ?

1 24 "WindowsXP.Manifest"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Border on checkbox

Postby cdmmaui » Sun Feb 01, 2009 3:57 pm

Dear Antonio,

Yes, we are using themes.
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: Border on checkbox

Postby Antonio Linares » Mon Feb 02, 2009 2: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:
Code: Select all  Expand view
#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

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Border on checkbox

Postby cdmmaui » Mon Feb 02, 2009 4: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
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: Border on checkbox

Postby Enrico Maria Giordano » Mon Feb 02, 2009 8:58 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 101 guests