Search found 140 matches: setdlggradient

Searched query: setdlggradient

by oliveiros junior
Wed Feb 26, 2025 10:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 2
Views: 313

Re: SetDlgGradient

Obrigado Antônio, funcionou.

Att.,

Oliveiros Junior
by Antonio Linares
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
by oliveiros junior
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
by 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 ...
by nageswaragunupudi
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 ...
by oliveiros junior
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
by karinha
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 ...
by oliveiros junior
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 ...
by oliveiros junior
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 ...
by oliveiros junior
Sun Oct 01, 2023 1:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 1574

Re: SetDlgGradient

Thank you all
by karinha
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 ...
by Rick Lipkin
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 ...
by karinha
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 ...
by Rick Lipkin
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
by nageswaragunupudi
Fri Sep 29, 2023 1:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 1574

Re: SetDlgGradient

I have put several of my gradients into functions .. very easy to use ...
Please ensure that the sum of the first column of all sub-arrays is 1.0.
Otherwise, your examples mislead other users who are new.