Search found 136 matches: setdlggradient

Return to advanced search

Re: xBrowser click

... behaviour 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. } ) ...
by nageswaragunupudi
Wed Oct 11, 2023 10:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser click
Replies: 16
Views: 784

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 oliveiros junior
Wed Oct 11, 2023 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser click
Replies: 16
Views: 784

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, ...
by karinha
Wed Oct 11, 2023 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser click
Replies: 16
Views: 784

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, ...
by oliveiros junior
Wed Oct 11, 2023 3:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser click
Replies: 16
Views: 784

xBrowser click

... I 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. } ) ...
by oliveiros junior
Wed Oct 11, 2023 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowser click
Replies: 16
Views: 784

Re: SetDlgGradient

Thank you all
by oliveiros junior
Sun Oct 01, 2023 1:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

Re: SetDlgGradient

...  LOCAL xGrad4 :=  {{ 1.00, 14671839, 7419904 }, { 1.00,7419904, 14671839 }}   // med blue   SetDlgGradient( xGrad4 )RETURN NILFUNCTION SolidGreenBlue()   SetDlgGradient({ { 0.01, 9994298, 9994298 },{ ...
by karinha
Sat Sep 30, 2023 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

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....
by Rick Lipkin
Fri Sep 29, 2023 9:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

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,  ...
by karinha
Fri Sep 29, 2023 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

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 Rick Lipkin
Fri Sep 29, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

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.
by nageswaragunupudi
Fri Sep 29, 2023 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

Re: SetDlgGradient

... xGrad4 :=  {{ 1.00,14671839,   7419904 }, { 1.00,7419904,  14671839 }}   // med blueSetDlgGradient( xGrad4 )Return(nil)//---------------------Func SolidGreenBlue()SetDlgGradient({ { 0.01,9994298,9994298 ...
by Rick Lipkin
Thu Sep 28, 2023 9:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

Re: SetDlgGradient

Thanks Mr. Rao and Karinha
by oliveiros junior
Thu Sep 28, 2023 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

Re: SetDlgGradient

// C:\FWH..\SAMPLES\GRADHOR2.PRG#include "fivewin.ch"FUNCTION Main()   LOCAL oDlg, aGrad, oBrush, oBrush1, oBrush2   aGrad := { { 0.4, CLR_GREEN,  CLR_HGREEN }, ;              { 0.6, CLR_HGREEN, CLR_GR...
by karinha
Thu Sep 28, 2023 3:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751

Re: SetDlgGradient

Try like this:
Code: Select all  Expand view
SetDlgGradient( { { 0.6, CLR_BLUE, CLR_WHITE }, { 0.4, CLR_WHITE, CLR_BLUE }, .F. } )

If the last element of the gradient array is .F., instead of an array, the gradient is horizontal.
by nageswaragunupudi
Thu Sep 28, 2023 3:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetDlgGradient
Replies: 10
Views: 751
Next

Return to advanced search