... IIF( !empty(cMailName),;
oBtnSel[2]:SETFILE("SEL_PIE"),;
oBtnSel[2]:SETFILE("SEL_VUO") ) ) ; */
For n= 1 to 2
oBtnSel[n]:bClrGrad := { | lPressed | If( ! lPressed,;
{ { 1, DLG_nColorBar1, DLG_nColorBar1} },;
{ { 1, DLG_nColorBar2, DLG_nColorBar2} } ) }
oBtnSel[n]:nClrBorder := DLG ...
Search found 77 matches: lpressed
Searched query: lpressed
- Fri Feb 07, 2025 1:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: AEvalWhen problems RESOLVED
- Replies: 1
- Views: 314
- Fri Jan 17, 2025 11:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4828
Re: Using new Class TDeepSeek for documenting
... Type:** `NUMERIC`
- **Description:** The color of the combo box border. Initialized to `CLR_GRAY`.
5. **`lWorking`, `lBtnUp`, `lBtnDown`, `lPressed`**
- **Type:** `LOGICAL`
- **Description:** Flags to track the state of the combo box (e.g., whether it is being interacted with, whether a ...
- **Description:** The color of the combo box border. Initialized to `CLR_GRAY`.
5. **`lWorking`, `lBtnUp`, `lBtnDown`, `lPressed`**
- **Type:** `LOGICAL`
- **Description:** Flags to track the state of the combo box (e.g., whether it is being interacted with, whether a ...
- Fri Jan 17, 2025 10:49 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4828
Re: Using new Class TDeepSeek for documenting
... has been released.
5. **`lBtnDown`**
- **Type:** Logical
- **Description:** A flag indicating whether the mouse button is pressed down.
6. **`lPressed`**
- **Type:** Logical
- **Description:** A flag indicating whether the button is currently in a pressed state.
7. **`lProcessing`**
- **Type ...
5. **`lBtnDown`**
- **Type:** Logical
- **Description:** A flag indicating whether the mouse button is pressed down.
6. **`lPressed`**
- **Type:** Logical
- **Description:** A flag indicating whether the button is currently in a pressed state.
7. **`lProcessing`**
- **Type ...
- Fri Jan 17, 2025 10:48 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4828
Re: Using new Class TDeepSeek for documenting
... is clicked. |
| `aBmpRect` | Array | Rectangle coordinates for the bitmap. |
| `cAction` | String | A string description of the action. |
| `lPressed` | Logical | Indicates if the button is currently pressed. |
| `lAdjust` | Logical | Indicates if the button should adjust its size based on the ...
| `aBmpRect` | Array | Rectangle coordinates for the bitmap. |
| `cAction` | String | A string description of the action. |
| `lPressed` | Logical | Indicates if the button is currently pressed. |
| `lAdjust` | Logical | Indicates if the button should adjust its size based on the ...
- Fri Jun 21, 2024 3:41 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: cambiar imagen en BTNBMP
- Replies: 7
- Views: 1053
Re: cambiar imagen en BTNBMP
... aControls[ n ]: = "AmarilloClaro20.bmp"
endif
********
//oDlg:aControls[ n ]:cToolTip = DToC(dWork)
if dWork == dSelect
oDlg:aControls[ n ]:lPressed = .T.
oDlg:aControls[ n ]:cToolTip = "Selecciono"
endif
dWork++
next n
Si puedes hecharme una mano te agradezco, solo esto me falta para ...
endif
********
//oDlg:aControls[ n ]:cToolTip = DToC(dWork)
if dWork == dSelect
oDlg:aControls[ n ]:lPressed = .T.
oDlg:aControls[ n ]:cToolTip = "Selecciono"
endif
dWork++
next n
Si puedes hecharme una mano te agradezco, solo esto me falta para ...
- Sun Jun 16, 2024 6:31 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Problemas con una búsqueda.
- Replies: 4
- Views: 884
Re: Problemas con una búsqueda.
... ATail( oDlg:aControls ):Cargo))), CLR_BROWN,CLR_BLACK ), CLR_CYAN ) ) ) )
if ATail( oDlg:aControls ):Cargo == dDate
ATail( oDlg:aControls ):lPressed = .t.
ATail( oDlg:aControls ):cToolTip = "Selección"
elseif ATail( oDlg:aControls ):Cargo == Date()
ATail( oDlg:aControls ):cToolTip = "Hoy ...
if ATail( oDlg:aControls ):Cargo == dDate
ATail( oDlg:aControls ):lPressed = .t.
ATail( oDlg:aControls ):cToolTip = "Selección"
elseif ATail( oDlg:aControls ):Cargo == Date()
ATail( oDlg:aControls ):cToolTip = "Hoy ...
- Wed Mar 20, 2024 11:37 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Another for Btnbmp
- Replies: 26
- Views: 9044
Re: Another for Btnbmp
... u,oBtn|
local clr := RGB( 245,245,235)
if oBtn:lActive
if oBtn:lMOver
clr := {{ 1, RGB( 250,250,245),RGB( 250,250,245) }}
elseif oBtn:lPressed
clr := RGB( 180,136,85 )
else
clr := RGB( 245,245,235)
endif
endif
return clr
>
obtn[n]:nClrBorder := RGB(195,195,185)
obtn[n]:oCursor ...
local clr := RGB( 245,245,235)
if oBtn:lActive
if oBtn:lMOver
clr := {{ 1, RGB( 250,250,245),RGB( 250,250,245) }}
elseif oBtn:lPressed
clr := RGB( 180,136,85 )
else
clr := RGB( 245,245,235)
endif
endif
return clr
>
obtn[n]:nClrBorder := RGB(195,195,185)
obtn[n]:oCursor ...
- Mon Jun 12, 2023 5:27 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Select one btnbmp into a scrollpanel
- Replies: 1
- Views: 233
Select one btnbmp into a scrollpanel
... 1, RGB( 229,241,251 ), RGB( 229,241,251 ) } } ) }
aBtnEle[n]:cargo:= lActive
aBtnEle[n]:bAction :={ || lActive := !lActive, aBtnEle[n]:lpressed:=If( lActive, .t.,.f. ) }
nRow+=55
nCol:=10
NEXT
How I can resolve ?
I tried also with
aBtnEle[n]:cargo:= lActive
aBtnEle[n]:bAction ...
aBtnEle[n]:cargo:= lActive
aBtnEle[n]:bAction :={ || lActive := !lActive, aBtnEle[n]:lpressed:=If( lActive, .t.,.f. ) }
nRow+=55
nCol:=10
NEXT
How I can resolve ?
I tried also with
aBtnEle[n]:cargo:= lActive
aBtnEle[n]:bAction ...
- Sat Jun 03, 2023 6:22 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: SAY dentro de BUTTOMBAR??
- Replies: 4
- Views: 462
Re: SAY dentro de BUTTOMBAR??
... los 2 primeros array marcan los colores del boton al pasar por el, los segundor
// array marcan el gradient de la barra
oBar:bClrGrad := { | lPressed | If( ! lPressed, ;
{ { 1, nRGB( 123, 183, 164 ), nRGB( 151, 164, 174 ) } }, ;
{ { 1, nRGB( 166, 238, 253 ), nRGB( 185, 168, 49 ) } } ) }
return ...
// array marcan el gradient de la barra
oBar:bClrGrad := { | lPressed | If( ! lPressed, ;
{ { 1, nRGB( 123, 183, 164 ), nRGB( 151, 164, 174 ) } }, ;
{ { 1, nRGB( 166, 238, 253 ), nRGB( 185, 168, 49 ) } } ) }
return ...
- Thu Feb 09, 2023 8:31 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: btnbmp state
- Replies: 2
- Views: 294
Re: btnbmp state
Dear Silvio,
Try with aBtnBrow[3]:lPressed = .T.
Try with aBtnBrow[3]:lPressed = .T.
- Mon Oct 17, 2022 10:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: show a btnbmp pressed on buttonbar
- Replies: 9
- Views: 996
Re: show a btnbmp pressed
... numbers" ;
ACTION (ChangePressedBtn(oSelf:oPlus))
Function ChangePressedBtn(oBtn) local bClrGradSelect := {| lPressed | if( lPressed ,; { ; {2/5, nRGB( 253,212,168 ), nRGB( 251 ...
ACTION (ChangePressedBtn(oSelf:oPlus))
Function ChangePressedBtn(oBtn) local bClrGradSelect := {| lPressed | if( lPressed ,; { ; {2/5, nRGB( 253,212,168 ), nRGB( 251 ...
- Mon Oct 17, 2022 10:44 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: show a btnbmp pressed on buttonbar
- Replies: 9
- Views: 996
Re: show a btnbmp pressed
I tried
DEFINE BUTTON oSelf:oPlus FILENAME ".\bitmaps\plus.bmp" OF ::oBar ;
TOOLTIP "plus numbers" ;
ACTION (oSelf:oPlus:lPressed:=!oSelf:oPlus:lPressed,;
oSelf:oPlus:setcolor( CLR_BLUE, If( oSelf:oPlus:lPressed == .t., CLR_RED, CLR_BLUE )) ,;
oSelf:oPlus:refresh()
but not run ok
DEFINE BUTTON oSelf:oPlus FILENAME ".\bitmaps\plus.bmp" OF ::oBar ;
TOOLTIP "plus numbers" ;
ACTION (oSelf:oPlus:lPressed:=!oSelf:oPlus:lPressed,;
oSelf:oPlus:setcolor( CLR_BLUE, If( oSelf:oPlus:lPressed == .t., CLR_RED, CLR_BLUE )) ,;
oSelf:oPlus:refresh()
but not run ok
- Mon Oct 17, 2022 10:14 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: show a btnbmp pressed on buttonbar
- Replies: 9
- Views: 996
show a btnbmp pressed on buttonbar
... a button it stays pressed to simulate the select option , so I made
DEFINE BUTTON oSelf:oPlus FILENAME ".\bitmaps\plus.bmp" OF ::oBar ;
TOOLTIP "plus numbers" ;
ACTION (oSelf:oPlus:lPressed:=!oSelf:oPlus:lPressed, oSelf:oPlus:refresh())
but it is pressed but not change the color how resolve?
DEFINE BUTTON oSelf:oPlus FILENAME ".\bitmaps\plus.bmp" OF ::oBar ;
TOOLTIP "plus numbers" ;
ACTION (oSelf:oPlus:lPressed:=!oSelf:oPlus:lPressed, oSelf:oPlus:refresh())
but it is pressed but not change the color how resolve?
- Mon Oct 17, 2022 7:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPopUp in class btnbmp
- Replies: 15
- Views: 1593
Re: oPopUp in class btnbmp
... 1 ) + ::nWide_P + 1
Line 1062
//if nCol >= ::nWidth() - 13
if nCol >= ::nWidth() - ::nWide_P
Line 2079
//MoveTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), 1 )
//LineTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), nHeight - 1 )
MoveTo( hDC, nWidth - ::nWide_P - 1 + If( ::lPressed, 1, 0 ), 1 ...
Line 1062
//if nCol >= ::nWidth() - 13
if nCol >= ::nWidth() - ::nWide_P
Line 2079
//MoveTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), 1 )
//LineTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), nHeight - 1 )
MoveTo( hDC, nWidth - ::nWide_P - 1 + If( ::lPressed, 1, 0 ), 1 ...
- Mon Oct 17, 2022 6:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPopUp in class btnbmp
- Replies: 15
- Views: 1593
Re: oPopUp in class btnbmp
... 1 ) + ::nWide_P + 1
Line 1062
//if nCol >= ::nWidth() - 13
if nCol >= ::nWidth() - ::nWide_P
Line 2079
//MoveTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), 1 )
//LineTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), nHeight - 1 )
MoveTo( hDC, nWidth - ::nWide_P - 1 + If( ::lPressed, 1, 0 ), 1 ...
Line 1062
//if nCol >= ::nWidth() - 13
if nCol >= ::nWidth() - ::nWide_P
Line 2079
//MoveTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), 1 )
//LineTo( hDC, nWidth - 12 + If( ::lPressed, 1, 0 ), nHeight - 1 )
MoveTo( hDC, nWidth - ::nWide_P - 1 + If( ::lPressed, 1, 0 ), 1 ...