Search found 358 matches: flat

Return to advanced search

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: 1674

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: 4927

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: 4927

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: 4927

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: 4927

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: 4927

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: 168

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: 1657

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: 410

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: 2271

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: 283

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: 283

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: 142

Ajustar compilacion y linkado compilador MSVC Microsoft

Saludos a todos. Estoy usando Borland 7.40 como compilador y el editor el Fivedit, con el que no tengo problema, pero mi objetivo futuro seria pasarme a 64 bits. y ahi creo que la mejor opcion es el compilador de Microsoft , es por lo que estoy haciendo pruebas con la version de 32 bits que tengo de...
by jvtecheto
Thu Oct 12, 2023 6:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar compilacion y linkado compilador MSVC Microsoft
Replies: 1
Views: 142

Re: How to make TFOLDEREX in FLAT style?

...  local oDlg, oFld   DEFINE DIALOG oDlg SIZE 400,300 PIXEL TRUEPIXEL ;      TITLE "FOLDEREX FLAT STYLE by Leandro"   @ 10,10 FOLDEREX oFld ADJUST OF oDlg SIZE 380,280 PIXEL ;      PROMPT "Monday", "Tuesday", ...
by nageswaragunupudi
Tue Sep 26, 2023 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to make TFOLDEREX in FLAT style?
Replies: 11
Views: 639
Next

Return to advanced search