Search found 85 matches: otitle

Return to advanced search

Re: position of an Image

Silvio,

oTitle:SetPos( nTop, nLeft )
by Antonio Linares
Wed May 27, 2015 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: position of an Image
Replies: 8
Views: 1118

position of an Image

I must change the position on bresize of a dialog

this image is on a TTitle control

I tried with oImagetitle:nLeft:=oTitle:nWidth-120

but it make error because there is not nleft valriable on ttitle image and I not found a right variable on class

How I can resolve it ?
by Silvio.Falconi
Wed May 27, 2015 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: position of an Image
Replies: 8
Views: 1118

Re: Encabezado Solo en la Primer Hoja

Ya logre quitarlos, Así:

ON ENDPAGE ( oReporte:oHeader := TrLine():New({}) , oReporte:oTitle := TrLine():New({}) )

Pero el detalle que después de la primera hoja, el espacio que ocupaba el encabezado
el listado no lo ocupa, queda vacío sin ocupar.

Alguien sabrá como corregirlo ?
by VitalJavier
Thu Sep 11, 2014 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Encabezado Solo en la Primer Hoja SOLUCIONADO
Replies: 2
Views: 418

Re: TTitle on TFolderEx a problem, to be painted from RESOURCE ?

Uwe,

Could you please provide us a self contained example to review how you are doing it ? thanks

Try with oTitle:End()

Method Destroy() just frees the used resources.
by Antonio Linares
Mon Jul 07, 2014 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTitle on TFolderEx a problem, to be painted from RESOURCE ?
Replies: 2
Views: 680

TTitle on TFolderEx a problem, to be painted from RESOURCE ?

... The SAME title painted on a folderpage from CODE , works fine. http://www.pflegeplus.com/IMAGES/Foldertitle1.jpg REDEFINE TITLE oTitle1 ID 120 OF oFld:aDialogs[2] UPDATEoTitle1:lBorder :=.T.oTitle1:lRound :=.T.oTitle1:nShadow := 0oTitle1:lTransparent := .F. oTitle1:aGrdBack ...
by ukoenig
Sun Jul 06, 2014 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTitle on TFolderEx a problem, to be painted from RESOURCE ?
Replies: 2
Views: 680

Re: TEXTOUT() function cannot use some predefined fonts?

... there is a needed factor of 2.02 The Width and Height is calculated and defined in the created EXE / PRG. sample : @ nTTop, nTLeft TITLE oTitle SIZE nTWidth / 2.02, nTHeight / 2.02 of oDlgMain TRANSPARENT BORDER BASE The position of nTTop and nTLeft is defined with a right mouseclick ...
by ukoenig
Thu Oct 17, 2013 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TEXTOUT() function cannot use some predefined fonts?
Replies: 21
Views: 4544

Re: TEXTOUT() function cannot use some predefined fonts?

Tried.
Works as expected. I can dynamically change the oTitle text when needed, just changing the content of "cString" variable and apply it to oTitle:

cString := "Some new string"
oTitle:aText[1][3] := cString
oTitle:Refresh()

Thanks to all
by codemaker
Sat Oct 12, 2013 10:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TEXTOUT() function cannot use some predefined fonts?
Replies: 21
Views: 4544

A possible complete RESET of a TTITLE at runtime ?

... I still need to detect TTitle-width and height from RESOURCE to do the calculations for text- and Image-adjustments. aRect := GETCLIENTRECT( oTitle:hWnd ) returns 0 at startup I used ( before showing a new selection ) : oTitle:lBase := .F. oTitle:aGrdBack := {} oTitle:aGrdBase := {} oTitle:lBorder ...
by ukoenig
Tue Oct 01, 2013 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A possible complete RESET of a TTITLE at runtime ?
Replies: 0
Views: 505

para Daniel, clase TTitle

Hola Daniel,

En samples\invoices.prg nos gustaría tener los titles totalmente planos, como el nuevo Look 2013 de Office.

He estado probando a poner oTitle:nShadowIntensity = 0 pero nada.

Una manita por favor!!!.

Muy agradecida.
by elvira
Fri Sep 27, 2013 7:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: para Daniel, clase TTitle
Replies: 2
Views: 495

Re: TTitle from RESOURCE a Image-problem ?

... need the TTitle-resource-height and width , because of some needed calculations for text- and image-position. I tested : aRect := GetClientRect( oTitle1:hWnd ) but get only result 0 for aRect[3] .and. aRect[4] ( at STARTUP !!! ) Changes at runtime, it returns the needed values. function TITLE_SET ...
by ukoenig
Wed Sep 25, 2013 1:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TTitle from RESOURCE a Image-problem ?
Replies: 5
Views: 1746

Re: How to change the cursor of a defined image-area ?

Uwe, I have not tested it myself, but basically you have to define oTitle:bMMoved = { | nX, nY | CheckArea( nX, nY ) } and if the mouse is in the area where you want to change the cursor, simply do oTitle:oCursor = oHandCursor and previously DEFINE CURSOR ...
by Antonio Linares
Tue Sep 10, 2013 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change the cursor of a defined image-area ?
Replies: 4
Views: 1041

Re: ttile ejemplo

... hacer es usar el tTitle de FWH, pero al crearlo en PellesC, el estilo que queda es 0x000000 y no me muestra nada. lo tengo asi: REDEFINE TITLE oTitle ID 222 of oDlgN SHADOW TEXT "Prueba " oTitle:lBorder:=.T. oTitle:aGrdBack = { { 1, nRGB( 129, 130, 138 ), nRGB( 59, 60, 62 ) } } No ...
by D.Fernandez
Tue Aug 20, 2013 2:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ttile ejemplo necesito ejemplo desde recursos
Replies: 4
Views: 1073

Re: Omitir oTitle en paginas de oReport

Lo he resuelto así:
if(oReport:nPage>1, oReport:oTitle:=TrLine():New({{||""}}, oReport,) ,) //oTitle solo en 1a. pag
Saludos.
by FranciscoA
Fri Jun 07, 2013 1:43 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Omitir oTitle en paginas de oReport (SOLUCIONADO)
Replies: 1
Views: 416

Omitir oTitle en paginas de oReport (SOLUCIONADO)

Hola.
Tengo un reporte de nomina que consume 35 o mas hojas tam carta horizontal. El cliente quiere que el oTitle solo aparezca en la primer pagina (para ahorrar papel).
He probado con oReport:oTitle := nil, oReport:aTitle:={{||""}} sin resultados.
¿Alguien tiene un ejemplito?
Saludos.
by FranciscoA
Fri Jun 07, 2013 12:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Omitir oTitle en paginas de oReport (SOLUCIONADO)
Replies: 1
Views: 416

Re: Possible to keep TTITLE transparent on Window-resize ?

Uwe,

I think it should be enough to do a:

oTitle:hBackBrush = nil
oTitle:Refresh()

but the problem is that hBackBrush is declared as PROTECTED, so the above may fail, unless you remove PROTECTED from such DATA.
by Antonio Linares
Wed Mar 20, 2013 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to keep TTITLE / DIALOG transp. on Wnd-resize ?
Replies: 9
Views: 2583
PreviousNext

Return to advanced search