Obrigado Antônio, funcionou.
Att.,
Oliveiros Junior
Search found 140 matches: setdlggradient
Searched query: setdlggradient
- Wed Feb 26, 2025 10:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 2
- Views: 313
- Wed Feb 26, 2025 11:20 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 2
- Views: 313
Re: SetDlgGradient
Prueba a llamar a SetDlgGradient( nil ) nuevamente
- Wed Feb 26, 2025 11:08 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 2
- Views: 313
SetDlgGradient
Good morning guys!
I would like to know if it is possible to cancel the inheritance of a SetDlgGradient?
Ex: I applied the SetDlgGradient command on one screen and when moving to another, I want to cancel this inheritance.
Att.,
Oliveiros Junior
I would like to know if it is possible to cancel the inheritance of a SetDlgGradient?
Ex: I applied the SetDlgGradient command on one screen and when moving to another, I want to cancel this inheritance.
Att.,
Oliveiros Junior
- Fri Apr 19, 2024 1:42 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Brush
- Replies: 10
- Views: 1818
Re: Brush
... bitmaps\pngs\2.png"
DEFINE DIALOG oDlg SIZE 800, 600 ;
STYLE nOr( WS_CHILD, WS_POPUP ) ;
COLOR CLR_BLACK, CLR_BLACK TRUEPIXEL
SetDlgGradient( { { 0.7, CLR_WHITE, CLR_WHITE }, ;
{ 0.3, CLR_BLACK, CLR_BLACK }, .F. } )
@ 0, 0 BITMAP oImagem FILENAME cImagem ;
SIZE 400, 600 OF ...
DEFINE DIALOG oDlg SIZE 800, 600 ;
STYLE nOr( WS_CHILD, WS_POPUP ) ;
COLOR CLR_BLACK, CLR_BLACK TRUEPIXEL
SetDlgGradient( { { 0.7, CLR_WHITE, CLR_WHITE }, ;
{ 0.3, CLR_BLACK, CLR_BLACK }, .F. } )
@ 0, 0 BITMAP oImagem FILENAME cImagem ;
SIZE 400, 600 OF ...
- Wed Oct 11, 2023 10:42 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowser click
- Replies: 16
- Views: 3030
Re: xBrowser click
... and confusing to users. Instead better to use right-click or double-click.
Anyway, the decision is yours.
another question is about the SetDlgGradient command, when dividing a screen as follows: SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ) , the SAY ...
Anyway, the decision is yours.
another question is about the SetDlgGradient command, when dividing a screen as follows: SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ) , the SAY ...
- Wed Oct 11, 2023 6:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowser click
- Replies: 16
- Views: 3030
Re: xBrowser click
Oi Karinha,
Quanto ao SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), ele funciona, mister RAO quem orientou.
Obrigado quanto a sua proposta. Vou experimentar e retorno.
Att.,
Oliveiros Junior
Quanto ao SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), ele funciona, mister RAO quem orientou.
Obrigado quanto a sua proposta. Vou experimentar e retorno.
Att.,
Oliveiros Junior
- Wed Oct 11, 2023 3:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowser click
- Replies: 16
- Views: 3030
Re: xBrowser click
Oi Karinha, obrigado pela resposta. O caso do SAY é o seguinte:
Criei uma dialog e pintei com o comando SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), que é 9/10 branco e 1/10 negro. Dai coloquei uma imagem e escrevi sobre a imagem, com um SAY. Na parte ...
Criei uma dialog e pintei com o comando SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), que é 9/10 branco e 1/10 negro. Dai coloquei uma imagem e escrevi sobre a imagem, com um SAY. Na parte ...
- Wed Oct 11, 2023 3:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowser click
- Replies: 16
- Views: 3030
Re: xBrowser click
Oi Karinha, obrigado pela resposta. O caso do SAY é o seguinte:
Criei uma dialog e pintei com o comando SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), que é 9/10 branco e 1/10 negro. Dai coloquei uma imagem e escrevi sobre a imagem, com um SAY. Na parte ...
Criei uma dialog e pintei com o comando SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), que é 9/10 branco e 1/10 negro. Dai coloquei uma imagem e escrevi sobre a imagem, com um SAY. Na parte ...
- Wed Oct 11, 2023 2:30 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowser click
- Replies: 16
- Views: 3030
xBrowser click
... would like to know if it is possible to assign an action when clicking just once on a cell in the xBrowser, and another question is about the SetDlgGradient command, when dividing a screen as follows: SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ) , the SAY ...
- Sun Oct 01, 2023 1:20 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 10
- Views: 1574
Re: SetDlgGradient
Thank you all
- Sat Sep 30, 2023 5:36 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 10
- Views: 1574
Re: SetDlgGradient
... RETURN( bGrad )
FUNCTION BlueGreenGrad()
LOCAL xGrad4 := {{ 1.00, 14671839, 7419904 }, { 1.00,7419904, 14671839 }} // med blue
SetDlgGradient( xGrad4 )
RETURN NIL
FUNCTION SolidGreenBlue()
SetDlgGradient({ { 0.01, 9994298, 9994298 },{ 0.01, 9994298, 9994298 } })
RETURN NIL ...
FUNCTION BlueGreenGrad()
LOCAL xGrad4 := {{ 1.00, 14671839, 7419904 }, { 1.00,7419904, 14671839 }} // med blue
SetDlgGradient( xGrad4 )
RETURN NIL
FUNCTION SolidGreenBlue()
SetDlgGradient({ { 0.01, 9994298, 9994298 },{ 0.01, 9994298, 9994298 } })
RETURN NIL ...
- Fri Sep 29, 2023 9:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 10
- Views: 1574
Re: SetDlgGradient
Here is the button gradient
REDEFINE BTNBMP oBtn2 ID 251 of oGrps ; // cancel
RESOURCE "CANCEL" ;
PROMPT "&Cancel" LEFT 2007;
ACTION( loK := .F., oGrps:END() ) ;
GRADIENT GreyButtonGrad()
oButt2:lCancel := .t.
//-----------------
Func GreyButtonGrad()
// 2010 grey button skin
Local bGrad ...
REDEFINE BTNBMP oBtn2 ID 251 of oGrps ; // cancel
RESOURCE "CANCEL" ;
PROMPT "&Cancel" LEFT 2007;
ACTION( loK := .F., oGrps:END() ) ;
GRADIENT GreyButtonGrad()
oButt2:lCancel := .t.
//-----------------
Func GreyButtonGrad()
// 2010 grey button skin
Local bGrad ...
- Fri Sep 29, 2023 2:33 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 10
- Views: 1574
Re: SetDlgGradient
Good morning Rick, can you make a complete example showing how your functions work?
Buenos días Rick, ¿puedes hacer un ejemplo completo que muestre cómo funcionan tus funciones?
Tipo así:
Like that:
// C:\FWH..\SAMPLES\GRADHOR3.PRG
#include "FiveWin.ch"
#define CLR_MSPURPLE RGB( 0, 120, 215 ...
Buenos días Rick, ¿puedes hacer un ejemplo completo que muestre cómo funcionan tus funciones?
Tipo así:
Like that:
// C:\FWH..\SAMPLES\GRADHOR3.PRG
#include "FiveWin.ch"
#define CLR_MSPURPLE RGB( 0, 120, 215 ...
- Fri Sep 29, 2023 12:55 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 10
- Views: 1574
Re: SetDlgGradient
Rao
I am a bit perplexed ? ... These functions work just fine for me ... what have I done wrong or need to change ?
Thanks
Rick Lipkin
ps, I have noticed with newer versions of FWH that the above gradients paint slower than in previous versions of FWH
I am a bit perplexed ? ... These functions work just fine for me ... what have I done wrong or need to change ?
Thanks
Rick Lipkin
ps, I have noticed with newer versions of FWH that the above gradients paint slower than in previous versions of FWH
- Fri Sep 29, 2023 1:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: SetDlgGradient
- Replies: 10
- Views: 1574
Re: SetDlgGradient
Please ensure that the sum of the first column of all sub-arrays is 1.0.I have put several of my gradients into functions .. very easy to use ...
Otherwise, your examples mislead other users who are new.