topic
stringlengths
1
63
text
stringlengths
1
577k
xBrowser How to display customers/city a kind of treeview
I tried to display – this is easy and working- but if you skip than this seems to be much work. Is there somewhere a sourcecode example showing how to do such a browse? For example: I would like to show all customers if there are more than one customer in a city the city is only shown once (a kind of treeview) [im...
xBrowser How to display customers/city a kind of treeview
For arrays I do like this : [code:3ccng8vb] oCol:bStrData := {||iif( oBrw:nArrayAt > 1 .and. aArray[oBrw:nArrayAt][1] == aArray[oBrw:nArrayAt-1][1], space(10),aArray[oBrw:nArrayAt][1] )} [/code:3ccng8vb] I co...
xBrowser How to display customers/city a kind of treeview
Hello NageswaraRao, Thank you for your code. I tested and it works as suspected for arrays. [img:161gi7c4]http://www.atzwanger.com/fw/rao1.jpg[/img:161gi7c4] Am I right that if you use dbf-files aArray can’t be used? Do I have to make an own array parallel to get this functionality? To test I tried ...
xBrowser How to display customers/city a kind of treeview
The main requirement is to test whether the current field value = the previous records fieldvalue. You can achieve this in different ways. What you do may just depend on dbf size, index key and so on. If the dbf is not too large, and confident that other users will not change during the session, one way to do this ...
xBrowser How to display customers/city a kind of treeview
Sorry, I edited during you answered. Regards, Otto
xBrowser How to display customers/city a kind of treeview
NageswaraRao, Thank you for you answer. I thought to fill a temp-array in this part of xBrowser and then to access this array. METHOD Paint() CLASS TXBrowse do while nRowPos <= nMaxRows // We must also paint some times after the last visible column ---> fill the temp array ... Do you think this could be pos...
xBrowser How to display customers/city a kind of treeview
My personal advise is not to change FWH xBrowse code. Even if you change please do not change Paint method for handling values. Please try to manage it within our application code. I suggested some ways of doing it for dbf tables.
xBrowser How to display customers/city a kind of treeview
Hello NageswaraRao, I thought doing that you don't lose much speed because the array will only be a few records < 50 ?. Best regards, Otto
xBrowser How to display customers/city a kind of treeview
Otto, Here is an idea. Instead of using the CITY field in the browse use a function. Then use bSkip to pass the city field to the function. Inside the function you need a static var, cLastCity. Using this var return the city name of the current record only when it is not the same as cLastCity, otherwise just return ni...
xBrowser How to display customers/city a kind of treeview
Otto, There is a problem with my idea above. I have used this for reports but with browses users can move backwards. This makes it more complicated. For each record movement, you would have to determine if you are at the first occurance of the city or not. So, you would have to skip in the appropriate direction (forwa...
xBrowser How to display customers/city a kind of treeview
Otto, Here is a working example using a customer class as a subclass of TData. I have also shown the city field so you can see it is working. This is not very efficient as it requires three disk reads to display each record. I think it could be done using static vars to eliminate the extra disk reads. [url=http&#58;/...
xBrowser How to display customers/city a kind of treeview
I have looked at this some more, and now I don't think you can do this without three record reads. You have to know what the city for the previous record is and you can't use static vars to keep track of this since you may be moving forward or backward in the browse. When I refer to the "previous" record I don't mean t...
xBrowser How to display customers/city a kind of treeview
Thats the reason I did not propose a similar approach. It it is a small table I would first scan and store recno's of the records to display. If it is large I would create an index like city + str(recno(),10,0) and set relation to the same table with prev rec. Then the condition is if main->city == child-city show bla...
xBrowser How to display customers/city a kind of treeview
Nageswara, > If it is large I would create an index like city + str(recno(),10,0) and set relation to the same table with prev rec. Then the condition is if main->city == child-city show blank else show city. Wouldn't this also require multiple disk reads, one for the main table and one for child table? Perhaps this ...
xBrowser How to display customers/city a kind of treeview
Yes, true. But lesser client server traffic. Reading related tables is faster than the program sending requests to read.
xBrowser How to display customers/city a kind of treeview
Finally I would consider this kind of requirements as issues where we need to find optimal solutions case by case. If it is small regular look up table, we better keep it in array than to keep reading everytime all the way from the server. For large tables this kind of display may not be necessary. In any case we sho...
xBrowser MDI
Does a xBrowser work in a MDI window. Thanks in advance Otto
xBrowser MDI
Otto, Do you mean in the main MDI window or in the MDICHILD windows ?
xBrowser MDI
Antonio, in the MainMDI. Regards, Otto
xBrowser MDI
Otto, You have to understand how the MDI environment is designed by Microsoft and how it works. It is clearly explained in the FiveWin docs. There is a "invisible" window, child of the main MDI window, that controls the child windows. You can't place a control on top of that "invisible" or it will be managed as a MDI...
xBrowser MDI
Antonio, thank you for the explanation. Regards, Otto
xBrowser array add/del elements
Hello Antonio, How to prevent that after add a new element the header disappears. Regrads, Otto [quote:19lpsp05]Otto, Here you have samples\mallorca.prg modified with your requirements. Right click on it to show a popup menu: Code: # INCLUDE "FiveWin.ch" # INCLUDE "XBrowse.ch" //------------- FUNCTION Main() ...
xBrowser array add/del elements
Mr Otto Do not use oBrw:SetArray after adding or deleting likes. Simply say Refresh
xBrowser array add/del elements
Hello Otto, I used that sample for a normal browse ( no Array ) You can find it at Topic => menu popup at.... [img:3jk3f2hl]http&#58;//www&#46;pflegeplus&#46;com/pictures/xbrowse2&#46;jpg[/img:3jk3f2hl] Regards uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> ...
xBrowser array add/del elements
Hello NageswaraRao, thank you very much for you help. All is working as suspected. Regards, Otto
xBrowser click
Hi guys good morning! I would like to know if it is possible to assign an action when clicking just once on a cell in the xBrowser, and another question is about the SetDlgGradient command, when dividing a screen as follows: SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ) , the...
xBrowser click
Mira: [code=fw:9tpxnn5h]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp;Pasta de c:\fwh1905\samples<br /><br /><span style="color: #000000;">08</span>/<span style="color: #000000;">03</span>/<span style="color: #000000;">2022</span> &nbsp;<span style="color: #000000;">18</span>:<span style="color...
xBrowser click
Oi Karinha, obrigado pela resposta. O caso do SAY é o seguinte: Criei uma dialog e pintei com o comando SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), que é 9/10 branco e 1/10 negro. Dai coloquei uma imagem e escrevi sobre a imagem, com um SAY. Na parte branca, aparece com o ...
xBrowser click
[quote="oliveiros junior":zipioy62]Oi Karinha, obrigado pela resposta. O caso do SAY é o seguinte: Criei uma dialog e pintei com o comando SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), que é 9/10 branco e 1/10 negro. Dai coloquei uma imagem e escrevi sobre a imagem, com um S...
xBrowser click
Oliveiros, Salvo engano, [code=fw:1td0y52c]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SetDlgGradient<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">0.9</span>, CLR_WHITE, CLR_WHITE <spa...
xBrowser click
Oliveiros, Que tal? [code=fw:19h283pr]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH..\SAMPLES\CAMILO.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#...
xBrowser click
// .T. TRUE, divide o GRADIENT ao meio, gostei. hahaha. [code=fw:112yspfi]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;aGrad := <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#123;</span> <span style="color: #000000;"...
xBrowser click
Oi Karinha, Quanto ao SetDlgGradient( { { 0.9, CLR_WHITE, CLR_WHITE }, { 0.1 , CLR_BLACK, CLR_BLACK }, .F. } ), ele funciona, mister RAO quem orientou. Obrigado quanto a sua proposta. Vou experimentar e retorno. Att., Oliveiros Junior
xBrowser click
[quote:33tn7g2m]I would like to know if it is possible to assign an action when clicking just once on a cell in the xBrowser,[/quote:33tn7g2m] You can assign an action to code-block: [code=fw:33tn7g2m]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bLClicked</span> := <span...
xBrowser click
Mr Rao, does it only work over the line? Thanks Oliveiros Junior
xBrowser click
[quote:1w91rgzd]Mr Rao, does it only work over the line?[/quote:1w91rgzd] I do not understand your question.
xBrowser click
Oliveiros, seria algo assim? Sempre que possível, post o .PRG, ok? [url:2cb6cddy]https&#58;//forums&#46;fivetechsupport&#46;com/~fivetec1/forums/viewtopic&#46;php?f=3&t=37318&start=0[/url:2cb6cddy] Regards, saludos.
xBrowser click
Olá João, É bem simples, o Senhor Rao respondeu em parte (clique sobre a linha). Porém o que eu necessito é tratar cada célula da xBrowser como se fosse um botão. Dar um simples click sobre ela e ela executar uma ação. Att., Oliveiros Junior
xBrowser click
Mira se ayuda: Veja se ajuda: [url:34taujon]https&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=43670&start=0&hilit=oBrw%3AbKeyDown&sid=fd2ef8c5ac4dcb61626a3a35e623d2be[/url:34taujon] Regards, saludos.
xBrowser click
Mr Rao, I need to treat each xBrowser cell as if it were a button. Simply click on it and it will perform an action. The bLClicked command, it seems, treats the entire line. Att., Oliveiros Junior
xBrowser click
[code=fw:34asibrt]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; XBROWSER <span style="color: #ff0000;">"STATES.DBF"</span> SETUP <span style="color: #000000;">&#40;</span> ;<br />&nbsp; &nbsp; &nbsp; oBrw:<span style="color: #000000;">bLClicked</span> := <span style="color: #000000;">&#123;</span> |...
xBrowser click
Thanks Mr Rao. It was just what I needed. Att., Oliveiros Junior
xBrowser height row
Is it posible to have different heights on diverse rows of the xBrowser. [img:dnb0hxuu]http&#58;//www&#46;atzwanger&#46;com/fw/invoice&#46;jpg[/img:dnb0hxuu]
xBrowser height row
Otto, This feature I long time eager ! so to report() This must add a codes to detect max columns text height . Xbrowse now uses DrawTextEx() to paint cell/column text, must input the fixed height and width. Regards! Shuming Wang
xBrowser power
Diffrent fonts per row! [img:3ueg38e8]http&#58;//www&#46;atzwanger&#46;com/fw/xbrwFonts&#46;jpg[/img:3ueg38e8]
xBrowser power
Mr Otto Great Job Do you mind sharing how you have done it ? I am also looking for another feature. Conditionally paint or not to paint row divider lines for a particular column. Have you thought about it ?
xBrowser power
The result is great – the job not so great, because I did some hard coding. NageswaraRao, you have the skill to code this into a codeblock. I send you the chances with email. Best regards, Otto
xBrowser power
ok please send me i am struggling with optional row line painting. it is not working for me
xBrowser power
For "treeview" look it would be very important. Regards, Otto
xBrowser resize
How to resize a xBrowser if I the window is resized I tried: ACTIVATE WINDOW oWnd ON RESIZE ( oBrw:nRight := oWnd:nWidth() - 17,; oBrw:nBottom := oWnd:nHeight()- 100 ) but didn't work. Thanks in advance Otto
xBrowser resize
Try using oBrw:Move() method. EMG
xBrowser resize
Thank you for your help, Enrico. //oBrw:Move( nTop, nLeft, nWidth, nHeight, lRepaint ) works!
xBrowser syntax
Dear Mr. Rao, I would like to use xBrowser like this but I don’t remember where to find the right syntax. XBROWSER cAlias TITLE "RAO-Notes Archiv" ; SETUP ( oBrw:cFields := {'IP','Absender','Status','Text','Termin','Zeit'}) Would you be so kind to helo me. Thanks in advance Otto
xBrowser syntax
You can refer to the command in \fwh\include\xbrowse.ch whenever you are in doubt. I reproduce it here. #xcommand XBROWSER [<uData>] ; [ TITLE <cTitle> ] ; [ <autosort:AUTOSORT> ] ; [ SETUP <fnSetUp> ] ; [ COLUMNS <aCols,...> ] ; [ SELECT <fnSelect> ] ;...
xBrowser y xHarbour
Colegas, si bien ya no uso xHarbour para mis proyectos, actualicé una aplicación que tenía hecho en ese compilador por la versión FWH 20.02, cuando quiero invocar a xBrowser me genera un error, cosa que con Harbour no ocurre. ¿Cuál puede ser la causa de este error?. Desde ya muchas gracias. Saludos
xBrowser y xHarbour
Hice un pequeño programa en xHarbour y xBrowser funciona. En el programa que comenté mas arriba no me reconoce el comando xBrowser. Total desconcierto. Alguna idea? Muchas gracias Saludos
xBrowser y xHarbour
Que error te genera?
xBrowser y xHarbour
Hola, no me reconoce el comando. Estoy usando para las tablas wBrowse. Será alguna incompatibilidad entre estas dos clases? Saludos
xBrowser y xHarbour
Ahh... si, eso puede ser!
xBrowser y xHarbour
There is no incompatibility between XBrowse and WBrowse. In very very old versions of FWH, we need to specifically include "xbrowse.ch" Eg: [code=fw:10ii2so4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><s...
xBrowser y xHarbour
Gracias Rao por responder, no funciona la clase xbrowse. He adjuntado la clase al proyecto, he incluido el archivo xbrowse.ch y me da error. No hay manera que funcione. Alguna sugerencia? Saludos
xBrowser y xHarbour
What was the previous version you were using?
xBrowser y xHarbour
La versión anterior es xHB build 0.99.60 (SimpLex) & BCC 5.5.1 & FW 2.7 December 2005.
xBrowser – equivalent for listbox oLbx:GetPos()
Could someone tell me what the equivalent for the listbox syntax oLbx:GetPos() for xBrowser is? Thanks in advance Otto
xBrowser – equivalent for listbox oLbx:GetPos()
Otto, if I'm not wrong: oBrowse:nRowSel ==> current row selected oBrowse:nColSel ==> current col selected Regards, Maurilio
xBrowser – equivalent for listbox oLbx:GetPos()
Thank you. Otto
xBrowser: How to repaint the header
If I change nHeadBmpNo how do I repaint the header? oCol:bLClickHeader := {|r,c,f,o| IIF( oCol:nHeadBmpNo = 2, oCol:nHeadBmpNo := 1 ,oCol:nHeadBmpNo := 2 ) )) } PaintHeader?? Thanks in advance Otto
xBrowser: How to repaint the header
for nFor := 1 TO 4 obrow:aCols[nFor]:AddBmpHandle( obrow:hBmpSortAsc ) obrow:aCols[nFor]:AddBmpHandle( obrow:hBmpSortdes ) obrow:aCols[nFor]:nHeadBmpAlign := AL_RIGHT if nfor>1;obrow:aCols[nFor]:nHeadBmpNo := -1; end obrow:aCols[nFor]:bLClickHeader := {|r,c,f,o| SortSal1( o ) } next FUNCTION SortSal1(oC...
xBrowser: How to repaint the header
Thank you for your help. The line oCol:oxBrw:Refresh() causes an error. I don't find out what is wrong. Regards, Otto Error description: Error BASE/1004 Message not found: TXBRWCOLUMN:OXBRW Args: [ 1] = O Object Stack Calls =========== Called from: => __ERRRT_SBASE(0) Called from: => TXBRWC...
xBrowser: How to repaint the header
Otto, Try: oCol:oBrw:Refresh()
xBrowser: How to repaint the header
Hello Antonio, thank you. I see the msgInfo correctly but the changes of the bmp are not visible. oCol:AddBmpHandle( FwBmpAsc() ) oCol:AddBmpHandle( FwBmpDes() ) oCol:nHeadBmpNo := 1 oCol:bLClickHeader := {|r,c,f,o| IIF( oCol:nHeadBmpNo = 2, (oCol:nHeadBmpNo := 1 ,msginfo(1)),(oCol:nHeadBmpNo := 2,msginfo(2) )),o...
xBrowser: How to repaint the header
Otto, You may use: METHOD PaintHeader( nRow, nCol, nHeight, lInvert, hDC ) CLASS TXBrwColumn
xBrowser: How to repaint the header
METHOD PaintHeader( nRow, nCol, nHeight, lInvert, hDC ) CLASS TXBrwColumn Isn't this called by HeaderLButtonDown? METHOD HeaderLButtonDown( nMRow, nMCol, nFlags ) CLASS TXBrwColumn if ::oBrw:nCaptured == 0 .and. ::oBrw:lAllowColSwapping ::oBrw:oCapCol := Self ::oBrw:nCaptured := 1 ::oBrw:Captu...
xBrowser: How to repaint the header
Otto, > Isn't this called by HeaderLButtonDown? Yes
xBrowser: How to repaint the header
But the header does not change. [img:1mtklpmb]http&#58;//www&#46;atzwanger&#46;com/fw/header1&#46;jpg[/img:1mtklpmb] [img:1mtklpmb]http&#58;//www&#46;atzwanger&#46;com/fw/header2&#46;jpg[/img:1mtklpmb]
xBrowser: How to repaint the header
Otto, In samples\TestXBrw.prg, STATIC FUNCTION Bitmaps( oWnd ): oCol := oBrw:AddCol() oCol:AddResource( "CLIP" ) oCol:AddResource( "star" ) oCol:bLClickHeader = { | nMRow, nMCol, nFlags, Self | If( ::nHeadBmpNo == 2, ::nHeadBmpNo := 1, ::nHeadBmpNo := 2 ), ::oBrw:Refresh() } And add this to TestXBrw.rc: ...
xBrowser: How to repaint the header
I did it this way. But the header does not change. Regards, Otto STATIC FUNCTION Bitmaps( oWnd ) local oChild, oBrw, oCol, oFont local nFor DEFINE FONT oFont NAME "Arial" SIZE 0, -8 BOLD DEFINE WINDOW oChild TITLE "Bitmaps on browse and bold font on first column" MDICHILD OF oWnd oBrw := TXBrowse():...
xBrowser: How to repaint the header
Otto, Click on the column to see the bitmap change, and don't forget to modify the RC file [code:pql1ahpo] STATIC FUNCTION Bitmaps&#40; oWnd &#41; local oChild, oBrw, oCol, oFont local nFor DEFINE FONT oFont NAME "Arial" SIZE 0, -8 BOLD DEFINE WINDOW oChild TITLE "Bitmaps on browse and bold font on firs...
xBrowser: How to repaint the header
Antonio, thank you. Now the bmp changes. Best regards, Otto
xBrowser: Is it possible to change alignment on the fly?
nDataStrAlign := AL_RIGHT Is it possible to change alignment on the fly? Thanks in advance Otto
xBrowser: Is it possible to change alignment on the fly?
Otto, Have you tried to change it and refresh the browse ?
xBrowser: Is it possible to change alignment on the fly?
Thank you. Yes I tried with refresh(). Here is my code: func f_DataStrAlign(r,c,f,o) oBrw:nRowDividerStyle := 0 // I put this to proof that refresh is working oBrw:aCols[ o:nPos ]:nDataStrAlign := AL_RIGHT oBrw:refresh() return nil The text does not move. Regards, Otto
xBrowser: Is it possible to change alignment on the fly?
Otto, Try it this way: oCol = oBrw:aCols[ o:nPos ] oCol:nDataStrAlign := AL_RIGHT oCol:nDataStyle := oCol:DefStyle( oCol:nDataStrAlign, ( oCol:oBrw:nDataLines == 1 ) )
xBrowser: Is it possible to change alignment on the fly?
Alignment changes but Al_right is not displayed well. See screen: [img:1t9ig0cv]http&#58;//www&#46;atzwanger&#46;com/fw/align&#46;jpg[/img:1t9ig0cv]
xBrowser: Is it possible to change alignment on the fly?
Try to RTrim() the column data. EMG
xBrowser: Is it possible to change alignment on the fly?
Working perfectly
xBrowser: Is it possible to change alignment on the fly?
[code:19qyst64] METHOD DataAlign&#40; nAlign &#41; CLASS TXBrwColumn if ! &#40; &#58;&#58;nDataStrAlign == nAlign &#41; // tolerate nil param &#58;&#58;nDataStrAlign &#58;= AL_RIGHT &#58;&#58;nDataStyle &#58;= &#58;&#58;DefStyle&#40; &#58;&#58;nDataStrAlign, &#40; &#58;&#58;oBrw&#58;nDataLines == 1 &#41; &...
xBrowser: Is it possible to change alignment on the fly?
Thank you Enrico. I changed it in METHOD PaintData: if ::bStrData != nil cData := RTRIM( Eval( ::bStrData, Self )) else cData := "" endif [img:379sqhe0]http&#58;//www&#46;atzwanger&#46;com/fw/alignright&#46;jpg[/img:379sqhe0]
xBrowser: Is it possible to change alignment on the fly?
To nageswaragunupudi: If I insert the method DataAlign I get all centered. Regaqrds, Otto
xBrowser: Is it possible to change alignment on the fly?
Mr Otto Obviously the values should be rtimmed for right justification. My proposed method is only for changing justification on the fly. If you change the paint method you may like to cover the cases of left, center and riight justifcations and all other possibilities. For non left justified painting probably allt...
xBrowser: Is it possible to change alignment on the fly?
It is most common to right justify numbers and left justify text in tables. Numbers need to be right justified to make the decimals aline. I can't think of a good reason to right justify text. James
xBrowser: Is it possible to change alignment on the fly?
Hello James, to learn to use xBrowser I created a little tool xBTool to build a xBrowser visually. There I want to click on the header and select if the column should be right aligned or left. Doing this I saw that text fields do not align accurately. Therefore I pointed this problem out. Regards, Otto
xBrwTree.prg Sample with empty Database
To All From my previous post, I found the sample xBrwTree.prg which works great if you have records in the Customer.Dbf .. unfortunitly, if Customer.dbf is empty, you get the following error .. [code=fw:2uvin13e]<div class="fw" id="{CB}" style="font-family: monospace;"><br />==========<br />&nbsp; &nbsp;Path and <spa...
xBrwTree.prg Sample with empty Database
When there are no records, use a Tree with one blank tree item. eg: TREE oTree TREEITEM Space(20) CARGO { Space(20), Space(20) } ENDTREE
xBrwowse acentos y Ñ/ñ [SOLUCIONADO]
Hola a todos He estado buscando en el foro alguna solución al tema de los acentos y las "Ñ" y "ñ" en Xbrowse pero solo he encontrado una cuestión que se planteó, pero sin respuesta: [url:2ywqxhzl]https&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=36819&start=0&hilit=xbrowse+acentos+y+%C3%91&sid=80...
xBrwowse acentos y Ñ/ñ [SOLUCIONADO]
Intenta asi: [code=fw:3gmfzeua]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \samples\ACENTUAR.PRG</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />REQUEST HB_CODEPAGE_PTISO<br />REQUEST HB_CO...
xBrwowse acentos y Ñ/ñ [SOLUCIONADO]
Muchas gracias, por tu atención. Como siempre en primera línea dispuesto a ayudar. Perdona mi torpeza, pero no acabo de entender tu ejemplo con el utf8.txt. Te mando tu ejemplo modificado cambiando el txt por variables. No sé si está bien planteada la consulta, pero la cuestión es que, según la gramática española, to...
xBrwowse acentos y Ñ/ñ [SOLUCIONADO]
[code=fw:12ahafwv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \samples\ACENTUAR.PRG - 2.0</span><br /><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />REQUEST HB_CODEPAGE_PTISO<br />REQUEST HB_CODEPAGE_U...
xBrwowse acentos y Ñ/ñ [SOLUCIONADO]
Muchas gracias, João He modificado algunas cosas de tu ejemplo y funciona. Contempla las tildes abiertas y cerradas, la diéresis y las "ñ", tanto en mayúsculas como en minúsculas. He cambiado REQUEST HB_CODEPAGE_PTISO por REQUEST HB_CODEPAGE_ES850 ya que el primero corresponde al idioma portugués. Y dentro de la fu...
xBrwowse acentos y Ñ/ñ [SOLUCIONADO]
Mui bién Ramón. Voy guardar para el futuro. Muchas gracias por el aporte. Regards, saludos.