Search found 360 matches: flat

Return to advanced search

Re: New FTDN April 2024 (FWH 24.04)

... tener fondos translúcidos. - SetColor( nTextClr, nClrPane, oBrush ): nClrPane ahora puede ser de color alfa o de color sólido. * BtnBmp: Estilo FLAT: El estilo plano se introdujo principalmente para colores sólidos. Aunque también es posible utilizar el fondo degradado, otros estilos son más ...
by Antonio Linares
Wed May 01, 2024 7:04 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 609

New FTDN April 2024 (FWH 24.04)

... possible to have translucent backgrounds - SetColor( nTextClr, nClrPane, oBrush ): nClrPane can now be either alpha color or solid color * BtnBmp: FLAT Style: Flat style was introduce to mainly support solid colors. While it is possible to use Gradient background also, other styles are better suited ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 609

Re: also error with btnbmp SHOWPOPUP

... , now it seem not make error @ 148, 350 BTNBMP aBtnBrow[3] ; RESOURCE "GRID_MNU", "", hBmp2, "" ; SIZE 15, 13 PIXEL FLAT NOROUND GDIP WHEN lMenu OF oDlg ; ACTION ::ShowPopUp( Contextual_Menu( Self,oBrw,oDbf,cIniUser,cSection,oDlg,aBtnBrow[4] ) ) Function Contextual_Menu( ...
by Silvio.Falconi
Mon Apr 01, 2024 10:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1763

Re: Another for Btnbmp

the btnbmp class takes the color of the text to create the internal box when it has focus Yes, for painting focusrect in case of FLAT style buttons. but it shouldn't be like this....the box must be dotted and not necessarily take the color from the color of the text, honestly maybe operationally ...
by Silvio.Falconi
Mon Mar 25, 2024 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5181

Re: Another for Btnbmp

the btnbmp class takes the color of the text to create the internal box when it has focus

Yes, for painting focusrect in case of FLAT style buttons.
by nageswaragunupudi
Mon Mar 25, 2024 12:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5181

Re: Another for Btnbmp

... This border indicates to the user which button has focus currently. You can avoid painting this border, by specifying the clauses "FLAT" along with "NOBORDER". In this case no FocusRect is drawn around the button in focus as a result, the user does not know which ...
by Silvio.Falconi
Mon Mar 25, 2024 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5181

Re: Another for Btnbmp

... This border indicates to the user which button has focus currently. You can avoid painting this border, by specifying the clauses "FLAT" along with "NOBORDER". In this case no FocusRect is drawn around the button in focus as a result, the user does not know which ...
by nageswaragunupudi
Mon Mar 25, 2024 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5181

Re: Another for Btnbmp

Silvio

FLAT NOROUND GDIP

When these attributes are used, it doesn't work.
I have done tests without them, then it works.
There are so many ifs in the class that it would seem better to me to make a new one without all this legacy.
Best regards,
Otto

I used: C:\fwh2023\source\classes\btnbmp.prg
by Otto
Sun Mar 24, 2024 5:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5181

eval an action - Resolved!!

... local bClick:= {|| aImg[5 ] } @ nRow, nCol BTNBMP oItem PROMPT aImg[ 1 ] ; FILE aImg[2 ] ; SIZE 72,96 PIXEL OF oPanel ; NOBORDER FLAT oItem:oCursor:= oCursorBtn oItem:baction:= (bClick) not eval the action
by Silvio.Falconi
Tue Mar 05, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: eval an action - Resolved!!
Replies: 2
Views: 186

Re: link between PRG and RC

https://i.imgur.com/quHCEc0.png https://i.imgur.com/D9gWqWd.png i use xmate or hbmk2 in harbour. :-) for the msvc version of my app i use xmate. for example, this is the .hbp project HBMK2 for fwh+mingw+harbour -hbexe -oprestamos32g -workdir=obj\ -compr -info -inc -t...
by carlos vargas
Tue Jan 30, 2024 1:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: link between PRG and RC
Replies: 20
Views: 1803

Re: show a string into xbrowse

... @ 10, 5 XBROWSE oBrw OF oDlg ; COLUMNS 1,2; HEADERS "gg","" ; COLSIZES 40, 220 ; ARRAY aData ; SIZE -5,-100 PIXEL STYLE FLAT NOBORDER WITH OBJECT oBrw WITH OBJECT oBrw:aCols[1] :cEditPicture := "###gg" END :lHScroll := .f. :CreateFromCode() END
by Silvio.Falconi
Tue Dec 12, 2023 10:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a string into xbrowse
Replies: 4
Views: 412

Re: Error '__streams' referenced from K:\FWH\LIB\FIVEH.LIB|HARB

Estoy compilando un proyecto. \C_BCC\BCC77\bin\BRC32 -r -D__FLAT__ -I\C_BCC\BCC77\include\windows\sdk;\C_BCC\BCC77\include\windows\crtl \proy_harb\rc\plastwin.rc hasta aqui ok \C_BCC\BCC77\bin\ilink32 -Gn -aa -Tpe -s @b32.bc Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologie...
by ruben Dario
Mon Dec 04, 2023 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error '__streams' referenced from K:\FWH\LIB\FIVEH.LIB|HARB
Replies: 15
Views: 2318

Re: change Border color BTNBMP

  @ 200, 20 BTNBMP oBtn PROMPT "Prompt" SIZE 100,40 PIXEL OF oDlg FLAT   oBtn:nClrBorder := CLR_HRED Currently border color is working for FLAT style buttons only. Nages, at init run ok then If I wish change the border on line it not run ok I explain ...
by Silvio.Falconi
Thu Nov 09, 2023 7:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change Border color BTNBMP
Replies: 2
Views: 292

Re: change Border color BTNBMP

Code: Select all  Expand view
  @ 200, 20 BTNBMP oBtn PROMPT "Prompt" SIZE 100,40 PIXEL OF oDlg FLAT
   oBtn:nClrBorder := CLR_HRED


Currently border color is working for FLAT style buttons only.
by nageswaragunupudi
Wed Nov 08, 2023 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change Border color BTNBMP
Replies: 2
Views: 292

Re: Ajustar compilacion y linkado compilador MSVC Microsoft

Estimado José, En el fichero buildh32.bat actual de FWH se usan estos flags: cl.exe -nologo -c -O2 -W4 -wd4127 /I%hdir%\include %1.c en cuando a -d__FLAT__ sirve para declarar un "define" y asi poder reconocer desde el fichero RC que estamos en 32 bits. De la misma forma usamos -d__64__ pa...
by Antonio Linares
Thu Oct 12, 2023 10:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar compilacion y linkado compilador MSVC Microsoft
Replies: 1
Views: 155
Next

Return to advanced search