... // kee this index tag also? OrdKeyCount(0) - OrdKeyCount( "DELS" ) Nages, is there a function in Xbrowse to calculate how many records are visible in xbrowse? I explain to you: at the bottom of the Xbrowse I want to insert two buttons to move the records and ...
... my problem is another Initially the message is made up of two lines, when the message is modified in the ShareBoard() function the procedure must calculate the right height and resize the panel (oPanel2) and in turn oPaneltext where the text of the message is located. Finally the procedure must ...
I hope you understand now. I use different resolutions using RESOURCES, I calculate the coordinates in WORKSHOP.exe Espero que lo entiendas ahora. Utilizo diferentes resoluciones usando RECURSOS, calculo las coordenadas en WORKSHOP.exe // C:\FWH\SAMPLES\SILVRESO.PRG#include ...
Dear Silvio, You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text. it will take into account the font you are using, etc. The resulting width and height are stored in ...
Dear Silvio, You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text. it will take into account the font you are using, etc. The resulting width and height are stored in the ...
... text @ 5,o10 SAY oMemo VAR cMessageMemo of oItem2 ; SIZE oItem2:nwidth-40,oItem2:nBottom-10 PIXEL ; FONT oFontText TRANSPARENT UPDATE How I can calculate the nbottom of all tpanels with nTotRows ?
thanks Rao Would this also work if I use the browse setup? example oBrw:Report( cTitle, , , ; { |oRep, oBrw| MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,aCampi ) } ) static function MySetUp( oRep, oBrw, oDbf,aGroup,nGroup,lEject,afields ) local cFooter := "Progetto Magazzino - " local c...
In XBrowse.prg Please make this change in METHOD Report(...) Replace these lines REPORT oRep TITLE cTitle ; FOOTER FWString( "Page" ) + " : " + cValToChar( oRep:nPage ) CENTER ; FONT oFont,oBold ; TO DEVICE oPrn with REPORT oRep TIT...
Mr. Silvio Please make only this one change in the report.prg: In the Method Activate(), locate these lines: if !::lHaru .and. Empty( ::oDevice:cFile ) .and. !PrintQueue() Eval( ::bPreview, ::oDevice ) e...
Yes, true. But the text we print is stored in wide format. If we printed "Name", it is stored as AnsiToWide( "Name" ), i.e., "N" + Chr(0) + "a" + Chr(0) + "m" + Chr( 0 ) + "e" + Chr( 0 ). In other words the text is encoded in UTF16LE format...