Search found 19 matches: setcoors

Return to advanced search

Re: Imprimir en rollo y matriz de punto

... of the command separated with commas,               for example, the command to reset Epson printers should               be: "27,69" SetCoors(r,c) Let you change the current row and col is the equivalent of               SetPrc() of Ca-Clipper NewLine()     Increments the current ...
by JoseAlvarez
Wed Sep 22, 2021 12:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir en rollo y matriz de punto
Replies: 21
Views: 1846

Re: Fwh19.05 - New Class TDockPnel

Leandro, solo tienes que modificar la linea del Dock1 que define la altura WITH OBJECT oDock1 :SetHeightCaption( 40 ) :SetCoors( { | o | 10 }, { | o | 10 }, ; { | o | Int( o:oWnd:nHeight / 2 ) + 54 }, ; { | o | Int( o:oWnd:nWidth / 2 ) - XEVal( o:nLeft, o ) } ) En este caso se está ...
by cnavarro
Tue Dec 10, 2019 7:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh19.05 - New Class TDockPnel
Replies: 93
Views: 16037

Re: Fwh19.05 - New Class TDockPnel

... Es realmente sencillo referenciar los objetos al contenedor principal, y al resto de objetos ya situados si te fijas un poco en el metodo SetCoors() Lo primero es entender que las coordenadas pueden ser absolutas, o sea numeros tal y como estamos actualmente acostumbrados a definir: :nTop ...
by cnavarro
Tue Dec 10, 2019 11:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh19.05 - New Class TDockPnel
Replies: 93
Views: 16037

Re: Fwh19.05 - New Class TDockPnel

... problema es que me queda un espacio a la derecha , como si aun estuvieran los paneles 4 y 5. Me podrias explicar un poco como funciona el tema de setcoors y también para que sirve la funcion GetSysMetrics(). https://hymplus.com/forofw/tdocpanel.png De antemano gracias
by leandro
Tue Dec 10, 2019 10:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh19.05 - New Class TDockPnel
Replies: 93
Views: 16037

Re: class tprinter and a dot-matrix printer

... content the ascii values of the command separated with commas, for example, the command to reset Epson printers should be: "27,69" SetCoors(r,c) Let you change the current row and col is the equivalent of SetPrc() of Ca-Clipper NewLine() Increments the current row Write(cText) Prints ...
by ukoenig
Sun Mar 26, 2017 3:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: class tprinter and a dot-matrix printer
Replies: 2
Views: 765

Re: Ejemplo TdosPrn

... content the ascii values of the command separated with commas, for example, the command to reset Epson printers should be: "27,69" SetCoors(r,c) Let you change the current row and col is the equivalent of SetPrc() of Ca-Clipper NewLine() Increments the current row Write(cText) Prints ...
by LuisPonce
Thu Aug 18, 2016 4:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo TdosPrn
Replies: 11
Views: 2729

Re: Connect to Advantage Database

Hi Antonio , I try to make some test on FLH this morning. After install UBUNTU 14.04 LTS and all the packages needs to compile FLH i've a lot of errors like this: compiling... Harbour 2.1.0rc2 (Rev. 16643) Copyright (c) 1999-2011, http://harbour-project.org/ Compiling 'tutor01.prg'... Lines 1097, Fu...
by giuliano
Thu Aug 06, 2015 10:43 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Connect to Advantage Database
Replies: 31
Views: 11161

Re: Save dialog coordinates then redisplay same place

Ok I found SetCoors(), and CoorsUpdate() which contains the Function GetCoors() in it. SetCoors() is a method of the TWindow class. Thank you, I will give them a shot. James I also discovered this, below is the code to the Method ...
by byron.hopp
Sat Dec 06, 2014 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog coordinates then redisplay same place
Replies: 26
Views: 5217

Re: TDOSPRN y XP WINDOWS - SOLUCIONADO

... content the ascii values of the command separated with commas, for example, the command to reset Epson printers should be: "27,69" SetCoors(r,c) Let you change the current row and col is the equivalent of SetPrc() of Ca-Clipper NewLine() Increments the current row Write(cText) Prints ...
by Armando Picon
Mon Jan 24, 2011 8:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDOSPRN y XP WINDOWS
Replies: 21
Views: 4698

Re: TdosPrn para USB

... New(cPort,cVerUSB) CONSTRUCTOR METHOD End() METHOD StartPage() VIRTUAL METHOD EndPage() METHOD Command(xPar1, xPar2, xPar3, xPar4, xPar5) METHOD SetCoors(nRow, nCol) METHOD NewLine() INLINE (::cBuffer += CRLF ,; ::nRow++ ,; ::nCol := 0 ) METHOD Write(cText, lAToO) ; INLINE (iif(lAtoO == NIL, ...
by praul
Sun Dec 19, 2010 3:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TdosPrn para USB
Replies: 5
Views: 1258

Re: preview alpha 2

... := TRect():New( 40,; Max( ( nWidth / 2 ) - nMetaWidth, 10 ),; nHeight,; Min( ( nWidth / 2 ) + nMetaWidth, nWidth - 20 ) ) ::oMeta2:Hide() ::oMeta1:SetCoors( oCoors1 ) ::oMeta1:Refresh() endif case ::lTwoPages nFactor := .4 aFiles := ::oDevice:aMeta // DEVICE nWidth := ::oWnd:nWidth() nHeight := ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: GetPrintDC()

... := TRect():New( 40,; Max( ( nWidth / 2 ) - nMetaWidth, 10 ),; nHeight,; Min( ( nWidth / 2 ) + nMetaWidth, nWidth - 20 ) ) oMeta2:Hide() oMeta1:SetCoors( oCoors1 ) oMeta1:Refresh() case lTwoPages nFactor := .4 aFiles := DEVICE:aMeta nWidth := oWnd:nWidth() nHeight := oWnd:nHeight() - 10 - If( ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

... := TRect():New( 40,; Max( ( nWidth / 2 ) - nMetaWidth, 10 ),; nHeight,; Min( ( nWidth / 2 ) + nMetaWidth, nWidth - 20 ) ) oMeta2:Hide() oMeta1:SetCoors( oCoors1 ) oMeta1:Refresh() case lTwoPages nFactor := .4 aFiles := DEVICE:aMeta nWidth := oWnd:nWidth() nHeight := oWnd:nHeight() - 10 - If( ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3361

Wilson, Son coordenadas "simuladas" tipo MsDos. Si revisas los fuentes de la clase TButton verás esto: SetCoors( ::hWnd, nRow * 10, nCol * 10 ) Luego estamos multiplicando los valores que usas por 10. Se podría cambiar esa constante (10), ó añadir la claúsula PIXEL. Tambien ...
by Antonio Linares
Mon Oct 15, 2007 5:53 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Resolucion de Dialogos
Replies: 2
Views: 1466

... de la clase TFolder, ahora se liberan todos los diálogos usados (manejados). * Mejora: En FWH, el método Paint() de la clase TmetaFile, llama a ::SetCoors() si ::nVRatio no está definido. * Mejora: En FWH, el método AddItem( cItem, cResName, bRedefineControls ) de la clase TFolder, ahora usa un ...
by Antonio Linares
Thu Sep 13, 2007 11:04 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2007
Replies: 1
Views: 2645
Next

Return to advanced search