Search found 1473 matches: nwidth

Return to advanced search

Re: New txbrowse

... AS LOGICAL DATA aCols2Hide AS ARRAY INIT Array(0) DATA aDefaultCols INIT ARRAY( 0 ) DATA aPreviousCols INIT ARRAY( 0 ) METHOD New (nRow, nCol, nWidth, nHeight, oWnd) METHOD SetUserCols(lDefCols) ENDCLASS this is useful because there can be many columns to display, the end user can display the ...
by Silvio.Falconi
Mon Apr 22, 2024 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 391

Re: change size dialog selecting noption folder

... 24.02 we removed a call to ::Resize() from Class TWindow Method Activate() We have restored it providing it the right parameters: ::Resize( 0, ::nWidth, ::nHeight ) If you are using FWH 24.02 please restore that line fixed as above, thanks Surely we will publish a revised FWH 24.02 in the next ...
by Silvio.Falconi
Fri Mar 15, 2024 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change size dialog selecting noption folder
Replies: 3
Views: 619

Re: change size dialog selecting noption folder

... 24.02 we removed a call to ::Resize() from Class TWindow Method Activate() We have restored it providing it the right parameters: ::Resize( 0, ::nWidth, ::nHeight ) If you are using FWH 24.02 please restore that line fixed as above, thanks Surely we will publish a revised FWH 24.02 in the next ...
by Antonio Linares
Fri Mar 15, 2024 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change size dialog selecting noption folder
Replies: 3
Views: 619

Re: Tamaño de Icono

gracias por tu tiempo Joao!! de esta forma lo declaro. REDEFINE ICON oIcono ID MiMje_Icono OF oDlg ; FILENAME "PREGUNTA.ICO" oIcono:nWidth = 48 oIcono:nHeight = 48 oIcono:lTransparent = .t. José, nos é mejor usar una BITMAP en este caso?    REDEFINE BITMAP oBtnA ID 120 RESOURCE ...
by karinha
Mon Feb 26, 2024 3:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño de Icono
Replies: 4
Views: 154

Re: Tamaño de Icono

gracias por tu tiempo Joao!!
de esta forma lo declaro.

REDEFINE ICON oIcono ID MiMje_Icono OF oDlg ;
FILENAME "PREGUNTA.ICO"
oIcono:nWidth = 48
oIcono:nHeight = 48
oIcono:lTransparent = .t.
by José Camilo
Mon Feb 26, 2024 3:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño de Icono
Replies: 4
Views: 154

Re: Create a Panel width a text

... works well in fact it shows the initial message then if you see well I replaced the getlabeldim function with CalcTextHeight( hDC, cText, oFont, nWidth ) corrected by Nageswarao On your sample: oPaneltext cannot be the same name of a Panel I propose to usare oTExt MEMOTEXT := alltrim( cMsg ) ...
by Silvio.Falconi
Mon Feb 26, 2024 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3193

Re: Create a Panel width a text

function CalcTextHeight( hDC, cText, oFont, nWidth )   local oWnd, nHt   DEFAULT hDC := GetDC( 0 )   if HB_ISOBJECT( hDC )      oWnd     := hDC      hDC      := oWnd:GetDC()      DEFAULT oFont := oWnd:oFont, nWidth ...
by Silvio.Falconi
Fri Feb 23, 2024 12:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3193

Re: Create a Panel width a text

I found a function CalcTextHeight(cText, oFont, nWidth,oPanel) but it not run ok because the other panels are not refreshed https://i.postimg.cc/wvPFgmWd/test.gif #include "FiveWin.ch"//#include "ribbon.ch"//----------------------------------------------------------------------------//static ...
by Silvio.Falconi
Fri Feb 16, 2024 3:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3193

Re: WebView2 Essentials: Guides, Tips & Resources

... nBindResult, cFromPrgToJS): Handles the return value from a bound function. SetTitle(cTitle): Sets the title of the web view window. SetSize(nWidth, nHeight, nHints): Sets the size of the web view window with optional size hints. Print(): Invokes the print function of the web view. SetParent(oWnd): ...
by Otto
Wed Jan 10, 2024 7:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 Essentials: Guides, Tips & Resources
Replies: 2
Views: 481

Imprimir grafico insertado en tRichEdit5

... Queria saber si alguien ha podido imprimir algun grafico insertado en TRichEdit5, con sentencia : @ nRow, nCol PRINT TO prn TEXT cTextRTF SIZE nWidth,nHeight MM Esta sentencia imprime todo el texto editado con TRichEdit5, pero la imagen insertada la ignora. En otro punto, cuando se quiere imprimir ...
by Modesto
Mon Jan 08, 2024 1:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir grafico insertado en tRichEdit5
Replies: 4
Views: 425

Re: Create a Panel width a text

... oPanel1 is a ttaskpanel //the shadow oItem1:=Tpanel():New( oPanel1:nTitleHeight +10, 10,; oPanel1:nBottom-30,oPanel1:nWidth-40, oPanel1 ) oItem1:SetBrush( oBrushshadow ) //panel for the text oItem2:=Tpanel():New( 2, 2,; oItem1:nBottom-45,oItem1:nWidth-4, oItem1) oItem2:SetBrush( ...
by Silvio.Falconi
Thu Jan 04, 2024 10:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3193

Re: Definir font richedit5

... #command @ <nTop>, <nLeft> RICHEDIT5 [ <oRTF> VAR ] <uVar> ; [ <dlg: OF, WINDOW, DIALOG> <oWnd> ] ; [ SIZE <nWidth>, <nHeight> ] ; [ FONT <oFont> ] ; [ <pixel: PIXEL> ] ; [ MESSAGE <cMsg> ] ; [ <lHScroll: HSCROLL> ] ; [ <readonly: ...
by cnavarro
Sun Dec 24, 2023 10:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Definir font richedit5
Replies: 3
Views: 603

Re: Add a Checkbox() column

... = { || TRANSFORM( field->imp_eff, "@ZE 999,999,999.99" ) } oCol:cHeader = "TOTALE CLIENTE" oCol:nEditType = EDIT_NONE oCol:nWidth = 100 oCol:nDataStrAlign := AL_RIGHT How can I add another column that read / edit the value of field->seleziona Logical type? I want to see ...
by MarcoBoschi
Mon Dec 11, 2023 12:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add a Checkbox() column
Replies: 8
Views: 855

Re: New FTDN October/Octubre 2023 (FWH 23.10)

... es equivalente a hacer oItem:oTree:Select( oItem ), así que ahora puedes simplemente hacer oItem:Select() * Mejora: DEFINE WINDOW ... SIZE nWidth, nHeight son soportados. * Nuevo: Ejemplo samples\winexpl.prg, muestra cómo usar EnumChildWindows(). * Mejora: En XBrowse, ahora se puede especificar ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3909

Problem with Numeric get

... UPDATE @ 70, 82 GET aGet[6] VAR nLeft OF oDlg SIZE 28, 12 PIXEL FONT oFont PICTURE "@Z 999.99" UPDATE @ 70, 245 GET aGet[7] VAR nWidth OF oDlg SIZE 28, 12 PIXEL FONT oFont PICTURE "@Z 999.99" UPDATE @ 70, 245 GET aGet[8] VAR nHeight OF oDlg SIZE 28, 12 PIXEL FONT oFont ...
by Silvio.Falconi
Sat Dec 02, 2023 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Numeric get
Replies: 0
Views: 337
Next

Return to advanced search