messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2022-03-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":eoa7vzjz]GetKeyState( VK_SHIFT ) --> Shift key is pressed[/quote:eoa7vzjz]\nHi.\nThis does not work when \"CAPS LOCK\" is turned off and no SHIFT pressed.\nDo you know how do I know CAPS LOCK state ?\n \n[[]] Maurício Ventura Faria",
"time": "19:30",
"topic": "Browse and lower case keys",
"username": "concentra"
}
] |
Browse and lower case keys
|
[
{
"date": "2022-03-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Maurício:\n\n[code=fw:3e81xqyr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">cKey:= CHR<span style=\"color: #000000;\">(</span> nKey <span style=\"color: #000000;\">)</span></div>[/code:3e81xqyr]\n\nRegards, saludos.",
"time": "20:13",
"topic": "Browse and lower case keys",
"username": "karinha"
}
] |
Browse and lower case keys
|
[
{
"date": "2011-01-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estoy utilizando el objeto TXBrowse, para mostrar un archivo .DBF, lo hace perfecto, la tarea ahora es mostrar en un color distinto los registros 10, 20 y 30, osea los multiplos de 10.\n\n oBrw := TXBrowse():New(oChild)\n\nDesde ya se agradece cuaquier aporte.\n\nSaludos",
"time": "22:03",
"topic": "Browse colocar en color una linea de registro",
"username": "jgayoso"
}
] |
Browse colocar en color una linea de registro
|
[
{
"date": "2011-01-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\nprueba algo asi\n\n\n[code=fw:3lw0rasq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oGrid:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">{</span>|| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span> ordKeyNo<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> % <span style=\"color: #000000;\">10</span> == <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">{</span> CLR_BLUE, CLR_WHITE <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> CLR_RED, CLR_WHITE <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> </div>[/code:3lw0rasq]\n\nsaludos\n\nMarcelo",
"time": "23:19",
"topic": "Browse colocar en color una linea de registro",
"username": "Marcelo Via Giglio"
}
] |
Browse colocar en color una linea de registro
|
[
{
"date": "2011-01-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Marcelo, exelente.\n\nSe agradece.\n\n[quote=\"Marcelo Via Giglio\":1klhvutl]Hola,\n\nprueba algo asi\n\n\n[code=fw:1klhvutl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oGrid:<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">{</span>|| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span> ordKeyNo<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> % <span style=\"color: #000000;\">10</span> == <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">{</span> CLR_BLUE, CLR_WHITE <span style=\"color: #000000;\">}</span>, <span style=\"color: #000000;\">{</span> CLR_RED, CLR_WHITE <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> </div>[/code:1klhvutl]\n\nsaludos\n\nMarcelo[/quote:1klhvutl]",
"time": "13:21",
"topic": "Browse colocar en color una linea de registro",
"username": "jgayoso"
}
] |
Browse colocar en color una linea de registro
|
[
{
"date": "2009-01-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nSince upgrading to 8.12 i've noticed that the colours of bitmaps in a browse (twbrowse?) are corrupted:\n\n[img:3q5183g5]http://i714.photobucket.com/albums/ww142/PANDLSOFTWARE/Test.jpg[/img:3q5183g5]\n\nThe first 2 columns should be the same colour as the rest of the line - also if you scroll down the list the highlight bar turns the bitmap white.\n\nAny ideas how to fix this?\n\nMany Thanks\n\nPete",
"time": "16:17",
"topic": "Browse colour corruptions with bitmaps",
"username": "PeterHarmes"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Pete,\n\nAre you using a codeblock to set the browse colors or just fixed RGB Colors (numeric value) ?",
"time": "12:56",
"topic": "Browse colour corruptions with bitmaps",
"username": "Antonio Linares"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I'm using a code block.\n\n[code:fvfhfzpr]\noBrw:nClrpane := { || SetBack() }\noBrw:nClrText := { || SetFore() }\noBrw:nClrforefocus := { || SetFBack() }\noBrw:nClrbackfocus := { || SetFFore() }\n\nSTATIC FUNCTION SetBack\n\tLOCAL RetCol := 0\n\tScedColInit()\n\tIF SELECT(\"SCHEDULE\") <> 0 .AND. ASCAN(SchedArr,SCHEDULE->(RECNO())) <> 0\n\t\tRetCol := mGrpBack\n\tELSEIF ORDSCED->OR_FROMDAT < m_scdate\n\t\tRetCol := mOverBack\n\tELSEIF !EMPTY(ORDSCED->OR_VEHICLE)\n\t\tRetCol := mAlocBack\n\tELSE\n\t\tRetCol := mNormBack\n\tENDIF\nRETURN RetCol\n\nSTATIC FUNCTION SetFore\n\tLOCAL RetCol := 0\n\tIF SELECT(\"SCHEDULE\") <> 0 .AND. ASCAN(SchedArr,SCHEDULE->(RECNO())) <> 0\n\t\tRetCol := mGrpFore\n\tELSEIF ORDSCED->OR_FROMDAT < m_scdate\n\t\tRetCol := mOverFore\n\tELSEIF !EMPTY(ORDSCED->OR_VEHICLE)\n\t\tRetCol := mAlocFore\n\tELSE\n\t\tRetCol := mNormFore\n\tENDIF\nRETURN RetCol\t\t\t \n\nSTATIC FUNCTION SetFBack\n\tLOCAL RetCol := 0\n\tIF SELECT(\"SCHEDULE\") <> 0 .AND. ASCAN(SchedArr,SCHEDULE->(RECNO())) <> 0\n\t\tRetCol := mGrpFocB\n\tELSEIF ORDSCED->OR_FROMDAT < m_scdate\n\t\tRetCol := mOverFocB\n\tELSEIF !EMPTY(ORDSCED->OR_VEHICLE)\n\t\tRetCol := mAlocFocB\n\tELSE\n\t\tRetCol := mNormFocB\n\tENDIF\nRETURN RetCol\t\t\t \n\nSTATIC FUNCTION SetFFore\n\tLOCAL RetCol := 0\n\tIF SELECT(\"SCHEDULE\") <> 0 .AND. ASCAN(SchedArr,SCHEDULE->(RECNO())) <> 0\n\t\tRetCol := mGrpFocF\n\tELSEIF ORDSCED->OR_FROMDAT < m_scdate\n\t\tRetCol := mOverFocF\n\tELSEIF !EMPTY(ORDSCED->OR_VEHICLE)\n\t\tRetCol := mAlocFocF\n\tELSE\n\t\tRetCol := mNormFocF\n\tENDIF\nRETURN RetCol\n\n[/code:fvfhfzpr]",
"time": "13:07",
"topic": "Browse colour corruptions with bitmaps",
"username": "PeterHarmes"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Pete,\n\nWhat FWH build were you using previously to 8.12 ?\n\nThe simplest way should be to compare wbrowse.prg from both versions and see what changes may be affecting your code.",
"time": "13:27",
"topic": "Browse colour corruptions with bitmaps",
"username": "Antonio Linares"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Pete,\n\nI just reread your first post and noticed that you were talking about the bitmaps! ops, my mistake <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \n\nPlease post here some of the bitmaps that you are using. You can use <!-- w --><a class=\"postlink\" href=\"http://www.imageshack.us\">www.imageshack.us</a><!-- w --> to upload the images and post here the urls. \nThanks",
"time": "13:29",
"topic": "Browse colour corruptions with bitmaps",
"username": "Antonio Linares"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Urls to bmps:\n\n<!-- m --><a class=\"postlink\" href=\"http://img407.imageshack.us/img407/7435/68549894jp2.png\">http://img407.imageshack.us/img407/7435/68549894jp2.png</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://img407.imageshack.us/img407/7636/confirmaf4.png\">http://img407.imageshack.us/img407/7636/confirmaf4.png</a><!-- m -->\n<!-- m --><a class=\"postlink\" href=\"http://img407.imageshack.us/img407/4888/tickedfk9.png\">http://img407.imageshack.us/img407/4888/tickedfk9.png</a><!-- m -->\n\nJust to add - the bmps are held in a resource file",
"time": "14:04",
"topic": "Browse colour corruptions with bitmaps",
"username": "PeterHarmes"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Pete,\n\nPlease change the background color of your bitmaps to a color not used in the image, like this:\n\n[url=http://imageshack.us:ol3zm20w][img:ol3zm20w]http://img108.imageshack.us/img108/503/captureew1.png[/img:ol3zm20w][/url:ol3zm20w]",
"time": "14:52",
"topic": "Browse colour corruptions with bitmaps",
"username": "Antonio Linares"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Just tried it and no difference i'm afraid - also i noticed that the highlight bar doesnt highlight the bitmap columns",
"time": "15:15",
"topic": "Browse colour corruptions with bitmaps",
"username": "PeterHarmes"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nJust linked in my previous version of wbrowse.prg (7.12) and it works fine - i have done a file compare between the two files and i think the problem is in the function wBrwLine\n\nIf i comment the nRowpos line as detailed below, this fixes the problem\n\n[code:2v70sn0a]static function wBrwLine( hWnd, hDC, nRowPos, aValues, aColSizes,;\n nColPos, nClrText, nClrPane,;\n hFont, lTree, aJustify, nPressed, nLineStyle,;\n nColAct, lFocused, oVScroll, bLogicLen, nClrTxt, nClrBack )\n local nTxtHeight, hOldFont\n local nColStart := -1\n local nWidth := WndWidth( hWnd ) - If( oVScroll != nil .and. ;\n Eval( bLogicLen ) > 1,;\n GetSysMetrics( SM_CYHSCROLL ) + 3, 0 )\n local nRow := nRowPos, nTop, nBottom, nLeft, nRight, n\n local lReleaseDC := .f.\n local hPen, hOld, hBrush\n\n DEFAULT lTree := .f.\n\n if Empty( hDC )\n hDC = GetDC( hWnd )\n lReleaseDC = .t.\n endif\n\n hOldFont = SelectObject( hDC, hFont )\n nTxtHeight = GetTextHeight( hWnd, hDC ) + 1\n\n nTop = nTxtHeight * nRow\n nBottom = nTop + nTxtHeight - 1\n\n SetTextColor( hDC, If( ValType( nClrText ) == \"B\",;\n nClrText := Eval( nClrText ), nClrText ) )\n //if nRowPos == 0 \n SetBkColor( hDC, If( ValType( nClrPane ) == \"B\",;\n nClrPane := Eval( nClrPane ), nClrPane ) )\n //endif[/code:2v70sn0a]\n\nHowever there is one more difference between the two versions:\n\n[code:2v70sn0a]\nif ValType( aValues[ n ] ) == \"N\"\n hBrush = CreateSolidBrush( If( nColAct != nil, nClrBack, GetBkColor( hDC ) ) )\n hOld = SelectObject( hDC, hBrush )\n FillRect( hDC, { nTop, nLeft, nBottom, nRight + If( ( nLineStyle == ;\n LINES_NONE .or. nLineStyle == LINES_H_GRAY .or. nLineStyle == ;\n LINES_H_BLACK ) .and. nRowPos != 0, 2, 0 ) }, hBrush )\n DrawMasked( hDC, aValues[ n ], nTop, nLeft + 0 )\n SelectObject( hDC, hOld )\n DeleteObject( hBrush )\n else\n if nColAct != nil .and. n == nColAct\n SetTextColor( hDC, nClrText )\n SetBkColor( hDC, nClrPane )\n else\n if nRowPos != 0\n SetTextColor( hDC, If( nColAct != nil, If( ValType( nClrTxt ) == \"B\",;\n Eval( nClrTxt, n ), nClrTxt ),;\n If( ValType( nClrText ) == \"B\", Eval( nClrText, n ), nClrText ) ) ) <-----This is new in 8.12 over 7.12\n SetBkColor( hDC, If( nColAct != nil, If( ValType( nClrBack ) == \"B\",;\n Eval( nClrBack, n ), nClrBack ),;\n If( ValType( nClrPane ) == \"B\", Eval( nClrPane, n ), nClrPane ) ) ) <-----This is new in 8.12 over 7.12\n endif\n endif\n if ! lTree\n if nRowPos == 0 .and. ( IsAppThemed() .and. IsThemeActive() ) <--- The .and. isthemeactive() is new in 8.12 over 7.12\n DrawHeader( hWnd, hDC, nTop - 1, nLeft, nBottom, nRight, AnsiToOem( aValues[ n ] ) )\n else\n if aJustify != nil .and. aJustify[ n ]\n SetTextAlign( hDC, TA_RIGHT )\n ExtTextOut( hDC, nTop, nRight - 2,;\n { nTop, nLeft, nBottom, nRight + If( (nLineStyle == ;\n LINES_NONE .or. nLineStyle == LINES_H_GRAY .or. ;\n nLineStyle == LINES_H_BLACK ) .and. nRowPos != 0, 2, 0 ) },; //socs + If((nLineStyle == LINES_NONE .OR. nLineStyle == LINES_H_GRAY .OR. nLineStyle == LINES_H_BLACK) .AND. nRowPos#0 ,2,0),;\n cValToChar( aValues[ n ] ) )\n else\n SetTextAlign( hDC, TA_LEFT )\n ExtTextOut( hDC, nTop, nLeft + 2,;\n { nTop, nLeft, nBottom, nRight + If( ( nLineStyle == ;\n LINES_NONE .or. nLineStyle == LINES_H_GRAY .or. ;\n nLineStyle == LINES_H_BLACK ) .and. nRowPos != 0, 2, 0 ) },;\n cValToChar( aValues[ n ] ) )\n endif\n endif\n else\n DrawText( hDC, cValToChar( aValues[ n ] ),;\n { nTop, nLeft + 4, nBottom, nRight } )\n endif\n endif\n[/code:2v70sn0a]\n\nMy knowledge of modifying this code is limited so what harm would it be to comment out the first line or does it need modifying?",
"time": "15:38",
"topic": "Browse colour corruptions with bitmaps",
"username": "PeterHarmes"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Pete,\n\nYou are right, its a bug in Class TWBrowse. Just remove these two lines and it should work fine:\n[code:hw9gyqlm]\nstatic function wBrwLine( hWnd, hDC, nRowPos, aValues, aColSizes,;\n...\n SetTextColor( hDC, If( ValType( nClrText ) == \"B\",;\n nClrText := Eval( nClrText ), nClrText ) )\n //if nRowPos == 0 \n SetBkColor( hDC, If( ValType( nClrPane ) == \"B\",;\n nClrPane := Eval( nClrPane ), nClrPane ) )\n //endif \n[/code:hw9gyqlm]\nHere it is working fine with those changes.",
"time": "15:50",
"topic": "Browse colour corruptions with bitmaps",
"username": "Antonio Linares"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks for your response Antonio - will this be fixed in the next release (9.01)?\n\nMany Thanks\n\nPete",
"time": "16:03",
"topic": "Browse colour corruptions with bitmaps",
"username": "PeterHarmes"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2009-01-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Pete,\n\nYes, we have already included it for the next 9.01 build\n\nThanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "16:08",
"topic": "Browse colour corruptions with bitmaps",
"username": "Antonio Linares"
}
] |
Browse colour corruptions with bitmaps
|
[
{
"date": "2008-02-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Alguem sabe dizer se é possivel utilizar esta opção como é feita no EXCEL",
"time": "21:16",
"topic": "Browse com Merge",
"username": "ronaldo"
}
] |
Browse com Merge
|
[
{
"date": "2006-03-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Can I edit the browse command method so I can add fields or footer OR footer only enable with txbrowse class ?",
"time": "19:00",
"topic": "Browse command",
"username": "Ehab Samir Aziz"
}
] |
Browse command
|
[
{
"date": "2021-03-07",
"forum": "mod_harbour",
"text": "Estoy practicando los ejemplos, quiero hacer un browse completo pero con conexión mysql as:\nMe conecto bien, pero el l browse lo muestra vacio.\n\nFUNCTION Main()\nLOCAL o, oRs, hRes,oBrw,oo\n\n\t\too := WDO():Rdbms( 'MYSQL', \"127.0.0.1\", \"root\", \"19585287\", \"indfundacion\", 3307 )\n\t\tIF oo:lConnect\n\t\t\t? 'Connected !', '<b>Versión RDBMS MySql', oo:Version()\n\t\tELSE\n\t\t\t? oo:cError \n\t\tENDIF\n\n\n cSql := \"select * from contrib limit 5\"\n\n IF !empty( hRes := oo:Query( cSql ) )\n\t\t\n\t\t\t? '<br><b>Total Select: </b>', oo:Count( hRes )\n\t\t\taData := oo:FetchAll( hRes )\n\t\t\t\n\t\tendif\n\n\n\n\tDEFINE WEB oWeb TITLE 'Basic Browse' TABLES INIT\n\t\n\tDEFINE FORM o\n\n\t\tHTML o INLINE '<h3>Basic Browse</h3><hr>'\n\t\t\n\tINIT FORM o \t\t\t\n\n\t\tDEFINE BROWSE oBrw ID 'ringo' HEIGHT 400 EXPORT SEARCH PRINT TOOLS OF o\n\t\t\n\t\t\tADD oCol TO oBrw ID 'nit' \t HEADER 'IDENTIFICACION' \tALIGN 'right'\n\t\t\tADD oCol TO oBrw ID 'razon' HEADER 'RAZON SOCIAL' \tSORT\t\t\t\n\t\t\tADD oCol TO oBrw ID 'direcc' HEADER 'DIRECCION' \tWIDTH 70 \n\t\t\t\n\t\tINIT BROWSE oBrw DATA aData\t\t\n\t\n\tEND FORM o\t\n\t\t\t\t\n\n\nRETU NIL",
"time": "23:54",
"topic": "Browse completo con mysql",
"username": "Adolfredo Martinez"
}
] |
Browse completo con mysql
|
[
{
"date": "2021-03-14",
"forum": "mod_harbour",
"text": "Ya lo resolví, viendo el video donde Charly explica Creación de un CRUD usando el Browse, paso a paso.\n\nAsi:\n\n//\t--------------------------------------------------------------\n//\tTitle......: WDO Web Database Objects\n//\tDescription: Test WDO\n//\tDate.......: 28/07/2019\n//\n//\t{% LoadHRB( '/lib/wdo/wdo.hrb' ) %}\t\t\t\t\t//\tLoading WDO lib\n//\t{% HB_SetEnv( 'WDO_PATH_MYSQL', \"c:/xampp/htdocs/\" ) %}\t//\tUsuarios Xampp\n//\t{% LoadHrb( 'lib/tweb/tweb.hrb' ) %}\n//\t--------------------------------------------------------------\n\n#include {% TWebInclude() %}\n\nFUNCTION Main()\nLOCAL o, oRs, hRes,oBrw,oo\n\t\n\t\t\n\t\too := WDO():Rdbms( 'MYSQL', \"127.0.0.1\", \"root\", \"123456\", \"indfundacion\", 3307 )\n\t\t\n\t\tIF oo:lConnect\n\t\t\n\t\t\t? 'Connected !', '<b>Versión RDBMS MySql', oo:Version()\n\t\t\t? 'Adolfredo Martinez esta es tu Version:', twebversion()\n\t\t\t\n\t\tELSE\n\t\t\n\t\t\t? oo:cError \n\t\t\t\n\t\tENDIF\n\n\n cSql := \"select nit, razon, direcc, tiporegime from contrib\"\n \n\n IF !empty( hRes := oo:Query( cSql ) )\n\t\t\n\t\t\t? '<br><b>Total Select: </b>', oo:Count( hRes )\n\t\t \n\t\t\taData := oo:FetchAll( hRes, .t. )\n\t\tendif\n\n\n\tDEFINE WEB oWeb TITLE 'Basic Browse' TABLES INIT\n\t\n\tDEFINE FORM o\n\n\t\tHTML o INLINE '<h3>Basic Browse</h3><hr>'\n\t\t\n\tINIT FORM o \t\t\t\n\n\t\tDEFINE BROWSE oBrw ID 'ringo' HEIGHT 400 CLICKSELECT EXPORT SEARCH PRINT TOOLS OF o\n\t\toBrw:lStripped := .t.\n\t\t\n\t\t\tADD oCol TO oBrw ID 'nit' \t\t\tHEADER 'CODIGO' \t\tALIGN 'left'\n\t\t\tADD oCol TO oBrw ID 'razon' \t\tHEADER 'RAZON' \t\tALIGN 'left' SORT\t\t\t\n \tADD oCol TO oBrw ID 'tiporegime' HEADER 'TIPOREGIMEN' \tALIGN 'left' WIDTH 200 \n \t\n\n\t\tINIT BROWSE oBrw DATA aData\t\t\n\t\n\tEND FORM o\t\n\nRETU NIL\n\n[url:3n3t046y]https://subir-imagen.com/i/RA2Mm[/url:3n3t046y]",
"time": "17:57",
"topic": "Browse completo con mysql",
"username": "Adolfredo Martinez"
}
] |
Browse completo con mysql
|
[
{
"date": "2006-10-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Alguien tiene por aqui un ejemplo que una columna sea editable , pero con un combo... ?\n\nA ser posible, con la TWBrowse de Hernan o en su defecto la TSBrowse de Manuel..\n\nNo encuentro los samples de Hernan, ¿ sabe alguien DONDE estan ?\n\nGracias\nRafa Carmona",
"time": "17:25",
"topic": "Browse con Combobox",
"username": "thefull"
}
] |
Browse con Combobox
|
[
{
"date": "2006-10-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Rafa:\n\nToda la gracia esta en el evento que edita la celda, que recibe como parametro POR REFERENCIA la variable que deseas editar:\n\n oBrw:lEditCol(oBrw:nColAct,@xVar,cPict,bValid,RGB(0,0,0),Rgb(255,255,255))\n\n@xVar es el valor que tu quieres editar, puedes hacer por ejemplo\n\nxVar := 0\n \no bien \n\nxVar := SPACE(20)\n\ny ahora la magia:\n\nxVar := {\"enero\", \"febrero\",\"marzo\",\"abril\"....}\n\nCuando la variable es un ARRAY, AUTOMATICAMENTE, al momenot de editar se crea un combo.\n\nAsi de facil, parece una tonteria, pero realmente es una estupidez.",
"time": "18:41",
"topic": "Browse con Combobox",
"username": "R.F."
}
] |
Browse con Combobox
|
[
{
"date": "2006-10-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"RF\":ag2epfvm]Rafa:\n\nToda la gracia esta en el evento que edita la celda, que recibe como parametro POR REFERENCIA la variable que deseas editar:\n\n oBrw:lEditCol(oBrw:nColAct,@xVar,cPict,bValid,RGB(0,0,0),Rgb(255,255,255))\n\n@xVar es el valor que tu quieres editar, puedes hacer por ejemplo\n\nxVar := 0\n \no bien \n\nxVar := SPACE(20)\n\ny ahora la magia:\n\nxVar := {\"enero\", \"febrero\",\"marzo\",\"abril\"....}\n\nCuando la variable es un ARRAY, AUTOMATICAMENTE, al momenot de editar se crea un combo.\n\nAsi de facil, parece una tonteria, pero realmente es una estupidez.[/quote:ag2epfvm]\n\nBueno, Rene ya de paso, me puedes pasar un ejemplo funcional ?\nPerdona que en estos momentos no tengo mucha lucidez con el tema de los browses.\n\nTengo que crear un browse en runtime que las celdas sean todas con combobox, y ademas , modifiquen directamente en la dbf.\n\nHe intentando usar la TsBrowse 7.0 de Manuel , y la verdad , funciona flancamente mal, muy mal.\n\n\n\nSaludos\nRafa Carmona",
"time": "17:52",
"topic": "Browse con Combobox",
"username": "thefull"
}
] |
Browse con Combobox
|
[
{
"date": "2006-10-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Tu pide por esa boca....\n\nEnviado a tu privado",
"time": "00:18",
"topic": "Browse con Combobox",
"username": "R.F."
}
] |
Browse con Combobox
|
[
{
"date": "2007-06-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"RF\":3a1p0u7n]Tu pide por esa boca....\n\nEnviado a tu privado[/quote:3a1p0u7n]\n\nPodrias enviarme ese ejemplo? estoy confundido con una app que estoy haciendo.\n\nGracias.\nMail: <!-- e --><a href=\"mailto:goosfancito@gmail.com\">goosfancito@gmail.com</a><!-- e -->",
"time": "11:40",
"topic": "Browse con Combobox",
"username": "goosfancito"
}
] |
Browse con Combobox
|
[
{
"date": "2007-06-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "con txbrowse lo hacemos de esta forma:\n\n oCol := oBrw3:aCols[ 1 ]\n oCol:nEditType := 1\n oCol:bOnPostEdit := {|o, v, n| iif( n != VK_ESCAPE, _saveCol1( o:nCreationOrder, v ), ) }\n\n\nstatic function _saveCol1( nCol, cValor )\n local nRecno := (cAli)->( recno() )\n dbselectArea(cAli)\n\n if nCol = 1\n rlock()\n field->fecha := ctod(cValor)\n dbunlock()\n endif\n oBrw3:refresh()\n dbgoto( nRecno )\nreturn\n\n\nsaludos...",
"time": "16:49",
"topic": "Browse con Combobox",
"username": "sysctrl2"
}
] |
Browse con Combobox
|
[
{
"date": "2007-06-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias.-\n\n[quote=\"sysctrl2\":jyjks3sb]con txbrowse lo hacemos de esta forma:\n\n oCol := oBrw3:aCols[ 1 ]\n oCol:nEditType := 1\n oCol:bOnPostEdit := {|o, v, n| iif( n != VK_ESCAPE, _saveCol1( o:nCreationOrder, v ), ) }\n\n\nstatic function _saveCol1( nCol, cValor )\n local nRecno := (cAli)->( recno() )\n dbselectArea(cAli)\n\n if nCol = 1\n rlock()\n field->fecha := ctod(cValor)\n dbunlock()\n endif\n oBrw3:refresh()\n dbgoto( nRecno )\nreturn\n\n\nsaludos...[/quote:jyjks3sb]",
"time": "18:19",
"topic": "Browse con Combobox",
"username": "goosfancito"
}
] |
Browse con Combobox
|
[
{
"date": "2007-06-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos Cordiales Colegas!!!\n\nBueno para un Objeto oBrw yo lo he utilizado asi!\n\n[code:15fnuvvk]\n // Lista\n oCol:=oBrw:AddCol(\"VAL_TIPO\")\n oCol:cTitle :=\"Tipo\"\n oCol:nWidth :=200\n oCol:aItems :={\"EFECTIVO\",\"CHEQUE\",\"TARJETA CR\",\"TARJETA DB\",\"CESTA TIK\",\"EGRESO\"}\n oCol:aItemsData:={\"EFE\",\"CHQ\",\"TAR\",\"TDB\",\"CTK\",\"EGR\"}\n oCol:lPrimary :=.T. // No puede Repetirse\n oCol:lRepeat :=.F.\n oCol:nEditType :=EDIT_GET_BUTTON\n[/code:15fnuvvk]\n\nCuando utilizas la propiedad oCol:aItems y la llenas con un arreglo esta se convierte en un combobox\n\nCreo que es mas estupido que cualquiera de las anteriores!!\n\nAvisenos como les fue!!!",
"time": "10:53",
"topic": "Browse con Combobox",
"username": "danielr cyberia®"
}
] |
Browse con Combobox
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "Al maximizar un dialog que contiene un browse se puede redimensionar automaticamente o de alguna manera el Browse para que me ocupe todo el dialog.\n\nGraicas",
"time": "16:19",
"topic": "Browse con Dialog",
"username": "Garbi"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "o como sabes si un dialog se ha maximizado para cambian de resoure",
"time": "17:14",
"topic": "Browse con Dialog",
"username": "Garbi"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "Garbi,\n\noDlg:SetClient( oBrowse )",
"time": "17:41",
"topic": "Browse con Dialog",
"username": "Antonio Linares"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "Me da el siguiente error: \nError description: Error Objects/6 No Exp. Method: TDIALOG:SETCLIENT\n\nCodigo fuente:\nDEFINE DIALOG oDlg RESOURCE \"HOJA\" TITLE IIF( lNuevo,\"AGREGAR\" ,;\n oemtoansi(\"MODIFICACION / CONSULTA Presupuesto n§ \")+alltrim(transform(vnumero,\"999,999\")) )\n\n REDEFINE GET gvfecha Var vfecha ID 102 OF oDlg\n REDEFINE say gvnombre Var vnombre ID 114 OF oDlg\n REDEFINE say gvref Var vref ID 116 OF oDlg\n\n\n REDEFINE BROWSE oBrwt ID 103 of oDlg\n\n oDlg:SetClient( oBrwt )\n\n oBrwT:bKeyChar = { | nKey, nFlags | (lineas(nkey),oBrwt:refresh(),ftotal(),gvtotal:refresh())}\n\n ADD COLUMN to oBrwt DATA (ctemporal)->cantidad HEADER \"Ctd\" size 40 picture \"99,999\"\n ADD COLUMN to oBrwt DATA (ctemporal)->concepto HEADER \"Articulo\" size 500\n ADD COLUMN to oBrwt DATA (ctemporal)->unitario HEADER \"Precio\" size 100 Picture \"9,999,999.99\" RIGHT\n ADD COLUMN to oBrwt DATA (ctemporal)->importe HEADER \"Total\" size 100 Picture \"9,999,999.99\" RIGHT\n\n REDEFINE say gvtotal Var vtotal ID 105 OF oDlg picture(\"9,999,999.99\")\n REDEFINE get gvtdto Var vtdto ID 108 OF oDlg picture(\"999.99\") valid ftotal()\n REDEFINE say gvdto Var vdto ID 109 OF oDlg picture(\"9,999,999.99\")\n REDEFINE say gvbase Var vbase ID 110 OF oDlg picture(\"9,999,999.99\")\n REDEFINE say gvtiva Var vtiva ID 111 OF oDlg picture(\"999.99\")\n REDEFINE say gviva Var viva ID 112 OF oDlg picture(\"999,999.99\")\n REDEFINE say gvttotal Var vttotal ID 104 OF oDlg picture(\"9,999,999.99\")\n\n REDEFINE BTNBMP aBoton[1] ID 113 RESOURCE \"DATOS\" OF oDlg;\n tooltip oemtoansi(\"Datos Adicionales\");\n action (datosadicionales(),gvnombre:refresh())\n\n REDEFINE BTNBMP aBoton[2] ID 504 RESOURCE \"sumar\" OF oDlg;\n tooltip oemtoansi(\"A¤adir Linea\");\n action (lineas(1),oBrwt:refresh())\n\n REDEFINE BTNBMP aBoton[8] ID 107 RESOURCE \"pgup\" OF oDlg;\n tooltip oemtoansi(\"Insertar Linea\");\n action (lineas(19),oBrwt:refresh())\n\n REDEFINE BTNBMP aBoton[3] ID 505 RESOURCE \"restar\" OF oDlg;\n tooltip oemtoansi(\"Borar Linea\");\n action (lineas(2),oBrwt:Refresh())\n\n REDEFINE BTNBMP aBoton[4] ID 506 RESOURCE \"cambIar\" OF oDlg;\n tooltip oemtoansi(\"Modificar Linea\");\n action (lineas(13),oBrwt:Refresh())\n\n REDEFINE BTNBMP aBoton[7] ID 106 RESOURCE \"TEXTO\" OF oDlg;\n tooltip oemtoansi(\"Nuevo\");\n action (lineas(14),oBrwt:Refresh())\n\n REDEFINE BTNBMP aBoton[9] ID 117 RESOURCE \"TARIFA\" OF oDlg;\n tooltip oemtoansi(\"Acceso Tarifa\");\n action (ftarifas(1),ftotal(),oBrwt:gotop(),oBrwt:Refresh())\n* action (lineas(14),oBrwt:Refresh())\n\n\n REDEFINE COMBOBOX getvfpago Var vfpago ID 115 items tfpago OF odlg\n\n REDEFINE BTNBMP aBoton[5] ID 501 RESOURCE \"ACEPTAR\" OF oDlg ;\n ACTION ( aVret:= ActAcepta( aVars ) , lSalva := aVret[1] ,;\n IIF( lSalva , oDlg:End() , Obj(aVret[2]):SetFocus() ));\n MESSAGE \"Guardar cambios y salir del catalogo\" ;\n WHEN ( Acceso(oApp:aUsuarios,\"PPTO\", nActua ) )\n\n REDEFINE BTNBMP aBoton[6] ID 502 RESOURCE \"SALIR\" OF oDlg ACTION (lSalva := falso, oDlg:End()) ;\n MESSAGE \"Salir del catalogo\"\n\n ACTIVATE DIALOG oDlg CENTER on init ftotal()",
"time": "18:00",
"topic": "Browse con Dialog",
"username": "Garbi"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "Prueba con:\n\noDlg:oClient = oBrowse",
"time": "18:14",
"topic": "Browse con Dialog",
"username": "Antonio Linares"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "Funciona. Se maximiza la ventana, pero que hago con los botones, los says y demas.\n\nGracias",
"time": "18:18",
"topic": "Browse con Dialog",
"username": "Garbi"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "Garbi,\n\nSi quieres reajustar las posiciones de todos los controles, has de hacerlo desde el codeblock bResized:\n\n[code:1xymoxdv]\noDlg:bResized = { || CalculaNuevasPosiciones( oDlg, oButton1, ... ) }\n\nfunction CalculaNuevasPosiciones( oDlg, oButton1, ... )\n\n oButton1:nTop = ...\n oButton2:nLeft = ...\n ...\n[/code:1xymoxdv]",
"time": "18:43",
"topic": "Browse con Dialog",
"username": "Antonio Linares"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "Lo probare. \nPuedes poner un sample un poco más completo. Gracias\nPor ejemplo que pongo despues ntop:=",
"time": "18:54",
"topic": "Browse con Dialog",
"username": "Garbi"
}
] |
Browse con Dialog
|
[
{
"date": "2006-03-31",
"forum": "FiveWin para CA-Clipper",
"text": "El valor de la nueva posición de cada control.",
"time": "19:54",
"topic": "Browse con Dialog",
"username": "Antonio Linares"
}
] |
Browse con Dialog
|
[
{
"date": "2006-04-04",
"forum": "FiveWin para CA-Clipper",
"text": "Antonio se pueden definir \"paneles\" cosa de poder separar por un lado los controles, botones, trees, etc, de la parte que uno quiera que ocupe el browse, por ejemplo menu en tree y botones sobre la izquierda en forma vertical, sobre la derecha desde la mitad y hasta el final un browse en otro panel, y que al redimensionar el dialogo se redimensione solo el panel que uno quiera, por ejemplo el sector del browse.\n\nEs solo estético nada importante, de hecho ahora meto todos los botones en una barra de botones y que se redimensione todo el resto, pero a veces hacen falta otras cosas en el dialogo.\n\nGracias.",
"time": "01:16",
"topic": "Browse con Dialog",
"username": "carlosortiz"
}
] |
Browse con Dialog
|
[
{
"date": "2010-02-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio\nEstoy usando la función que nos pasaste para que la barra se vea como Windows 7\nFunciona bien, lo que quiero es que la primera columna sea de otro color.\nHago lo siguiente:\n\n[code=fw:hk35ltr1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Function</span> Muestra<span style=\"color: #000000;\">(</span>aTexto<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBig <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Courier New\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-13</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Courier New\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-11</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont1 <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Arial\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">-9.8</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgView <span style=\"color: #0000ff;\">FROM</span> nDWTop, nDWLeft <span style=\"color: #0000ff;\">TO</span> nDWBottom, nDWRight <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Muestra archivo \"</span><br /> <br /> oBrw1:= TXBrowse<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> oDlgView <span style=\"color: #000000;\">)</span><br /> WITH OBJECT oBrw1<br /> :<span style=\"color: #000000;\">nMarqueeStyle</span> := MARQSTYLE_HIGHLROW<br /> :<span style=\"color: #000000;\">lRecordSelector</span>:=.F.<br /> :<span style=\"color: #000000;\">nFreeze</span>:=<span style=\"color: #000000;\">1</span><br /> :<span style=\"color: #000000;\">nColSel</span>:=<span style=\"color: #000000;\">2</span><br /> :<span style=\"color: #000000;\">nHeaderHeight</span>:=<span style=\"color: #000000;\">8</span><br /> :<span style=\"color: #000000;\">lTransparent</span>=.T.<br /> :<span style=\"color: #000000;\">SetArray</span><span style=\"color: #000000;\">(</span> aTexto,.T. <span style=\"color: #000000;\">)</span><br /> END<br /> <br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cHeader</span>:=.F. <br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nWidth</span>:=<span style=\"color: #000000;\">25</span><br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oDataFont</span>:=oFont1<br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cOrder</span>:=<span style=\"color: #ff0000;\">\"D\"</span><br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">nDataStrAlign</span>:=AL_RIGHT<br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrStd</span>:=<span style=\"color: #000000;\">{</span>|| <span style=\"color: #000000;\">{</span>CLR_GRAY,nRGB<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">230</span>,<span style=\"color: #000000;\">230</span>,<span style=\"color: #000000;\">240</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span><br /> <br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cHeader</span> := .F.<br /> oBrw1:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oDataFont</span>:= <span style=\"color: #000000;\">{</span> || iif<span style=\"color: #000000;\">(</span> lFont,oFont,oBig<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> AEval<span style=\"color: #000000;\">(</span> oBrw1:<span style=\"color: #000000;\">aCols</span>, <span style=\"color: #000000;\">{</span> | oCol | oCol:<span style=\"color: #000000;\">bPaintText</span> := <span style=\"color: #000000;\">{</span> | oCol, hDC, cData, aRect | PaintCol<span style=\"color: #000000;\">(</span> oCol, hDC, cData, aRect <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <br /> oBrw1:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlgView <br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br />...<br /><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <hbapi.h><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> ROUNDBOX <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> HDC hDC = <span style=\"color: #000000;\">(</span> HDC <span style=\"color: #000000;\">)</span> hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> HBRUSH hBrush = <span style=\"color: #000000;\">(</span> HBRUSH <span style=\"color: #000000;\">)</span> GetStockObject<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span>;<br /> HBRUSH hOldBrush = <span style=\"color: #000000;\">(</span> HBRUSH <span style=\"color: #000000;\">)</span> SelectObject<span style=\"color: #000000;\">(</span> hDC, hBrush <span style=\"color: #000000;\">)</span>;<br /> HPEN hPen, hOldPen ; <br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> hb_pcount<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> > <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">)</span><br /> hPen = CreatePen<span style=\"color: #000000;\">(</span> PS_SOLID, hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">9</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">(</span> COLORREF <span style=\"color: #000000;\">)</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">else</span><br /> hPen = CreatePen<span style=\"color: #000000;\">(</span> PS_SOLID, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">(</span> COLORREF <span style=\"color: #000000;\">)</span> hb_parnl<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">8</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <br /> hOldPen = <span style=\"color: #000000;\">(</span> HPEN <span style=\"color: #000000;\">)</span> SelectObject<span style=\"color: #000000;\">(</span> hDC, hPen <span style=\"color: #000000;\">)</span>;<br /> hb_retl<span style=\"color: #000000;\">(</span> RoundRect<span style=\"color: #000000;\">(</span> hDC ,<br /> hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>,<br /> hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span>,<br /> hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">)</span>,<br /> hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">)</span>,<br /> hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">6</span> <span style=\"color: #000000;\">)</span>,<br /> hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /><br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hOldBrush <span style=\"color: #000000;\">)</span>;<br /> DeleteObject<span style=\"color: #000000;\">(</span> hBrush <span style=\"color: #000000;\">)</span>;<br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hOldPen <span style=\"color: #000000;\">)</span>;<br /> DeleteObject<span style=\"color: #000000;\">(</span> hPen <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br />*<br /><span style=\"color: #00C800;\">function</span> PaintCol<span style=\"color: #000000;\">(</span> oCol, hDC, cData, aRect <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> oCol:<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">VGetPos</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == oBrw1:<span style=\"color: #000000;\">nArrayAt</span> <span style=\"color: #B900B9;\">//Cust->( OrdKeyNo() )</span><br /> GradientFill<span style=\"color: #000000;\">(</span> hDC, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> - <span style=\"color: #000000;\">2</span>, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span> - <span style=\"color: #000000;\">3</span>, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> + <span style=\"color: #000000;\">1</span>, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">]</span> + <span style=\"color: #000000;\">5</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">220</span>, <span style=\"color: #000000;\">235</span>, <span style=\"color: #000000;\">252</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">193</span>, <span style=\"color: #000000;\">219</span>, <span style=\"color: #000000;\">252</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, .T. <span style=\"color: #000000;\">)</span><br /> SetBkMode<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span><br /> RoundBox<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">2</span>, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> - <span style=\"color: #000000;\">1</span>, WndWidth<span style=\"color: #000000;\">(</span> oCol:<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">22</span>, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> + <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>,;<br /> RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">235</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">253</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <br /> RoundBox<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">1</span>, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> - <span style=\"color: #000000;\">2</span>, WndWidth<span style=\"color: #000000;\">(</span> oCol:<span style=\"color: #000000;\">oBrw</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span> - <span style=\"color: #000000;\">21</span>, aRect<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span> + <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span>,;<br /> RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">125</span>, <span style=\"color: #000000;\">162</span>, <span style=\"color: #000000;\">206</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endif</span><br /><br /> SetTextColor<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span><br /> DrawTextEx<span style=\"color: #000000;\">(</span> hDC, cData, aRect, oCol:<span style=\"color: #000000;\">nDataStyle</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:hk35ltr1]\nEl resultado es:\n[img:hk35ltr1]http://200.58.169.10//paquetes/browse.png[/img:hk35ltr1]\n\nGracias por ayuda\n\nSaludos\n\nAdhemar",
"time": "13:27",
"topic": "Browse con Vista de Window 7",
"username": "acuellar"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2010-02-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Adhemar,\n\nEn la llamada a RoundBox() cambia el valor aRect[ 1 ] - 1 por oBrw1:aCols[1]:nWidth y asi el pintado se hará a continuación de la primera columna.",
"time": "14:39",
"topic": "Browse con Vista de Window 7",
"username": "Antonio Linares"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2010-02-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Distinguido\n\nHice el cambio, pero no varia nada.\n\n?oBrw1:aCols[1]:nWidth da un valor de 25\n\nGracias de nuevo\n\nSaludos\n\nAdhemar",
"time": "15:37",
"topic": "Browse con Vista de Window 7",
"username": "acuellar"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2010-02-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cambiandole el segundo valor 2 de RoundBox() por oBrw1:aCols[1]:nWidth \n\ncon el parametro lTransparent:=.T.\nSale asi:\n[img:1mua7c0o]http://200.58.169.10/paquetes/browse1.png[/img:1mua7c0o]\n\nsin el parametro lTransparent:=.T.\n\nSale asi:\n\n[img:1mua7c0o]http://200.58.169.10/paquetes/browse2.png[/img:1mua7c0o]\n\nLa primer columna sale de otro color pero mantiene el pintado del puntero.\n\nGracias por la ayuda\n\nSaludos\n\nAdhemar",
"time": "17:00",
"topic": "Browse con Vista de Window 7",
"username": "acuellar"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2010-02-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Adhemar,\n\nDisculpa, hay que cambiar tambien el valor de llamada a GradientFill(), cambiando aRect[ 1 ] - 2 de igual forma",
"time": "01:46",
"topic": "Browse con Vista de Window 7",
"username": "Antonio Linares"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2010-02-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Distinguido\n\nAhora empieza desde la 2da. columna, el problema ahora es el ltransparent con .T. no muestra la 1ra. con fondo gris, con .F. muestra gris pero mantiene el pintado del puntero.\n\nSaludos\n\nAdhemar",
"time": "14:15",
"topic": "Browse con Vista de Window 7",
"username": "acuellar"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2010-02-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Adhemar,\n\nPuedes añadir otra llamada a GradientFill() para que rellene la zona de la primera columna, con las coordenadas de la primera columna.\n\nTenemos libertad de dibujar como queramos ahi <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "14:51",
"topic": "Browse con Vista de Window 7",
"username": "Antonio Linares"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2010-02-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Distinguido\n\nLo logré haciendo otro Gradientfill como me indico el resultado es:\n[img:23pm33s5]http://200.58.169.10/paquetes/browse3.png[/img:23pm33s5]\nNo me aparece la enumeración completa, pero creo que se ve bien.\n\ncomo es una tabla y está ordena por la enumeración cuandoy pulso 011 me sale así:\n[img:23pm33s5]http://200.58.169.10/paquetes/browse4.png[/img:23pm33s5]\n\nTengo que dar un Click sobre la línea para que recien la pinte con el gradient.\n\nGracias una vez mas por sus ayuda y su tiempo\n\nSaludos\n\nAdhemar",
"time": "17:06",
"topic": "Browse con Vista de Window 7",
"username": "acuellar"
}
] |
Browse con Vista de Window 7
|
[
{
"date": "2006-05-23",
"forum": "FiveWin para CA-Clipper",
"text": "Hola,\n\nComo puedo hacer que mi browse ,dependiendo de ciertas condiciones, en cada fila o registro se vea de un color espeficico.\n\nSegun yo estoy usando el twbrowse. Por lo menos eso dice en el resource workshop cada vez que hago un browse.\n\ny para el codigo utilizo la instruccion : \n redefine LISTBOX olbx FIELDS ........\n\nSi hay que cambiar de browse donde se cambia ? y como gracias",
"time": "21:48",
"topic": "Browse con celdas de colores",
"username": "renemontano"
}
] |
Browse con celdas de colores
|
[
{
"date": "2006-05-24",
"forum": "FiveWin para CA-Clipper",
"text": "[quote=\"renemontano\":1gdzsioj]Hola,\n\nComo puedo hacer que mi browse ,dependiendo de ciertas condiciones, en cada fila o registro se vea de un color espeficico.\n\nSegun yo estoy usando el twbrowse. Por lo menos eso dice en el resource workshop cada vez que hago un browse.\n\ny para el codigo utilizo la instruccion : \n redefine LISTBOX olbx FIELDS ........\n\nSi hay que cambiar de browse donde se cambia ? y como gracias[/quote:1gdzsioj]\n\nRene,\n\n[url:1gdzsioj]http://incos.sytes.net/fwh/twbrowse17.rar[/url:1gdzsioj]\n\nViene con ejemplos, espero te ayude",
"time": "06:04",
"topic": "Browse con celdas de colores",
"username": "wmormar"
}
] |
Browse con celdas de colores
|
[
{
"date": "2006-05-24",
"forum": "FiveWin para CA-Clipper",
"text": "Rene:\n\n Mirate el funcionamiento de estas variables / codigos de bloque:\n\noBrf:bTextColor:={|nRow,nCol| IF(nCol=1,CLR_HRED,)}\noBrw:nClrPane:={|| Detcol()}\n\noBrw3:bBkColor:= {|nRow,nCol,nStyle| If( nStyle==0 .and. (nCol==5.OR.ncol==7), ;\n CLR_YELLOW, ) }\n\n\nSTATIC Function Detcol()\n\nLocal cColor\n///DO CASE\n///CASE ENCAPEDI->ESTADO == 0 // SIN MOVIMIENTOS\n\tcColor:=RGB(251,249,215)//CLR_YELLOW\n///CASE ENCAPEDI->ESTADO == 1 // CON RECEPCIONES PARCIALES\n///\tcColor:=CLR_LBLUE\n///CASE ENCAPEDI->ESTADO == 2 // recibida totalmente\n///\tcColor:=CLR_LGRAY\n///CASE ENCAPEDI->ESTADO == 3 // fecha entrega vencida -rojo-\n///\tcColor:=RGB(255,130,130)\n///ENDCASE\n\nRETURN cColor\n\n//10) Nuevas variables ::bTextColor y ::bBkColor. Son bloques de codigo que\n// se eval£an en tiempo de pintado. Pueden devolver una valor NUMERICO,\n// que representa el color RGB con el cual se pintar el texto o fondo,\n// segun el bloque. Si devuelve otro valor, los colores ser n los especi-\n// ficados en las respectivas varialbes de instancia de la clase.\n// Se env¡an 3 argumentos: {|nRow,nCol,nStyleLine| ... }\n// nStyleLine, puede asumir los siguientes valores:\n// 0 -> Celda standard normal\n// 1 -> Celda Header\n// 2 -> Celda Footer\n// 3 -> Celda standard normal seleccionada\n// Ver Pto. 41)\n//11) Nueva variable ::nClrLine. Especifica un color especifico para las lineas\n// separadoras de celdas. Por defecto se utilizan los colores de linea\n// especificos, segun el valor de ::nLineSyle. (Jose Gimenez)\n// ::nClrFFore y ::nClrFBack -> Color RGB de texto y fondo respectiva-\n// mente de los (Pies) Footers. Son analogas a las\n// variables ::nClrForeHead y ::nClrBackHead, usadas en\n// las Cabeceras (Headers).\n//17) Nuevas variables ::nClrNFFore y ::nClrNFBack. NF (no focus). Indican\n// el color RGB de Texto y Fondo respectivamente de la(s) Celda(s)\n// seleccionada(s) cuando NO HAY FOCO sobre el control. Ambas son analogas\n// a las variables ::nClrForeFocus y ::nClrBackFocus.\n// Resumiendo Color(es) de Celda(s) Seleccionada(s):\n// +-------------------------+--------------+-----------------+\n// | Color celda seleccionada| CON FOCO | SIN FOCO |\n// +-------------------------+--------------+-----------------+\n// | Colores de Texto (Fore) | ::nClrNFFore | ::nClrForeFocus |\n// | Colores de Fondo (Back) | ::nClrNFBack | ::nClrBackFocus |\n// +-------------------------+--------------+-----------------+\n//40) Nueva variable: ::bFont. Es un bloque de codigo opcional, que se ejecuta\n// en tiempo de pintado, y envia 3 argumentos: {|nRow,nCol,nStyleLine| ... }\n// nStyleLine, puede asumir los siguientes valores:\n// 0 -> Celda standard normal\n// 1 -> Celda Header\n// 2 -> Celda Footer\n// 3 -> Celda standard normal seleccionada\n// Este bloque puede devolver un valor NUMERICO, que representa el handle o\n// manejador de una fuente de Windows (HFONT). Cualquier otro valor que no\n// sea numerico ser rechazado, y se asumir que debe usarse la fuente del\n// control standard. Como vemos esto trae una altisima flexibilidad en cuanto\n// a las fuentes del grid, la cual si quisieramos, cada celda podr¡a asumir\n// fuentes de distinto tipo, tama¤o y estilo.\n\n Con eso podes manipular a tu gusto, fuentes, y colores de lineas completas, columnas completas o celdas.\n\nSaludos,",
"time": "09:32",
"topic": "Browse con celdas de colores",
"username": "DanielPuente"
}
] |
Browse con celdas de colores
|
[
{
"date": "2010-07-06",
"forum": "FiveMac / FivePhone (iPhone, iPad)",
"text": "Manuel,\n\nEs una buena idea y sería estupendo que funcionase <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nA mi me gustaría implementar objetos columna para el browse, pero eso ya lo haremos más adelante",
"time": "12:24",
"topic": "Browse con imagenes",
"username": "Antonio Linares"
}
] |
Browse con imagenes
|
[
{
"date": "2010-07-06",
"forum": "FiveMac / FivePhone (iPhone, iPad)",
"text": "Le he estado dando vueltas a la manera de poder usar imagenes en el browse y se me ocurre una manera pero no se si sera la mejor de implementar .\nEn la clase Browse creamos una DATa ::aTipo con un valor para cada columna del browse ( si el valor es nil entendemos que es un string ) .Los tipos pueden ser los distintos elementos que el browse puede presentar ( de momento jugariamos con string o image )\nCuando llamamos a la funcion BrwAddColumn( ::hWnd, aHeaders[ n ] ) en la creación del browse podemos pasar otro parametro :\nBrwAddColumn( ::hWnd, aHeaders[ n ] , atipos[n] ) el string del browse será el nombre de la imagen . \n\nUna vez en la funcion BrwaddColumn analizaremos el tipo y si este es del tipo imagen generaremos un Objeto imagen cuyo archivo será el que nos dice el string \"de la casilla\".\nUsando tableView:setObjectValue:forTableColumn:row: podremos assignar los objetos imagen a cada \"casilla\" del browse .\nNo se si me he esplicado bien y como veis la \"jugada\" ? .\nEspero comentarios , y si es el camino correcto , se puede intentar .\nSaludos.",
"time": "10:47",
"topic": "Browse con imagenes",
"username": "mastintin"
}
] |
Browse con imagenes
|
[
{
"date": "2010-07-06",
"forum": "FiveMac / FivePhone (iPhone, iPad)",
"text": "He remirado la implementacion de browse y lo que temía pensado no se puede hacer ya que el Datasource está creado para admitir textos .\nSe tendrá que pensar otra manera de hacerlo.\nSaludos.",
"time": "21:29",
"topic": "Browse con imagenes",
"username": "mastintin"
}
] |
Browse con imagenes
|
[
{
"date": "2021-08-13",
"forum": "mod_harbour",
"text": "Hola,\n\nHe actualizado el proyecto de uso de browse en Mercury Developer -> tweb_crud , con un ejemplo de uso de paginación\n\n<!-- m --><a class=\"postlink\" href=\"http://54.37.60.38/tpl/tweb_crud/browse_pag\">http://54.37.60.38/tpl/tweb_crud/browse_pag</a><!-- m --> \n\nUna aplicación cerrada y que te la puedes bajar para aprender\n\nComo siempre...todo el código <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> \n\nBuen finde semana.\nC.",
"time": "11:10",
"topic": "Browse con paginación",
"username": "Carles"
}
] |
Browse con paginación
|
[
{
"date": "2021-08-16",
"forum": "mod_harbour",
"text": "Estimado Carles\n\nDe dónde puedo descargarlo?",
"time": "19:25",
"topic": "Browse con paginación",
"username": "acuellar"
}
] |
Browse con paginación
|
[
{
"date": "2021-08-17",
"forum": "mod_harbour",
"text": "Hola,\n\nAqui tienes instrucciones --> <!-- m --><a class=\"postlink\" href=\"https://modharbour.app/compass/search/quick\">https://modharbour.app/compass/search/quick</a><!-- m --> \n\nC.",
"time": "09:09",
"topic": "Browse con paginación",
"username": "Carles"
}
] |
Browse con paginación
|
[
{
"date": "2021-08-17",
"forum": "mod_harbour",
"text": "Estimado Carles\n\nLo revisé todo y no encuentro donde obtener el Browse_page\n\nGracias por su colaboración",
"time": "13:19",
"topic": "Browse con paginación",
"username": "acuellar"
}
] |
Browse con paginación
|
[
{
"date": "2021-08-17",
"forum": "mod_harbour",
"text": "Ademar,\n\nHas de instalarte el mod que indico para poder usar la aplicacion MD (Mercury Developer). Desde allí podras listarte e instalar automaticamente un monton de proyectos listos para usar...\n\n\n\nC.",
"time": "13:30",
"topic": "Browse con paginación",
"username": "Carles"
}
] |
Browse con paginación
|
[
{
"date": "2021-08-17",
"forum": "mod_harbour",
"text": "Carles\n\nListo ya instalé el Mercury Developer\nEscribo MRP\nY muestra lista: Mercury repository projects \n \nEscribo Install\nY muestra: Install ? for more information\n\nQue debo hacer?\n\nGracias por la ayuda",
"time": "14:45",
"topic": "Browse con paginación",
"username": "acuellar"
}
] |
Browse con paginación
|
[
{
"date": "2021-08-17",
"forum": "mod_harbour",
"text": "Ademar,\n\nQue te dice si escribes -> install ? \n\n <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nC.",
"time": "17:10",
"topic": "Browse con paginación",
"username": "Carles"
}
] |
Browse con paginación
|
[
{
"date": "2021-08-17",
"forum": "mod_harbour",
"text": "Perfecto.\n\nLo logré.\n\nMuchas gracias",
"time": "18:13",
"topic": "Browse con paginación",
"username": "acuellar"
}
] |
Browse con paginación
|
[
{
"date": "2006-07-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigos:\n\nDebo saber en que numero de columna doy el click\nCon los header me sale pero si la celda no\nes un header no me sale.\n\nGracias por la ayuda.\n\nSaludos\n\nRuben Fernandez",
"time": "19:37",
"topic": "Browse de Hernan",
"username": "RuFer"
}
] |
Browse de Hernan
|
[
{
"date": "2006-07-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "olbx:ncolAct\nguarda el número de columna actual\n\n\nolbx:lcellstyle := .t.\nolbx:bLClicked:={|nRow,nCol|MSGALERT(olbx:ncolact)}\n\n\nUn saludo\n\nMarcelo Jingo",
"time": "04:30",
"topic": "Browse de Hernan",
"username": "sjingo"
}
] |
Browse de Hernan
|
[
{
"date": "2006-07-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Marcelo:\n\nFuncionó a la perfección.\n\nSaludos\n\nRuben Fernandez",
"time": "05:23",
"topic": "Browse de Hernan",
"username": "RuFer"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Amigos.\nEstoy tratando de compilar el ejemplo 01 de los que trae el TwBrowse17 de Hernán, pero me da error: Unresolved external ‘_hb_stack” referenced from C:\\fwh\\samples\\BrwHdc\\wBrwLine.obj. Ya sea compilando wBrowse.prg o linkando TwBrw32.lib. no se que hago mal.\nAlguien ha solucionado esto?\nMuchas gracias\nJorge Vargas",
"time": "20:08",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "JVargas\nEstás utilizando una librería compilada que bajaste con el wBrowse?\nSi es así, lo mejor es compilarla de nuevo.\nAsegurate de incluir wbrwline.c\n\nSi bien uso xHarbour 0.99.60.1 y FWH 26May05, no tengo ningún problema con su uso\n\nsaludos",
"time": "15:44",
"topic": "Browse de Hernan",
"username": "MarioG"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Mario. muchas gracias por tu respuesta\nestoy compilando el Wbrowse sin problemas, el wBrwLine.c lo compilo para convertirlo en obj pero da muchos errores (26) como \"unable to open WinTen.h\" y muchos \"error E2219 wBrwLIne wrong number of arguments in call of macro '_parnl'\", en el sample01 no hay problemas, y al momento de linkarlo toma el wBrwLine.obj que existia en el ZIP y da el error 'unresolved external '_hb_stack' referenced from wBrwLine.obj.\nel problema es al parecer el wBrwLine.c del 10/02/2006 y el wBrwLIne.obj. del 15/02/2005\nno incluyo el TwBrw32.lib\npodrias por favor verificar las fechas de los wBrwLine que tienes?\n\nagradeceria tu ayuda\nJorge Vargas",
"time": "21:10",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Te envio los fuentes que tengo y uso\n\nSaludos",
"time": "21:46",
"topic": "Browse de Hernan",
"username": "MarioG"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Mario. \nmuchisimas gracias por tu ayuda\n\notro si pregunto.\nalguien sabe como se usa los archivos .MAK para crear una libreria?\ngracias \nJorge Vargas",
"time": "22:41",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"jvargas\":1r02zumi]Hola Mario. \nmuchisimas gracias por tu ayuda\n\notro si pregunto.\nalguien sabe como se usa los archivos .MAK para crear una libreria?\ngracias \nJorge Vargas[/quote:1r02zumi]\n\nUsar VERCE\n\n<!-- m --><a class=\"postlink\" href=\"http://incos.sytes.net/fivewin\">http://incos.sytes.net/fivewin</a><!-- m -->",
"time": "23:42",
"topic": "Browse de Hernan",
"username": "wmormar"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-31",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola William.\nmuchas gracias por tu info.\nvoy a descargarlo y ver lo que hago\nsaludos\nJorge Vargas",
"time": "17:40",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-10-31",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"jvargas\":hnxc1vdj]Hola William.\nmuchas gracias por tu info.\nvoy a descargarlo y ver lo que hago\nsaludos\nJorge Vargas[/quote:hnxc1vdj]\n\nPor cualquier duda a:\n\n<!-- e --><a href=\"mailto:wmormar@yahoo.com.mx\">wmormar@yahoo.com.mx</a><!-- e -->\n\no por messenger en: <!-- e --><a href=\"mailto:wmormar@hotmail.com\">wmormar@hotmail.com</a><!-- e -->",
"time": "19:22",
"topic": "Browse de Hernan",
"username": "wmormar"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Amigos\nTodavía no puedo hacer funcionar el Browse de Hernán ,\nCuando compilo el wBrwLine.c me da 26 errores. Para compilar uso:\necho -O2 -ewBrwLine.exe -I%hdir%\\include;%fwh%\\include wBrwLine.c >b32.bc\n%bcdir%\\bin\\bcc32 -M -c -v @b32.bc > clip.log\n\nTratando de averiguar cual es el origen del error, compilo el wBrwLine.c que trae el Fw 7.05 y me da el sgte. Diagnostico:\n\nBorland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland\n\\fwh\\source\\function\\wbrwline.c:\nError E2451 \\fwh\\source\\function\\wbrwline.c 655: Undefined symbol 'params' in function ABRWPOSREC\nWarning W8065 \\fwh\\source\\function\\wbrwline.c 655: Call to function 'PARNL' with no prototype in function ABRWPOSREC\n*** 1 errors in Compile ***\n que es esta línea\n\n l = _parnl( 3, wIndex );\n\nY como el Lenguaje C es igual que chino para mí. Alguno de Uds. conocedores de C, podría echarme una manito? \no hago algun error?\n\nMuchas gracias\nJorge Vargas",
"time": "15:36",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jorge:\n\nYo la he compilado con VERCE y no he tenido problemas, funciona bien.\n\nQue usas para compilar ?\n\nSaludos",
"time": "15:44",
"topic": "Browse de Hernan",
"username": "Armando"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Armando\nmuchas gracias por reponder\nyo uso el buildx.bat que viene con Fw, lo mismo que para compilar cualquier Prg. despues de hacerlo con Harbour que lo convierte a C viene:\n\necho -O2 -ewBrwLine.exe -I%hdir%\\include;%fwh%\\include wBrwLine.c >b32.bc\n%bcdir%\\bin\\bcc32 -M -c -v @b32.bc > clip.log \n\n y eso lo debe convertir a Obj\nLa verdad es que deseo quedarme con solamente lo que trae Fw. \nes bastante simple, pero parece que solo a mi me sucede esto.\notra vez gracias\nJorge Vargas",
"time": "18:42",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Amigos\nAlguna pequeña ayuda de mis amigos????\nque hago mal?\ngracias \nJorge Vargas",
"time": "20:56",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Amigos\nAlguna pequeña ayuda de mis amigos????\nque hago mal?\ngracias \nJorge Vargas",
"time": "21:04",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jorge,\n\nLos archivos en C que usa FWH requieren llamar a fwh\\tools\\clp2harb.exe fichero.c nuevo.c ya que sirven para varios compiladores distintos, y clp2harb.exe se encarga de adaptar un módulo en C a Harbour.\n\nSi aún así no lo consigues, envíame por email un ZIP con los ficheros y los compilamos aqui y te los enviamos compilados",
"time": "21:06",
"topic": "Browse de Hernan",
"username": "Antonio Linares"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Antonio.\nmuchas gracias por tu apoyo.\nya funcionó.\ntodavia me estoy riendo de fichero.c nuevo.c....\nSaludos\nJorge Vargas",
"time": "21:50",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2007-11-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "bien <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "21:52",
"topic": "Browse de Hernan",
"username": "Antonio Linares"
}
] |
Browse de Hernan
|
[
{
"date": "2008-08-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Amigos\r\nEstoy haciendo pruebas con el Brw de Hernan y modificado por Rossine, hice algunos arreglos a un ejemplo de entrada de datos, hasta que resultó el modelo que yo quería y me funciona muy bien.\r\nAl usar ese modelo como base para un prg de mi aplicación me devuelve:\r\nApplication\r\n===========\r\n Path and name: C:\\ALW\\XL.EXE (32 bits)\r\n Size: 1,944,576 bytes\r\n Time from start: 0 hours 0 mins 57 secs \r\n Error occurred at: 15/08/2008, 10:43:48\r\n Error description: Error BASE/1066 Argument error: conditional\r\n Args:\r\n [ 1] = U \r\n\r\nStack Calls\r\n===========\r\n Called from: TGET.PRG => TGET:LVALID(0)\r\n Called from: CONTROL.PRG => TGET:FWLOSTFOCUS(0)\r\n Called from: CONTROL.PRG => TCONTROL:HANDLEEVENT(0)\r\n Called from: TGET.PRG => TGET:HANDLEEVENT(0)\r\n Called from: WINDOW.PRG => _FWH(0)\r\n Called from: => SYSREFRESH(0)\r\n Called from: CONTROL.PRG => TCONTROL:KEYCHAR(0)\r\n Called from: TGET.PRG => TGET:KEYCHAR(0)\r\n Called from: => TWINDOW:HANDLEEVENT(0)\r\n Called from: CONTROL.PRG => TCONTROL:HANDLEEVENT(0)\r\n Called from: TGET.PRG => TGET:HANDLEEVENT(0)\r\n Called from: WINDOW.PRG => _FWH(0)\r\n Called from: => DIALOGBOXINDIRECT(0)\r\n Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)\r\n Called from: x.prg => AL721(181)\r\n Called from: al0.prg => MAIN(90)\r\n\r\nHe modificado el programa para hacer el seguimiento del error poniendo solo una columna e igual me da el mismo error.\r\nYa tengo bastante tiempo tratando de encontrarle solución\r\nA alguien le ha pasado esto?, es error de Brw?\r\nLo que me confunde es que en el ejemplo funciona bien todo.\r\nLes agradecería su ayuda\r\nSaludos y gracias por anticipado\r\nJorge Vargas",
"time": "17:06",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2008-08-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "El problema viene de un GET que estás usando cuyo VALID no devuelve un valor lógico",
"time": "19:38",
"topic": "Browse de Hernan",
"username": "Antonio Linares"
}
] |
Browse de Hernan
|
[
{
"date": "2008-08-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Antonio.\r\nMuchas gracias por responder. Hasta ahí he llegado. Eso se desprende del msg.\r\nLa rutina es bastante simple, da el msg de línea 255, luego el de la línea 257, regresa de la rutina de edición con .F. y cancela. Lo mismo si saldría después de hacer el msg de 262.\r\n\r\n If ! lContinue .and. aDatos[nAt,TNue] // Se agregado un nuevo Item !!!\r\n?\"255 lContinue=.f. \", aDatos[nAt,TNue], oLbx:nat, oLbx:nLastKey\r\n if oLbx:nLastkey=38 &&' ok se dio Up en edit de col1\r\n ?\"257 oLbx:nLastKey=38\"\r\n return .f. \r\n endif\r\n ?\"262 oLbx:nLastKey<>38\"\r\n return .f. // error de ?? que sale con .F. y entra otra vez a EditCell\r\n\r\n* EndIf\r\n EndIf\r\n?\"269 Exit\"\r\n Exit //Sale por cada Col\r\n\r\nLo que más me confunde es que esta misma rutina trabaja bien en el ejemplo que modifiqué y por mas que reviso no encuentro el error\r\nAgradecería cualquier ayuda, estoy entrampado en esto.\r\nSaludos y Gracias otra vez\r\nJorge Vargas",
"time": "17:58",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2008-08-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jorge,\r\n\r\nAqui:\r\n[code:1z7jnxhm]\n?\"269 Exit\" \nExit //Sale por cada Col \n[/code:1z7jnxhm]\r\nestás saliendo sin devolver un valor lógico",
"time": "20:34",
"topic": "Browse de Hernan",
"username": "Antonio Linares"
}
] |
Browse de Hernan
|
[
{
"date": "2008-08-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Antonio\r\nOtra vez gracias por tu ayuda.\r\nMe faltó poner algo mas de código para mejor entendimiento. El hecho es que se debe abandonar la rutina por la línea 257 que tiene ‘Return .F.’ cuando hay un nLastKey=38 o por la línea 260 por un <> 38.\r\nSolo llega a la línea 263 cuando no se cumple la condición de la línea 254 y la rutina sale por ‘Return lContinue’ final, que no es lo que se quiere en este punto porque nLastKey es 38 y debería salir por la línea 257 para que el oLbx tome el control.\r\n\r\nEstoy usando esta rutina de lectura:\r\noLbx:bEdit:= {|nCol, cBuffer, lFirstEdit|; &&' loop si fin, hasta dar Esc\r\n AL721EditaCelda( nCol, cBuffer, lFirstEdit )} \r\nQue llama a:\r\n\r\nFunction AL721EditaCelda( nCol, cBuffer, lFirstEdit )\r\nLOCAL bValid, nColReal:= nCol \r\n...........\r\n Case nCol == 1\r\n bValid:= {|| ValidCol1() }\r\n If lContinue:= oLbx:lEditCol( nColReal, @uBuffer, ;\r\n \"@ZE 99999\", bValid,,CLR_YELLOW )\r\n aDatos[nAt,nCol]:=uBuffer\r\n else\r\n?\"223 else Col1\",lContinue,lfirstEdit,oLbx:nLastKey\r\n // si se da Esc o F2 o KUp en lEditCol... lContinue es .f.\r\n EndIf\r\n// otras columnas……\r\n\r\n*?\"205 FinCol4\",lContinue,lFirstEdit\r\n Case nCol==len(oLbx:aColSizes) .and. Len(T)==nAt .and. ; // Ult Col y Ult Fila\r\n ! lFirstEdit\r\n AL721AdiTab( .f. ) &&' adiciona reg al final\r\n\r\n EndCase\r\n\r\n?\"253 EndCase\",nat,nCol,lContinue,lFirstEdit // x,y , .t. , 1Vez=.t.\r\n If ! lContinue .and. aDatos[nAt,TNue] // Se agregó un nuevo Item !!!\r\n?\"255 lContinue=.f. \", aDatos[nAt,TNue], oLbx:nat, oLbx:nLastKey\r\n if oLbx:nLastkey=38 &&' ok se dio Up en edit de col1\r\n ?\"257 oLbx:nLastKey=38\" ; Return .F. // sale por acá y cancela\r\n endif\r\n\r\n ?\"260 oLbx:nLastKey<>38\"\r\n return .f. // error ?? que sale con .F. \r\n EndIf\r\n?\"263 Exit\"\r\n Exit //Sale por cada Col\r\n\r\nEndDo\r\n\r\nIf Len( aDatos ) > 0\r\n AL721TotDoc() &&' acumula y muestra totales\r\nEndIf\r\n\r\n?\"279 CasiFin EditCell lContinue\",lContinue, \"nAt\",nAt, \"nCol\",nCol, \"oLbx:nLastKey\", oLbx:nlastkey\r\nIf lContinue\r\n Do Case\r\n Case oLbx:nLastKey == VK_UP \r\n return If( !GetKeyState(VK_SHIFT), -1, -3 ) \r\n Case oLbx:nLastKey == VK_DOWN // 40\r\n return If( !GetKeyState(VK_SHIFT), 3, 2 ) \r\n Case oLbx:nLastKey == VK_TAB // 9\r\n return If( GetKeyState(VK_SHIFT), -1, 1 ) \r\n EndCase\r\nEndIf\r\n?\"299 Fin editCell lContinue \",lContinue,\"nAt\",nAt,\"nCol \",nCol\r\nreturn lContinue // fin AL721EditaCelda\r\n*\r\nesta rutina no es nada del otro mundo.\r\nLos valores de Return que acepta la rutina son .T., .F., 1, 2, 3, -1, -2, -3 según el Método __Xedit y los valores numéricos no los estoy usando.\r\n \r\nLa funcion ValidCol1 siempre devuelve .t. por lo tanto no es alli el problema\r\nAl llegar a la linea 257 ya salió del Get, tampoco es alli.\r\n\r\nSi funciona bien el ejemplo entonces el problema es totalmente mio.\r\n\r\nMi pregunta en concreto es cómo saber qué valor recibe oLbx:bEdit para que cancele?. Los msgs no me dicen mucho y al parecer debo seguir rastreando en el método lEditCol donde hay gets.\r\nEntonces seguiré buscando.\r\nMuchas gracias por toda la ayuda\r\nJorge Vargas",
"time": "14:18",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2008-08-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Amigos:\r\nYa encontré el error. No tenia nada que ver con el Brw, era de un Get anterior que en el Valid buscaba los datos para llenar el Brw y alli solo hacia el ‘Return’\r\nLo que me confundía era que el Brw empezaba a pedir datos en varias columnas y lineas y todo iba bien hasta salir del Brw donde me esperaba el Valid.\r\nHabía revisado 30 veces esta parte pero no vi la diferencia con el ejemplo original.\r\nYa se que uno no ve no solo porque le falla la vista sino porque se está molesto y preocupado\r\nLes agradezco su tiempo y su ayuda\r\nJorge Vargas.",
"time": "19:55",
"topic": "Browse de Hernan",
"username": "jvargas"
}
] |
Browse de Hernan
|
[
{
"date": "2006-06-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Parece que los enlaces que publicamos en:\n<!-- m --><a class=\"postlink\" href=\"http://fivetechsoft.com/forums/viewtopic.php?t=2502\">http://fivetechsoft.com/forums/viewtopic.php?t=2502</a><!-- m -->\n\nhan dejado de funcionar. Alguien tiene esos ficheros, y que pueda volver a alojarlos en <!-- w --><a class=\"postlink\" href=\"http://www.hyperupload.com\">www.hyperupload.com</a><!-- w --> ? gracias",
"time": "09:09",
"topic": "Browse de Hernan para FWH 2.7 Febrero y en adelante",
"username": "Antonio Linares"
}
] |
Browse de Hernan para FWH 2.7 Febrero y en adelante
|
[
{
"date": "2006-06-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "te dejo el Último que se publicó en el foro.\n\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/026cd92f26/TWBrowse_17-\">http://hyperupload.com/download/026cd92f26/TWBrowse_17-</a><!-- m -->[x]Harbour.exe.html\n\nLo uso con FWH Marzo 2006 y xHarbour 0.99.60 funciona perfecto.",
"time": "09:37",
"topic": "Browse de Hernan para FWH 2.7 Febrero y en adelante",
"username": "jose_murugosa"
}
] |
Browse de Hernan para FWH 2.7 Febrero y en adelante
|
[
{
"date": "2006-06-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados\n\n He bajado la clase y me esta arrojando error de variable no declarada\nnElements, ahora viendo la clase el metodo NEW(..). no existe la variable nElement \n\n ahora que valor deviera tener nElement\n\n\n[code:1h1kozjj]\nif Len( ::aHeaders ) < nElements\n if ::Cargo == nil\n ::aHeaders = Array( nElements )\n for n = 1 to nElements\n if ! Empty( cAlias ) .and. Upper( cAlias ) != \"ARRAY\"\n ::aHeaders[ n ] = ( cAlias )->( FieldName( n ) )\n else\n ::aHeaders[ n ] = AllTrim( Str( n ) )\n endif\n next\n else\n ::aHeaders = { \"\" }\n endif\n endif\n[/code:1h1kozjj]\n\nSaludos\nPatricio",
"time": "16:24",
"topic": "Browse de Hernan para FWH 2.7 Febrero y en adelante",
"username": "Patricio Avalos Aguirre"
}
] |
Browse de Hernan para FWH 2.7 Febrero y en adelante
|
[
{
"date": "2006-06-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "estimado\n\n estoy compilando con el siguiente archivo bat:\n\n[code:1103cjmh]\n@ECHO OFF\nCLS\nset include=.\\INCLUDE;c:\\fwh\\include\nset hdir=c:\\harbour\nset bcdir=c:\\borland\\bcc55\\bin\n\ngoto inicio\n\n:error\ncls\ntype error.log\ngoto end\n\n:inicio\n\n%hdir%\\bin\\harbour SOURCE\\CLASSES\\WBROWSE.PRG /p /n /a /w /es1 /i\\fwh\\include;%hdir%\\include /oOBJ\\WBROWSE.C >error.log\nif errorlevel 1 goto error\n\n%hdir%\\bin\\harbour SOURCE\\CLASSES\\TMULTISE.PRG /n /i\\fwh\\include;%hdir%\\include /oOBJ\\TMULTISE.C >>error.log\nif errorlevel 1 goto error\n\nrem INICIO Modulos C Generados por Harbour !!!\n\n%bcdir%\\bcc32 -M -c -D__HARBOUR__ -I%hdir%\\include;c:\\fwh\\include -oOBJ\\WBRWLINE.OBJ SOURCE\\FUNCTION\\WBRWLINE.C\n\n%bcdir%\\bcc32 -M -c -D__HARBOUR__ -I%hdir%\\include -oOBJ\\WBROWSE.OBJ OBJ\\WBROWSE.C\n@del OBJ\\WBROWSE.c\n%bcdir%\\bcc32 -M -c -D__HARBOUR__ -I%hdir%\\include -oOBJ\\TMULTISE.OBJ OBJ\\TMULTISE.C\n@del OBJ\\TMULTISE.c\n\nIF exist LIB\\TWBRW32.LIB @del LIB\\TWBRW32.LIB\n\n%bcdir%\\tlib lib\\TWBRW32.LIB +OBJ\\WBROWSE.OBJ + OBJ\\WBRWLINE.OBJ + OBJ\\TMULTISE.OBJ\n\n:end\npause\n[/code:1103cjmh]\n\n\npero al compilar WBRWLINE.C me sale el siguiente error\n\n[code:1103cjmh]Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland\nSOURCE\\FUNCTION\\WBRWLINE.C:\nWarning W8065 SOURCE\\FUNCTION\\WBRWLINE.C 1183: Call to function 'hb_dynsymSymbol' with no prototype in function HB_FUN_WBRWPANE\nError E2342 SOURCE\\FUNCTION\\WBRWLINE.C 1183: Type mismatch in parameter 'pSym' (wanted 'HB_SYMB *', got 'int') in function HB_FUN_WBRWPANE\n*** 1 errors in Compile ***[/code:1103cjmh]\n\nAlguien sabe como compilar WBRWLINE.C\n\nxHarbour Compiler build 0.99.3, fwH(2.4) , borland C5.5\n\nsaludos\nPatricio",
"time": "17:52",
"topic": "Browse de Hernan para FWH 2.7 Febrero y en adelante",
"username": "Patricio Avalos Aguirre"
}
] |
Browse de Hernan para FWH 2.7 Febrero y en adelante
|
[
{
"date": "2006-06-10",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jose,\n\nGracias! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->",
"time": "19:29",
"topic": "Browse de Hernan para FWH 2.7 Febrero y en adelante",
"username": "Antonio Linares"
}
] |
Browse de Hernan para FWH 2.7 Febrero y en adelante
|
[
{
"date": "2006-10-31",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estoy usando pelles para editar recursos y estoy usando un archivo .rc creado con el workshop. no tengo mayores problemas pero cuando quiero poner un wbrowse de hernán no me muestra las barras de scroll. No tengo manera de ponerlas desde recursos y tampoco los toma desde codigo. Alguien tiene idea ??? Muchas gracias por todo",
"time": "15:47",
"topic": "Browse desde recursos con pelles",
"username": "horacio"
}
] |
Browse desde recursos con pelles
|
[
{
"date": "2006-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"horacio\":107ktjrt]Estoy usando pelles para editar recursos y estoy usando un archivo .rc creado con el workshop. no tengo mayores problemas pero cuando quiero poner un wbrowse de hernán no me muestra las barras de scroll. No tengo manera de ponerlas desde recursos y tampoco los toma desde codigo. Alguien tiene idea ??? Muchas gracias por todo[/quote:107ktjrt]\n\nTenes que definirlo como \"CUSTOM CONTROL\" y en\nWindows style = 0x50210000\nExtend windows style = 0x00000000\nClass name = TWBrowse\n\nUn abrazo. El Loco =>))",
"time": "01:17",
"topic": "Browse desde recursos con pelles",
"username": "El Loco"
}
] |
Browse desde recursos con pelles
|
[
{
"date": "2006-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "En el window style:\n0x50A10000 scroll vertical\n0x50B10000 scroll horizontal\nsalu2\npaco",
"time": "02:02",
"topic": "Browse desde recursos con pelles",
"username": "Francisco Horta"
}
] |
Browse desde recursos con pelles
|
[
{
"date": "2010-10-02",
"forum": "FiveWin for Pocket PC",
"text": "Hello all,\n\nI open a window that displays a browse.\nI use the up and down arrows to skip the records in the browse, the selected record being white on blue while all other records are black on white.\nThere is a button (or I detect a keyboard key) that calls a sub function to do some data entry.\nWhen I call this function, the selected record becomes white on grey (probably meaning that it is disabled).\nWhen I come back from the sub function, the record stays disabled (white on grey).\nIf I use the scroll bar, there is no problem, the focus goes to the next (previous) record and it is enabled (white on blue).\n\nThe problem is when I want to skip with the arrow keys. I need to pess this key a few but variable number of times before it seems recognized.\n\nHow can I change the program so that the record is enabled when returning from the sub function ?\n\nThe following code is an extract of a more complex routine:\n[code=fw:35zpj5k1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> iif<span style=\"color: #000000;\">(</span>nKey == <span style=\"color: #0000ff;\">Asc</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"3\"</span><span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #000000;\">(</span>nEss := oF10b:<span style=\"color: #000000;\">ESSENCE</span>,;<br /> iif <span style=\"color: #000000;\">(</span>cMethode == <span style=\"color: #ff0000;\">\"M\"</span> .AND.;<br /> <span style=\"color: #000000;\">(</span>nEss == <span style=\"color: #000000;\">41</span> .OR. nEss == <span style=\"color: #000000;\">42</span> .OR. nEss == <span style=\"color: #000000;\">150</span> .OR. nEss == <span style=\"color: #000000;\">151</span><span style=\"color: #000000;\">)</span>,;<br /> cRet := <span style=\"color: #ff0000;\">\"P\"</span>,cRet := cMethode<span style=\"color: #000000;\">)</span>,;<br /> DetAddSel<span style=\"color: #000000;\">(</span>aFichiers,Str<span style=\"color: #000000;\">(</span>nEss<span style=\"color: #000000;\">)</span>,Str<span style=\"color: #000000;\">(</span>oF10b:<span style=\"color: #000000;\">SOUS_CODE</span><span style=\"color: #000000;\">)</span>,cRet,<span style=\"color: #ff0000;\">\"edit\"</span><span style=\"color: #000000;\">)</span>,;<br /> oBrw:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,;<br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"*\"</span><span style=\"color: #000000;\">)</span>,;<br /> oBrw:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>,;<br /> </div>[/code:35zpj5k1]\n\nRemark that MsgInfo(\"*\") is executed but the browse doesn't seem to receive the focus.\n\nRegards,\nRaymond",
"time": "21:57",
"topic": "Browse doesn\"t get focus",
"username": "Raymond Fischbach"
}
] |
Browse doesn"t get focus
|
[
{
"date": "2010-10-06",
"forum": "FiveWin for Pocket PC",
"text": "Raymond,\n\nTry not to call oBrw:refresh() and see if that makes a difference, thanks",
"time": "07:28",
"topic": "Browse doesn\"t get focus",
"username": "Antonio Linares"
}
] |
Browse doesn"t get focus
|
[
{
"date": "2010-10-06",
"forum": "FiveWin for Pocket PC",
"text": "Hi Antonio,\n\nI have an answer, a workaround and maybe an explanation.\n\nExplanation: \nIt seems that the function DetAddSel() is executed in another thread. Then the function is called and immediately the following statements are executed. Then the browse is active again, the new window is also started but it is covered by the browse.\n\nWorkarounds:\nThe one I have used is to add oBrw as a parameter to DetAddSel() and to move the refresh in that function just before leaving:\n[code=fw:2e67n2xd]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oBrw:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br />oBrw:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> </div>[/code:2e67n2xd]\nAnother possibility (I think but not tested) is to use pass oWnd as a parameter to DetAddSel and to use the clause \"OF oWnd\" when creating the new window. I suppose that then this new window will be modal.\n\nConcerning your suggestion, I tried all possibilities but the record always remains disabled. This is not a problem if you use the touchscreen because as soon as you touch the screen, the browse regains the focus but the users of this program must use the keyboard.\n\nRegards,\nRaymond",
"time": "09:30",
"topic": "Browse doesn\"t get focus",
"username": "Raymond Fischbach"
}
] |
Browse doesn"t get focus
|
[
{
"date": "2022-09-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "On my program I have a XBrowse with fast edit and brush. My problem is when I edit last visible row and go down to end the edit the scrolling does not update well:\n[url=https://imagesharing.com/photo.php?id=12ef69db7cf5c989104f504a9c117bcadf9be0dd:2sttbzw2][img:2sttbzw2]https://imagesharing.com/uploads/12ef69db7cf5c989104f504a9c117bcadf9be0dd.gif[/img:2sttbzw2][/url:2sttbzw2]\nThis piece of code reproduces the issue:\n[code=fw:2sttbzw2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">Function</span> main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> oWnd,oBrw<br /> <span style=\"color: #00C800;\">LOCAL</span> aData := <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span>,n, oBrush<br /> <span style=\"color: #00C800;\">for</span> n:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">200</span><br /> aAdd<span style=\"color: #000000;\">(</span>aData, <span style=\"color: #000000;\">{</span><span style=\"color: #ff0000;\">\"Product \"</span>+hb_ntoc<span style=\"color: #000000;\">(</span>n<span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">0.0</span><span style=\"color: #000000;\">}</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /> @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">STYLE</span> <span style=\"color: #000000;\">2015</span> ;<br /> DATASOURCE aData ;<br /> COLUMNS <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">2</span> ;<br /> HEADERS <span style=\"color: #ff0000;\">\"Desc\"</span>,<span style=\"color: #ff0000;\">\"Qta\"</span><br /> with object oBrw<br /> :<span style=\"color: #000000;\">lFastEdit</span> := .T.<br /> end<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">COLOR</span> RGB<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">192</span>,<span style=\"color: #000000;\">192</span>,<span style=\"color: #000000;\">192</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00D7D7;\">#define</span> CLR_EDITED RGB<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">240</span>,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">64</span><span style=\"color: #000000;\">)</span><br /> with object oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><br /> :<span style=\"color: #000000;\">nEditType</span> := EDIT_GET<br /> :<span style=\"color: #000000;\">cEditPicture</span> := <span style=\"color: #ff0000;\">\"999999.99\"</span><br /> :<span style=\"color: #000000;\">lAutoSave</span> := .T.<br /> :<span style=\"color: #000000;\">oBrush</span> := <span style=\"color: #000000;\">{</span>|| iif<span style=\"color: #000000;\">(</span>empty<span style=\"color: #000000;\">(</span>oBrw:<span style=\"color: #000000;\">aArrayData</span><span style=\"color: #000000;\">[</span>oBrw:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span>,oBrush,<span style=\"color: #00C800;\">nil</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> :<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">{</span>|| ;<br /> <span style=\"color: #000000;\">{</span> iif<span style=\"color: #000000;\">(</span>empty<span style=\"color: #000000;\">(</span>oBrw:<span style=\"color: #000000;\">aArrayData</span><span style=\"color: #000000;\">[</span>oBrw:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><span style=\"color: #000000;\">)</span>,CLR_BLACK,CLR_EDITED<span style=\"color: #000000;\">)</span>, ;<br /> CLR_WHITE<span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #000000;\">}</span><br /> end<br /> oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oWnd:<span style=\"color: #000000;\">oClient</span> := oBrw<br /> <span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">Window</span> oWnd<br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:2sttbzw2]\n\nI am using the FW 18.01, maybe is it already fixed on newer versions?\n\nusing 18.01 my PC create an executable of 3.686.400 bytes for this sample, how big is with new version? (the size is main reason why we don't update so long)\n\nRegards,\n\nPS: without brush is worse, you see the old value",
"time": "16:54",
"topic": "Browse edit of cell with brush",
"username": "AntoninoP"
}
] |
Browse edit of cell with brush
|
[
{
"date": "2022-09-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "yo haria asi:\n\n[code=fw:2acju1vr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// C:\\FWH..\\SAMPLES\\ANTONINO.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#Include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#Define</span> CLR_EDITED RGB<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">240</span>,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">64</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oWnd, oBrw<br /><br /> <span style=\"color: #00C800;\">LOCAL</span> aData := <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span>, n, oBrush<br /><br /> <span style=\"color: #00C800;\">FOR</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">200</span><br /> aAdd<span style=\"color: #000000;\">(</span> aData, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Product \"</span> + hb_ntoc<span style=\"color: #000000;\">(</span> n <span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">0.0</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">COLOR</span> RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /> @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">STYLE</span> <span style=\"color: #000000;\">2015</span> DATASOURCE aData ;<br /> COLUMNS <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> HEADERS <span style=\"color: #ff0000;\">\"Desc\"</span>, <span style=\"color: #ff0000;\">\"Qta\"</span><br /><br /> WITH object oBrw<br /> :<span style=\"color: #000000;\">lFastEdit</span> := .T.<br /> END<br /><br /> WITH object oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span><br /><br /> :<span style=\"color: #000000;\">nEditType</span> := EDIT_GET<br /> :<span style=\"color: #000000;\">cEditPicture</span> := <span style=\"color: #ff0000;\">\"999999.99\"</span><br /> :<span style=\"color: #000000;\">lAutoSave</span> := .T.<br /><br /> :<span style=\"color: #000000;\">oBrush</span> := <span style=\"color: #000000;\">{</span>|| iif<span style=\"color: #000000;\">(</span> empty<span style=\"color: #000000;\">(</span> oBrw:<span style=\"color: #000000;\">aArrayData</span><span style=\"color: #000000;\">[</span>oBrw:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span>, oBrush, <span style=\"color: #00C800;\">nil</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> :<span style=\"color: #000000;\">bClrStd</span> := <span style=\"color: #000000;\">{</span>|| ;<br /> <span style=\"color: #000000;\">{</span> iif<span style=\"color: #000000;\">(</span> empty<span style=\"color: #000000;\">(</span> oBrw:<span style=\"color: #000000;\">aArrayData</span><span style=\"color: #000000;\">[</span>oBrw:<span style=\"color: #000000;\">KeyNo</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span>, CLR_BLACK, CLR_EDITED <span style=\"color: #000000;\">)</span>, ;<br /> CLR_WHITE <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #000000;\">}</span><br /> end<br /><br /> oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oWnd:<span style=\"color: #000000;\">oClient</span> := oBrw<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:2acju1vr]\n\nRegards, saludos.",
"time": "17:38",
"topic": "Browse edit of cell with brush",
"username": "karinha"
}
] |
Browse edit of cell with brush
|
[
{
"date": "2022-09-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"karinha\":puulv7wu]yo haria asi:\nRegards, saludos.[/quote:puulv7wu]\nI don't see changes in your code",
"time": "07:27",
"topic": "Browse edit of cell with brush",
"username": "AntoninoP"
}
] |
Browse edit of cell with brush
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.