Search found 15 matches: ocheckbox

Return to advanced search

Re: disable "visual Style" for "some" Controls

hi Antonio,
Antonio Linares wrote:Please try it using SetWindowTheme( oCheckbox:hWnd, "", "" )

YES, now i got Dark-Mode for CHECKBOX :D
Image
by Jimmy
Mon Nov 28, 2022 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: disable "visual Style" for "some" Controls
Replies: 3
Views: 332

Re: disable "visual Style" for "some" Controls

Dear Jimmy,

Please try it using SetWindowTheme( oCheckbox:hWnd, "", "" )
by Antonio Linares
Mon Nov 28, 2022 11:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: disable "visual Style" for "some" Controls
Replies: 3
Views: 332

Re: Dark-Mode and CHECKBOX

hi Antonio, Have you tried oCheckBox:SetColor( nClrForeground, nClrBackground ) ? No, i have used COLOR BFcolor, BGcolor but Result is same https://i.postimg.cc/gjwLD7g1/Set-Color-Checkbox.png the Caption is always BLACK ...
by Jimmy
Sun Nov 27, 2022 10:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark-Mode and CHECKBOX
Replies: 16
Views: 1001

Re: Dark-Mode and CHECKBOX

Dear Jimmy,

Have you tried oCheckBox:SetColor( nClrForeground, nClrBackground ) ?
by Antonio Linares
Sun Nov 27, 2022 8:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dark-Mode and CHECKBOX
Replies: 16
Views: 1001

Re: Finding the caption of a Hash

Looking at the functions this code is working

@ nPos,20 CHECKBOX oCheckbox[1] VAR hApi["OFFERTE"] PROMPT hb_HKeyAt( hApi, hb_HPos( hApi, "OFFERTE" ) ) SIZE 80,15 PIXEL OF oDlg

Now I can change the hardcode text with random fields.

Thanks
by Marc Venken
Sun Apr 03, 2022 6:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the caption of a Hash
Replies: 6
Views: 474

Re: Finding the caption of a Hash

Hi Marc,
I think hApi["OFFERTE"] gets the logical value of the checkbox object and the caption should be oCheckbox[1]:cCaption.

Regards, Detlef
by Detlef
Fri Apr 01, 2022 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the caption of a Hash
Replies: 6
Views: 474

Finding the caption of a Hash

... coded tobe PROMPT hApi["OFFERTE"]:caption // or :key or I can't find the correct METHOD to find the titel OFFERTE @ nPos,20 CHECKBOX oCheckbox[1] VAR hApi["OFFERTE"] PROMPT "Offertes" SIZE 80,15 PIXEL OF oDlg
by Marc Venken
Fri Apr 01, 2022 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the caption of a Hash
Replies: 6
Views: 474

Frances, Try to refresh just those controls: oGroup:Refresh() oCheckbox:Refresh() oButton:Refresh() Hello Mr. Antonio, I already tried this: ... REDEFINE SPLITTER oVSplit ID 1004 ; VERTICAL _3DLOOK ; PREVIOUS CONTROLS aGroup[1], oLocalXbrw ...
by fraxzi
Sat Dec 20, 2008 12:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH8.11 Dialog Flickers when Refresh
Replies: 12
Views: 4235

Frances,

Try to refresh just those controls:

oGroup:Refresh()
oCheckbox:Refresh()
oButton:Refresh()
by Antonio Linares
Fri Dec 19, 2008 1:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH8.11 Dialog Flickers when Refresh
Replies: 12
Views: 4235

Check Boxes

... It seems that checkbox have no readonly possibilities. They do in a sense. When disabled (either by oCheckbox:Disable() or "when .F.") they can't be changed, but they do turn gray. What you might have to do (not tested) is to modify the new method ...
by Antonio Linares
Wed Aug 27, 2008 7:43 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 93742

Kleyber,

oCheckBox:SetText( cTexto ) debe funcionar
by Antonio Linares
Wed Feb 28, 2007 12:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Checkbox
Replies: 8
Views: 1437

Peter,

<oCheckBox>:SetCheck( .f. )
by Antonio Linares
Tue Jul 25, 2006 7:18 am
 
Forum: FiveWin for CA-Clipper
Topic: CheckBox
Replies: 2
Views: 1036

Pawel,

You may disable them:

<oCheckBox>:Disable()

or if used from a dialogbox, then set WHEN to .f.

REDEFINE CHECKBOX ... WHEN .f.
by Antonio Linares
Fri Nov 11, 2005 8:42 pm
 
Forum: FiveWin for Pocket PC
Topic: Readonly Combobox and Checkbox
Replies: 2
Views: 1070

Re: CheckBox transparente

Como bien dice Hernan, eso es lo primero a probar:

Hernan Diego Ceccarelli wrote: Si le asignas un BRUSH tipo NULL al control, no se pone transparente ???
Algo asi: oCheckBox:SetBrush( Trush():New("NULL") )

Eso lo has probado ?


Le faltó una "B": TBrush():New( "NULL" ) :)
by Antonio Linares
Sun Oct 09, 2005 4:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckBox transparente
Replies: 6
Views: 2576

Re: CheckBox transparente

... indicar como lo resolviste ?. Gracias. Antonio F. Ortega Si le asignas un BRUSH tipo NULL al control, no se pone transparente ??? Algo asi: oCheckBox:SetBrush( Trush():New("NULL") ) Eso lo has probado ? Hernan
by Hernan Diego Ceccarelli
Sat Oct 08, 2005 7:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckBox transparente
Replies: 6
Views: 2576

Return to advanced search