messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2007-12-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Julio,\n\nEstás haciéndolo así ?\n\noStatusBar:SetPartText( 3, cZoek )",
"time": "22:10",
"topic": "Busqueda incremental y StatusBar",
"username": "Antonio Linares"
}
] |
Busqueda incremental y StatusBar
|
[
{
"date": "2007-12-24",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Perfecto Amigo !!!!\n\nSolucionado. Parece que en algun momento no me funciono así, y quería redescubrir la fórmula del agua calentada !\n\nLa forma mas simple siempre es la mejor...\n\nGracias de nuevo, y te deseo que pases unas Felices Navidades junto a tu familia, y que el 2008 sea el Mejor Año del Resto de tu Vida.\n\nAbrazos....",
"time": "22:19",
"topic": "Busqueda incremental y StatusBar",
"username": "jllinas"
}
] |
Busqueda incremental y StatusBar
|
[
{
"date": "2007-12-25",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bien! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "01:57",
"topic": "Busqueda incremental y StatusBar",
"username": "Antonio Linares"
}
] |
Busqueda incremental y StatusBar
|
[
{
"date": "2011-02-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola buenos dias a todos, tengo mucho tiempo de no programar al 100% en mis aplicaciones, y me surgio una inquietud por parte de uno de los usuarios que me solicitó, si podria hacer una búsqueda incremental en listbox, uso la clase de Hernan Ceccarelli, serian tan amable si alguien tendrá algún ejemplo funcional de como hacer la busqueda incremental? \n\nMucho les agradecere su pronta ayuda que codigo usar y los pasos y procedimientos a seguir dentro del codigo fuente, uso indices CDX.\n\nGusto saludarlos y que tengan un excelente dia, y sobre todo Feliz inicio año nuevo a todos los usuarios de FiveWin.\n\nAtte: Adrian C. C.\n<!-- e --><a href=\"mailto:acc69@hotmail.com\">acc69@hotmail.com</a><!-- e -->",
"time": "16:49",
"topic": "Busqueda incremental...",
"username": "ACC69"
}
] |
Busqueda incremental...
|
[
{
"date": "2011-02-15",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=1016\">http://www.fivewin.com.br/exibedicas.asp?id=1016</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=708\">http://www.fivewin.com.br/exibedicas.asp?id=708</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=691\">http://www.fivewin.com.br/exibedicas.asp?id=691</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=389\">http://www.fivewin.com.br/exibedicas.asp?id=389</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=384\">http://www.fivewin.com.br/exibedicas.asp?id=384</a><!-- m -->\n\nSalu2",
"time": "17:26",
"topic": "Busqueda incremental...",
"username": "karinha"
}
] |
Busqueda incremental...
|
[
{
"date": "2011-02-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"karinha\":21ml44zx]Hola,\n\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=1016\">http://www.fivewin.com.br/exibedicas.asp?id=1016</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=708\">http://www.fivewin.com.br/exibedicas.asp?id=708</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=691\">http://www.fivewin.com.br/exibedicas.asp?id=691</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=389\">http://www.fivewin.com.br/exibedicas.asp?id=389</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=384\">http://www.fivewin.com.br/exibedicas.asp?id=384</a><!-- m -->\n\nSalu2[/quote:21ml44zx]\n\nHola Karinha , te estoy muy agradecido, por tu aportacion, logré adaptarlo a mis necesidades de mi codigo de busqueda incremental, gracias y que tenga un excelente dia.\n\nSaludos a todos.\n\nAtte: Adrian C. C.",
"time": "20:08",
"topic": "Busqueda incremental...",
"username": "ACC69"
}
] |
Busqueda incremental...
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Saludos amigos del foro.\nTengo necesidad de una funcion para buscar valores numericos por aproximacion, en una tabla dbf.\nAgradeceré mucho si alguno de ustedes ya la ha desarrollado y pueda compartirla.\n\nSaludos.",
"time": "01:20",
"topic": "Busqueda numerica por aproximacion",
"username": "FranciscoA"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "No entiendo bien lo que quieres decir\nEl número más aproximado al introducido?\nEstá ordenado por ese campo la base de datos?",
"time": "01:23",
"topic": "Busqueda numerica por aproximacion",
"username": "cnavarro"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"cnavarro\":c52s3bf1]No entiendo bien lo que quieres decir\nEl número más aproximado al introducido?\nEstá ordenado por ese campo la base de datos?[/quote:c52s3bf1]\n\nGracias por contestar.\nAsi es, el valor mas aproximado al introducido (o tomado de otra tabla).\nLa tabla está ordenada de manera ascendente por estos valores, y muchos de ellos se repiten (esto ultimo no tengo problema en controlar, con otro campo).\n\nNuevamente gracias por cualquier sugerencia o código.\n\nSaludos.",
"time": "01:32",
"topic": "Busqueda numerica por aproximacion",
"username": "FranciscoA"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Se me olvidó comentar que al usar DbSeek(nValue,.t.) y no encontrar el valor, el cursor se sitúa en el siguiente registro.\nEl caso es que el valor aproximado a encontrar puede ser mayor o menor al valor digitado.\nGracias.",
"time": "01:38",
"topic": "Busqueda numerica por aproximacion",
"username": "FranciscoA"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Bien, te cuento lo que se me ocurre\nComo el DbSeek( uval, .T. ) se sitúa en el valor superior al buscado, coge la diferencia con el anterior y posterior y compruebas cuál es el más aproximado\nSe me debe escapar algo que no te he entendido porque seguro que esa solución ya la habías pensado\nLo segundo es hacer una búsqueda \"dicotómica\" a mano\nSaludos",
"time": "03:05",
"topic": "Busqueda numerica por aproximacion",
"username": "cnavarro"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cristobal.\nMuchisimas gracias. \nEfectivamente, asi la he finalizado, comparando valores de registro anterior y registro donde se colocó el cursor, y el de menor diferencia lo tomo como el mas aproximado.\nAqui esta la funcioncita, algo \"chapiolla\", pero me funciona.\n\n[code=fw:27n61de0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> misgets<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Buscar valor aproximado\"</span>,<span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #ff0000;\">\"Introduzca valor\"</span>,@nVal,<span style=\"color: #ff0000;\">\"lupa\"</span>,.t.<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> !<span style=\"color: #000000;\">(</span>cAlias<span style=\"color: #000000;\">)</span>-><span style=\"color: #000000;\">(</span>dbSeek<span style=\"color: #000000;\">(</span>nVal,.t.<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;\">\"No encontrado valor exacto\"</span><span style=\"color: #000000;\">)</span><br /> nRec := Recno<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> dbskip<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">-1</span><span style=\"color: #000000;\">)</span><br /> nValAnt := <span style=\"color: #0000ff;\">Abs</span><span style=\"color: #000000;\">(</span> nVal - field->debe <span style=\"color: #000000;\">)</span><br /> dbskip<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> nValPos := <span style=\"color: #0000ff;\">Abs</span><span style=\"color: #000000;\">(</span> nVal - field->debe <span style=\"color: #000000;\">)</span><br /> nValAprox := <span style=\"color: #0000ff;\">Min</span><span style=\"color: #000000;\">(</span>nValAnt,nValPos<span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"Valor aproximado es \"</span>+Transform<span style=\"color: #000000;\">(</span>nValAprox,<span style=\"color: #ff0000;\">\"999,999,999.99\"</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> nValAnt < nValPos<br /> dbskip<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">-1</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /> oBrw3:<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;\">\"Valor a buscar \"</span> + Transform<span style=\"color: #000000;\">(</span>nVal,<span style=\"color: #ff0000;\">\"999,999.99\"</span><span style=\"color: #000000;\">)</span> +CRLF+;<br /> <span style=\"color: #ff0000;\">\"Valor anterior \"</span> + Transform<span style=\"color: #000000;\">(</span>nValAnt,<span style=\"color: #ff0000;\">\"999,999.99\"</span><span style=\"color: #000000;\">)</span> +CRLF+;<br /> <span style=\"color: #ff0000;\">\"Valor Posterior \"</span> + Transform<span style=\"color: #000000;\">(</span>nValPos,<span style=\"color: #ff0000;\">\"999,999.99\"</span><span style=\"color: #000000;\">)</span> +CRLF+;<br /> <span style=\"color: #ff0000;\">\"Valor Aproximado \"</span> + Transform<span style=\"color: #000000;\">(</span>nValAProx,<span style=\"color: #ff0000;\">\"999,999.99\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">endif</span><br /> </div>[/code:27n61de0]\nSaludos, y nuevamente agradezco tu interés.\n\nFrancisco\n\nEDITADO...",
"time": "03:21",
"topic": "Busqueda numerica por aproximacion",
"username": "FranciscoA"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Francisco, creo que te falta en los DbSkip controlar el Eof() y el Bof()",
"time": "04:26",
"topic": "Busqueda numerica por aproximacion",
"username": "cnavarro"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2016-08-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"cnavarro\":2h0r6k82]Francisco, creo que te falta en los DbSkip controlar el Eof() y el Bof()[/quote:2h0r6k82]\nTienes toda la razón. Voy a modificarla.\nMuchas gracias.",
"time": "13:34",
"topic": "Busqueda numerica por aproximacion",
"username": "FranciscoA"
}
] |
Busqueda numerica por aproximacion
|
[
{
"date": "2006-08-09",
"forum": "FiveWin para Pocket PC",
"text": "Hola a todos.\n\nEste es mi primer post... asi que en próximos espero ser de más ayuda. Explico un poco lo que estoy haciendo.. Me he creado un browse (o grid) en donde muestro todos los registros de una tabla. Lo que pretendo es posicionarme en un registro en concreto para mostrar todos sus campos dependiendo de un valor que se introduzca, puede ser una letra,una palabra o parte de ella, es decir, una busqueda por medio de una cadena de caracteres. En VFP existe seek() pero aqui no se como hacerlo. Si alguien puede indicarme como....\n\n\nUn saludo a todos y gracias.",
"time": "19:05",
"topic": "Busqueda por aproximación en una dbf",
"username": "Elias Torres"
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2006-08-10",
"forum": "FiveWin para Pocket PC",
"text": "Elias,\n\nCon el lenguaje Clipper se hace de forma similar:\n\n1. Lo idóneo sería poner un GET junto al browse, para que se vaya escribiendo en el GET y el browse vaya buscando.\n\n2. La búsqueda se hace con DbSeek( <cExpresion> ) que busca en el índice activo que esté usando la DBF.\n\n3. El browse se refresca, haciendo un oBrowse:Refresh()\n\nVamos a construir un ejemplo completo que te sirva de modelo <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "19:09",
"topic": "Busqueda por aproximación en una dbf",
"username": "Antonio Linares"
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2006-08-10",
"forum": "FiveWin para Pocket PC",
"text": "Aqui esta lo que necesitas:\n\nSe hace excatamente igual que con FiveWin normal\n[code:1f86wbpd]...\n...\n...\n\nUSE AGENTS\nOrdSetFocus(\"nomAgent)\n\n@ 31,0 LISTBOX oBrw FIELDS agents->iatacode,;\n agents->agentname,;\n agents->agentype;\n HEADERS \"Codigo\",;\n \"Nombre\",;\n \"Tipo\";\n PIXEL SIZE oWnd:nWidth,135;\n ON DBLCLICK (Movs(.F.),;\n oBrw:Refresh())\n\noBrw:nClrPane := {|| IIF(agents->(ordkeyno()) % 2 == 0 ,RGB(193,221,255),RGB(221,245,255) )}\noBrw:Bkeychar := {|nkey, nFlag| Busca(nKey), oBrw:Refresh()}\n\n@ 165,0 SAY \"Buscando:\" SIZE 60,40 PIXEL\n@ 165,60 SAY oBusca PROMPT cBusca PIXEL SIZE 150,20\n...\n...\n...\n\nFUNCTION Busca(nKey)\n IF nKey = 8\n cBusca := SUBSTR(cBusca,1,LEN(cBusca)-1)\n ELSE\n cBusca += CHR(nKey)\n ENDIF\n SET SOFTSEEK ON\n SEEK(cBusca)\n SET SOFTSEEK OFF\n oBusca:Refresh()\nRETURN (.T.)\n\n[/code:1f86wbpd]",
"time": "21:21",
"topic": "Busqueda por aproximación en una dbf",
"username": "R.F."
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2006-08-10",
"forum": "FiveWin para Pocket PC",
"text": "René,\n\nGracias <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "21:22",
"topic": "Busqueda por aproximación en una dbf",
"username": "Antonio Linares"
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2006-08-11",
"forum": "FiveWin para Pocket PC",
"text": "Hola Rene, \ngracias por la ayuda....\nHe probado el codigo que pero al ejecutarlo e intentar realizar una busqueda me da el siguiente error...\n\n\n....\nArgument error\n+\nstack calls:\nBUSCA(39)\n(b)MAIN(24)\nTWINDOW:HANDLEEVENT(0)\nTWINDOW:HANDLEEVENT(0)\nTWINDOW:HANDLEEVENT(0)\nWINRUN(0)\nTWINDOW:ACTIVATE(0)\nMAIN(29)\n.....\n\nA lo mejor es una chorrada pero no lo entiendo... \nUna última cosa, hay alguna forma de realizar una \"traza\" del programa para poder hacer un seguimiento más profundo de variables, etc....\n\n\nUn saludo y gracias por la ayuda.\n\nElias Torres.",
"time": "09:48",
"topic": "Busqueda por aproximación en una dbf",
"username": "Elias Torres"
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2006-08-11",
"forum": "FiveWin para Pocket PC",
"text": "Elias,\n\nAqui tienes el ejemplo completo:\n[code:okwyowsv]\n// FiveWin for Pocket PC - Testing browses with incremental search\n\n#include \"FWCE.ch\"\n\nREQUEST DBFCDX\n\n//----------------------------------------------------------------------------//\n\nfunction Main()\n\n local oWnd, oBrw, hBmp := ReadBitmap( CurDir() + \"\\go.bmp\" )\n local oSay, cSearch := \"\"\n\n USE ( CurDir() + \"\\Customer\" ) VIA \"DBFCDX\"\n Customer->( OrdSetFocus( \"LAST\" ) )\n Customer->( DbGoTop() )\n\n DEFINE WINDOW oWnd TITLE \"IncSearch\"\n \n @ 1, 1 LISTBOX oBrw ;\n FIELDS hBmp, Customer->Last, Customer->First ;\n HEADERS \"\", \"Last\", \"First\" ;\n SIZE 220, 167\n \n oBrw:bKeyChar = { | nKey, nFlags | Search( nKey, @cSearch ), oBrw:Refresh(),;\n oSay:Refresh() } \n \n @ 14, 2 SAY \"Searching:\" SIZE 60, 30\n @ 14, 12 SAY oSay PROMPT cSearch SIZE 80, 30\n \n ACTIVATE WINDOW oWnd ;\n ON CLICK MsgInfo( \"Click!\" )\n \nreturn nil\n\n//----------------------------------------------------------------------------//\n\nfunction Search( nKey, cSearch )\n\n if nKey = 8 \n cSearch = SubStr( cSearch, 1, Len( cSearch ) - 1 ) \n else \n cSearch += Upper( Chr( nKey ) ) \n endif\n \n Customer->( DbSeek( cSearch, .t. ) ) \n\nreturn nil\n\n//----------------------------------------------------------------------------//\n[/code:okwyowsv]",
"time": "15:48",
"topic": "Busqueda por aproximación en una dbf",
"username": "Antonio Linares"
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2006-08-11",
"forum": "FiveWin para Pocket PC",
"text": "Gracias Antonio, lo he probado y todo ok. Aún me quedan muchas cosas que aprender de esto...\n\nUna curiosidad....para que son las || ?\nSaludos.\n\nElias Torres.",
"time": "16:29",
"topic": "Busqueda por aproximación en una dbf",
"username": "Elias Torres"
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2006-08-11",
"forum": "FiveWin para Pocket PC",
"text": "lo que mencionas se llaman bloques de codigo y son las estructuras mas poderosas de clipper.\n\nun bloque de codigo o code block te permite meter codigo dentro de una variable y luego evaluarlo, es decir ejecutar dicho codigo. piensa que un code block es una funcion \"lineal\"\n\nbkeychar es un bloque de codigo que recibe 2 parametros, que estan metidos entre || nkey es la tecla presionada y nFlag indica si la tecla va acompañada de alguna tecla de control como alt, ctrl o shift, a continuacion el bloque de codigo ejecuta todas las instrucciones metidas entre los {} que deben ir separados por ,",
"time": "17:22",
"topic": "Busqueda por aproximación en una dbf",
"username": "R.F."
}
] |
Busqueda por aproximación en una dbf
|
[
{
"date": "2007-05-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Tengo una base de datos de access, con una tabla, dentro de la tabla tengo un campo RFC de texto, pero no es llave; tengo un get en un dialogo donde capuro el rfc y ese lo tengo que buscar en la tabla para luego traer los datos a un arreglo, como le hago para hacer la busqueda?\nutilizo ADO para hacer la conexion.\nsalu2\npaco",
"time": "03:59",
"topic": "Busqueda registro en .mdb",
"username": "Francisco Horta"
}
] |
Busqueda registro en .mdb
|
[
{
"date": "2007-05-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"Francisco Horta\":uxuahr74]Tengo una base de datos de access, con una tabla, dentro de la tabla tengo un campo RFC de texto, pero no es llave; tengo un get en un dialogo donde capuro el rfc y ese lo tengo que buscar en la tabla para luego traer los datos a un arreglo, como le hago para hacer la busqueda?\nutilizo ADO para hacer la conexion.\nsalu2\npaco[/quote:uxuahr74]\n\nfácil.\n\ndeja te hago un sample y te lo hago llegar por correo\n\nsaludos",
"time": "05:20",
"topic": "Busqueda registro en .mdb",
"username": "wmormar"
}
] |
Busqueda registro en .mdb
|
[
{
"date": "2007-05-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Francisco\n\nSe puede hacer con una consulta SQL:\ncRFC:=\"CapturadodesdeelGet\"\ncQuery:=\"Select * from tabla where RFC='\"+cRFC+\"'\"\n\nLuego de realizar la conexión y crear el objeto recordset, lo abrimos:\n\noRs:Open( cQuery , cConnection, adOpenKeyset, adLockOptimistic ) \n\neste devuelve un arreglo con los registros que encontró en la consulta, y los puedes pasar a un array:\n\noRs:MoveFirst() // equivale a GO TOP \nadatos:={} //Arreglo en el que se recuperan los datos\nWHILE !oRs:Eof()\n aReg := {\"\"}\n for nPos := 0 to oRs:Fields:Count() -1\n\tAAdd(aReg,oRs:Fields(nPos):Value)\n next\n AAdd(aDatos,aReg)\n oRs:MoveNext()\nEND\n\n\nEspero que sea lo que necesitas.\n\nEsto me funciona en MySQL, supongo que debe funcionar en acces.\n\n\nUn saludo\n\nMarcelo Jingo",
"time": "05:24",
"topic": "Busqueda registro en .mdb",
"username": "sjingo"
}
] |
Busqueda registro en .mdb
|
[
{
"date": "2007-05-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "willy que buen detalle, lo espero\nmarcelo, es precisamente lo que buscaba\ngracias a ambos\nsalu2\npaco",
"time": "15:21",
"topic": "Busqueda registro en .mdb",
"username": "Francisco Horta"
}
] |
Busqueda registro en .mdb
|
[
{
"date": "2016-10-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenos días:\n\nTengo un sistema con indices DBF-CDX, en red local, funcionando bien. Sin embargo, algunas vez, NO siempre, en la opción de poder filtrar una DBF por nombres, me genera el siguiente error:\n\n[b:u5mqnf73]Error: NO existe la variable \"nom_cli\"[/b:u5mqnf73]\n\n... cuando realmente SI existe, y de hecho de probado incluso por declararla pública.\n\n[code=fw:u5mqnf73]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">index</span> <span style=\"color: #0000ff;\">on</span> nombre tag &<span style=\"color: #000000;\">(</span>camino+<span style=\"color: #ff0000;\">\"tempofac\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">to</span> &<span style=\"color: #000000;\">(</span>camino+<span style=\"color: #ff0000;\">\"tempofac\"</span><span style=\"color: #000000;\">)</span> ADDITIVE <span style=\"color: #00C800;\">for</span> upper<span style=\"color: #000000;\">(</span>alltrim<span style=\"color: #000000;\">(</span>nom_cli<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> $ upper<span style=\"color: #000000;\">(</span>factura->nombre<span style=\"color: #000000;\">)</span><br />&& camino = ruta del PC <span style=\"color: #00C800;\">local</span><br />&& nom_cli = texto o cadena a buscar y que teclea el usuario<br /> </div>[/code:u5mqnf73]\n\nLa cuestión es que genera error algunas vez, NO siempre. Por cierto, las búsquedas me las hace rapidísimas y por cualquier cadena que escriba el usuario.\n\n¿Qué estoy haciendo mal?\n\nGracias.\nUn saludo.",
"time": "12:23",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "Loren"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2016-10-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote:oh69uoo3]Error: NO existe la variable \"nom_cli\"[/quote:oh69uoo3]\n\nDeclare:\n\nFIELD NOM_CLI en el modulo, si realmente ejiste en el .DBF.",
"time": "14:06",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "karinha"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2016-10-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Loren\n\nTenes que ponerle el Alias de la base\nEj:\n[code=fw:cyksou3f]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> ALIAS->NOM_CLI<br /> </div>[/code:cyksou3f]",
"time": "14:20",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "acuellar"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2016-10-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Por lo que entiendo la variable nom_cli es una variable de memoria, no es un campo de la DBF.\nAsegurate de que la variable es accesible desde el modulo que llama a la funcion, sino declarala como MEMVAR y hacer referencia a ella como M->nom_cli",
"time": "15:07",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "cmsoft"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2016-10-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola, \nDebes quitar el ALIAS de la creación del TAG. Ya que ponerlo no debería generar error, pero si te obliga a que siempre la tabla sea abierta con el alias facturas.\n\nYa que si por ejemplo abres la tabla así:\n\n[code=fw:6p2dqxvz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">USE TABLA <span style=\"color: #00C800;\">NEW</span> <span style=\"color: #0000ff;\">ALIAS</span> OTROALIAS <span style=\"color: #B900B9;\">// Al querer indexar va a generar error ya que el alias \"factura\" no va a existir en esa instancia. </span></div>[/code:6p2dqxvz]\n\nY si abres la tabla como:\n\n[code=fw:6p2dqxvz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">USE TABLA <span style=\"color: #00C800;\">NEW</span> <span style=\"color: #0000ff;\">ALIAS</span> OTROALIAS <span style=\"color: #B900B9;\">// Al poner seleccionar el SET ORDER que corresponde a ese TAG tambien va a generar error.</span></div>[/code:6p2dqxvz]\n\nSiempre es recomendable al momendo de generar un índice no usar ALIAS ni en la apertura ni en la creación del TAG\n\n[code=fw:6p2dqxvz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">USE TABLA <span style=\"color: #00C800;\">NEW</span><br /><span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> Campo1 + Campo2 + etc TAG TuTag <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #ff0000;\">\"TABLA\"</span> <br />CLOSE<br /> </div>[/code:6p2dqxvz]\n\nLuego de crear el índice y cerrar la tabla vuelve a abrirla y ahí si pone el alias que quieras.\n\nEn fin... prueba quitar el ALIAS en la apertura de la tabla y el alias-> de la creación del tag y luego comenta los resultados.\n\nSaludos,",
"time": "17:07",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "jrestojeda"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2016-10-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cuando he obtenido este tipo de error casi siempre ha coincidido con un error al crear el fichero temporal (falta de espacio, pérdida de conexión en red, fichero existente, etc..) Comprueba cuando obtengas el error si se conseguido crear el índice temporal.",
"time": "08:37",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "AngelSalom"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2016-10-11",
"forum": "FiveWin para Harbour/xHarbour",
"text": "compañeros, buenas noches:\n\n- Quité el ALIAS de la creación del TAG\n- [b:3stoqi1o]nom_cli[/b:3stoqi1o] es una variable de memoria que incluso la declaro como PUBLICA y la variable es accesible desde el modulo que llama a la funcion\n- Cuando genera el error es imposible comprobar si genera el indice temporal porque siempre que genera el error lo hace desde los equipos del cliente. Nunca desde el mío, a pesar de las mil pruebas que hago. El error es aleatorio y nunca es fijo.\n\nCreo que solución pasa por cambiar la forma de indexar y el entorno de RED local, aunque el indice lo genera en el PC local (NO en el servidor).\n\n[code=fw:3stoqi1o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">index</span> <span style=\"color: #0000ff;\">on</span> nombre tag &<span style=\"color: #000000;\">(</span>camino+<span style=\"color: #ff0000;\">\"tempofac\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">to</span> &<span style=\"color: #000000;\">(</span>camino+<span style=\"color: #ff0000;\">\"tempofac\"</span><span style=\"color: #000000;\">)</span> ADDITIVE <span style=\"color: #00C800;\">for</span> upper<span style=\"color: #000000;\">(</span>alltrim<span style=\"color: #000000;\">(</span>nom_cli<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> $ upper<span style=\"color: #000000;\">(</span>nombre<span style=\"color: #000000;\">)</span></div>[/code:3stoqi1o]\n\nSigo sin solución.\nSaludos.\nLORENZO.",
"time": "20:08",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "Loren"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2016-10-13",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Otro tip...\nTeniendo en cuenta que es un índice temporal, podrías antes de generar tu índice asegurarte que no existe ya índice con ese nombre, ya que en caso de existir, lo que estás haciendo va a agregar el TAG al índice existente.\nPodrías antes de generar el índice, agregar un FErase( camino+\"tempofac\" ) así en caso de existir lo borra. Y el que tu creas luego es otro CDX nuevo.\nSaludos,",
"time": "15:55",
"topic": "Busqueda selectiva por nombre en un DBF",
"username": "jrestojeda"
}
] |
Busqueda selectiva por nombre en un DBF
|
[
{
"date": "2010-06-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados:\nTengo el siguente DBCombo\n\n REDEFINE DBCOMBO aO[_CmbM1] VAR cIDCpto ID 100 OF aO[_DlgM] UPDATE ;\n ALIAS ::oDbConc:cAlias ;\n ITEMFIELD \"FCON01\" ;\n LISTFIELD \"FCON02\"\n\nel recurso, hecho con Workshop, es este: <!-- m --><a class=\"postlink\" href=\"http://img130.imageshack.us/img130/6359/resdbcombo.jpg\">http://img130.imageshack.us/img130/6359/resdbcombo.jpg</a><!-- m -->\n\nNo obstante al pulsar una letra de un item contenido, no se posiciona en el.\nEn que estoy errando?\n\nmuchas gracias",
"time": "22:42",
"topic": "Busqueda sensitiva en DBCombo",
"username": "MarioG"
}
] |
Busqueda sensitiva en DBCombo
|
[
{
"date": "2008-05-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Estimados del Foro\r\n\r\nComo puedo realizar una busques dentro de un listbox una palabra que esté en el interior de un campo (alfanumerico), yo realizo la busqueda de la siguientes forma:\r\n\r\n@ 10, 1 GET oVar_Bus VAR Var_Bus OF oDlgBus ;\r\n ON CHANGE (oVar_Bus:Assign(),;\r\n If(Tp_Buscar<>20,&(BusBASE)->( dbseek( Var_Bus, .t. )) ,;\r\n &(BusBASE)->( dbseek( let+Var_Bus, .t. )) ) ,;\r\n oLbxBus:UpStable(),;\r\n oLbxBus:Refresh() ) \r\n\r\npero esto me busca desde Derecha a izquierda a medida que voy escribiendo la frase a busca, lo que necesito es que pueda buscar una palabra dentro del campo...\r\n\r\nMuchas Gracias\r\n\r\nDBarrio\r\nArgentina",
"time": "11:09",
"topic": "Busquedas",
"username": "dobfivewin"
}
] |
Busquedas
|
[
{
"date": "2008-05-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Dbarrio:\r\nComo estas? Mira, yo utilizo las dos formas en los formularios de busqueda. La incremental y la por contenido.\r\nTe muestro la funcion buscar.[code:1roriofx]\nFUNCTION buscar(base,oDlg)\n LOCAL oDlg1,oBot1:=ARRAY(3),oGet1:=ARRAY(2),mvar1:=ARRAY(2),oLbx,i,retorno, Bus := .f.\n (base)->(DBSETORDER(2))\n (base)->(DBGOTOP())\n mvar1[1] := SPACE(30)\n DEFINE DIALOG oDlg1 RESOURCE \"BUSCAR\" TITLE \"Busqueda\" OF oDlg\n oDlg1:lHelpIcon := .f.\n REDEFINE BROWSE oLbx ID 101 OF oDlg1 ON DBLCLICK oDlg1:End();\n ALIAS (base)\n ADD COLUMN TO oLbx DATA FieldWBlock( aCampo[1], Select(base) ) ;\n SIZE 100 HEADER \"Codigo\" ALIGN RIGHT\n ADD COLUMN TO oLbx DATA FieldWBlock( \"nombre\", Select(base) ) ;\n SIZE 1300 HEADER \"Detalle\"\n REDEFINE GET oGet1[1] VAR mvar1[1] ID 102 OF oDlg1\n REDEFINE GET oGet1[2] VAR mvar1[2] ID 105 OF oDlg1\n oGet1[1]:bKeyDown := { |nKey,nFlag| bus(base, oGet1[1], oLbx, nKey) }\n oGet1[2]:bKeyDown := { |nKey,nFlag| Cam(oGet1[2], nKey, @Bus) }\n REDEFINE BUTTON oBot1[1] ID 103 OF oDlg1 ACTION oDlg1:End()\n REDEFINE BUTTON oBot1[3] ID 106 OF oDlg1 ACTION ;\n BuscarCon(mvar1[2],oLbx,base,@Bus)\n ACTIVATE DIALOG oDlg1 ON INIT oGet1[1]:SetFocus()\n retorno = (base)->codigo\n (base)->(DBSETORDER(1))\nRETURN retorno\n\n\n*********************************************\n** Buscar por contenido\nSTATIC FUNCTION BuscarCon(Texto,oBrw,base,Bus)\nLOCAL anterior := SELECT()\nIF Bus\n SELECT (base)\n CONTINUE\n ELSE\n Bus := .t.\n SELECT (base)\n LOCATE FOR ALLTRIM(Texto) $ (base)->nombre\nENDIF\nSELECT(anterior)\noBrw:BugUp()\noBrw:Refresh()\nRETURN nil\n*********************************\n** Busqueda incremental\nFUNCTION Bus(base, oGet, oLbx, nKey)\nLOCAL cBus\ncBus := LEFT(oGet:cText,oGet:nPos-1) + CHR(nKey)\n(base)->(DBSEEK(cBus))\n// Se refresca el listbox\noLbx:BugUp()\noLbx:refresh()\nRETURN .T.\n[/code:1roriofx]",
"time": "11:35",
"topic": "Busquedas",
"username": "cmsoft"
}
] |
Busquedas
|
[
{
"date": "2008-05-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Podria ser asi??, usando la funcion AT\r\n\r\n** Buscar por contenido \r\nSTATIC FUNCTION BuscarCon(Texto,oBrw,base,Bus) \r\nLOCAL anterior := SELECT() \r\nlocal lOk, nRecno\r\nlOK := .f.\r\nnrecno := (base)->recno() // guardamos el puntero\r\nDbGoTop()\r\nWHILE !EOF()\r\n IF AT(texto, (base)->nombre) > 0 // encontro la subcadena\r\n lOK := .t.\r\n EXIT\r\n EndIf\r\n DbSkip()\r\nENDDO\r\n\r\nIf !lOK\r\n DbGoTo(nrecno)\r\nEndIf\r\n\r\nSELECT(anterior) \r\noBrw:BugUp() \r\noBrw:Refresh() \r\nRETURN nil",
"time": "15:19",
"topic": "Busquedas",
"username": "Willi Quintana"
}
] |
Busquedas
|
[
{
"date": "2008-05-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Amigos \r\n\r\nmuchas gracias\r\n\r\nya me pongo a probar las dos opciones\r\n\r\nmuchas gracias\r\n\r\ndbarrio\r\nArgentina",
"time": "18:07",
"topic": "Busquedas",
"username": "dobfivewin"
}
] |
Busquedas
|
[
{
"date": "2008-04-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\nEstoy trabajando con una base de datos en access que la abro así:\n\nREQUEST ADORDD\nUSE datos.mdb VIA \"ADORDD\" TABLE \"clientes\"\n\nBROW()\n\nPero ahora quiero realizar una busqueda por un campo. \n <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? --> \n\n¿hay que acceder al campo clave o hay que indexar como se hacia con dbf?\nLa verdad es que estoyu algo perdido.\n <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: -->",
"time": "21:45",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "jfafive"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Javier,\n\nPrueba a usar LOCATE como se usa con las DBFs tradicionales (cuando no usamos índices).",
"time": "21:56",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "Antonio Linares"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio, he probado con LOCATE, pero siempre me devuelve falso:\n\n USE DATABASE\\presugen.mdb VIA \"ADORDD\" TABLE \"clientes\" ALIAS \"CLIENTES\"\n\n CLIENTES->(DbGoTop())\n LOCATE FOR CC=\"1452\"\n lVal := CLIENTES->(Found())\n MsgAlert( lVal )\n\nEl valor 1452, existe y el campo cc es numerico.",
"time": "14:29",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "jfafive"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Creo que en el caso de busqueda de valores numericos debes omitir las comillas, solo busca el numero\nEspero funcione",
"time": "14:53",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "Enrrique Vertiz"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Curioso...\n\nHe hecho la siguiente prueba.\nHe puesto un RecNo() antes del locate y otro despues.\n\nEl primero, me muestra un 1 (logico pues antes he hecho un DbGoTop())\nDespues de locate, me muestra un 2(que es el registro de la busqueda)\n\nLa base de datos tiene 5 registros, por lo que no hay posibilidad de que fuera un EoF()\n\nSin envargo, la funcion Found() me sigue devolviendo .F. en cualquier caso.\n\nAlguna pista??? <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->",
"time": "20:17",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "jfafive"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Javier,\n\nHay que añadir Found() en ADORDD.prg de la siguiente manera:\n[code:1ragb3tz]\n...\n#define WA_FOUND 15\n\n#define WA_SIZE 15\n...\nstatic function ADO_LOCATE( nWA, lContinue )\n\n local aWAData := USRRDD_AREADATA( nWA )\n local oRecordSet := aWAData[ WA_RECORDSET ]\n\n oRecordSet:Find( aWAData[ WA_SCOPEINFO ][ UR_SI_CFOR ], If( lContinue, 1, 0 ) )\n aWAData[ WA_FOUND ] = ! oRecordSet:EOF\n aWAData[ WA_EOF ] = oRecordSet:EOF\n\nreturn SUCCESS\n...\nstatic function ADO_FOUND( nWA, lFound )\n\n local aWAData := USRRDD_AREADATA( nWA )\n\n lFound = aWAData[ WA_FOUND ]\n\nreturn SUCCESS\n...\n aAdoFunc[ UR_FOUND ] := ( @ADO_FOUND() )\n[/code:1ragb3tz]\nPruébalo y me comentas. Si te resulta lioso, envíame por email (como ZIP) el fichero adordd.prg que estás usando y lo modificamos aqui y te lo volvemos a enviar. Gracias",
"time": "21:08",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "Antonio Linares"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ahora SI devuelve .T. o .F.\nAhora lo encuentra.\n\nGracias Antonio. \nDe paso he vuelto a usar el TLIB.EXE que lo tenia olvidado. <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->",
"time": "21:37",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "jfafive"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-08",
"forum": "FiveWin para Harbour/xHarbour",
"text": "bien! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "22:25",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "Antonio Linares"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2008-04-09",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Antonio,\n\nVeo que si hago la busqueda con la siguiente sintaxis:\n\nLOCATE FOR CLIENTES->CC = 1001\n\nMe devuelve el siguiente error:\n\nHe ido al codigo fuente y he visto la linea 592, pero no se como meterle mano.Parece un conflicto con el uso del area de trabajo o alias.\n\nUna ayudita?\n\nApplication\n===========\n Path and name: C:\\FWH\\bin\\g.exe (32 bits)\n Size: 1,188,864 bytes\n Time from start: 0 hours 0 mins 2 secs \n Error occurred at: 04/09/08, 23:00:01\n Error description: Error ADODB.Recordset/6 DISP_E_UNKNOWNNAME: FIND\n Args:\n [ 1] = C CLIENTES->CC = 1001\n [ 2] = N 0\n\nStack Calls\n===========\n Called from: => TOLEAUTO:FIND(0)\n Called from: adordd.prg => ADO_LOCATE(592)\n Called from: => __DBLOCATE(0)\n Called from: G.prg => FBUSCACC(76)\n Called from: G.prg => (b)FESTUDIOECO(51)\n Called from: => TGET:LVALID(0)\n Called from: => TGET:FWLOSTFOCUS(0)\n Called from: => TCONTROL:HANDLEEVENT(0)\n Called from: => TGET:HANDLEEVENT(0)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\n Called from: => SYSREFRESH(0)\n Called from: => TCONTROL:KEYCHAR(0)\n Called from: => TGET:KEYCHAR(0)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: => TCONTROL:HANDLEEVENT(0)\n Called from: => TGET:HANDLEEVENT(0)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\n Called from: => DIALOGBOX(0)\n Called from: => TDIALOG:ACTIVATE(0)\n Called from: G.prg => FESTUDIOECO(56)\n Called from: G.prg => (b)MAIN(27)\n Called from: => TBTNBMP:CLICK(0)\n Called from: => TBTNBMP:LBUTTONUP(0)\n Called from: => TWINDOW:HANDLEEVENT(0)\n Called from: => TCONTROL:HANDLEEVENT(0)\n Called from: => TBTNBMP:HANDLEEVENT(0)\n Called from: .\\source\\classes\\WINDOW.PRG => _FWH(0)\n Called from: => WINRUN(0)\n Called from: => TWINDOW:ACTIVATE(0)\n Called from: G.prg => MAIN(36)\n\nSystem\n======\n CPU type: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz 2333 Mhz\n Hardware memory: 2048 megs\n\n Free System resources: 90 %\n GDI resources: 90 %\n User resources: 90 %\n\n Compiler version: Harbour devel build 1.1-1 Intl.\n Windows version: 5.1, Build 2600 Service Pack 2\n\n Windows total applications running: 29\n 1 M\n 2 Default IME\n 3 Menú desplegable de Autosugerir\n 4 CiceroUIWndFrame\n 5 SysFader\n 6 TF_FloatingLangBar_WndTitle\n 7 Dialog\n 8 PresuGen, apliación para la generación y cálculo de presupuestos\n 9 MS-DOS\n 10 Java Sys Tray\n 11 theAwtToolkitWindow\n 12 Connections Tray\n 13 MCI command handling window\n 14 Client:{A534759F-A612-4cf7-BA15-D022203D2DD1}\n 15 Acrobat IEHelper\n 16 DDE Server Window\n 17 Server:{A534759F-A612-4cf7-BA15-D022203D2DD1}\n 18 SMax4PNP\n 19 Medidor de energía\n 20 MS_WebcheckMonitor\n 21 MediaCenter\n 22 McAgent_Main_Hidden_Window\n 23 AEBalloonTip\n 24 Vtune\n 25 SoundMax4\n 26 NVSVCPMMWindowClass\n 27 GDI+ Window\n 28 ::. Santander .:: - Windows Internet Explorer\n 29 Program Manager\n\nVariables in use\n================\n Procedure Type Value\n ==========================\n TOLEAUTO:FIND\n Param 1: C \"CLIENTES->CC = 1001\"\n Param 2: N 0\n Local 1: C \"ADODB.Recordset\"\n Local 2: N 0\n ADO_LOCATE\n Param 1: N 1\n Param 2: L .F.\n Local 1: A Len: 15\n Local 2: O Class: TOLEAUTO\n __DBLOCATE\n Param 1: B {|| ... }\n Param 2: U \n Param 3: U \n Param 4: U \n Param 5: L .F.\n FBUSCACC\n Param 1: N 5\n Local 1: U \n (b)FESTUDIOECO\n Param 1: O Class: TGET\n TGET:LVALID\n Local 1: O Class: TGET\n Local 2: L .T.\n TGET:FWLOSTFOCUS\n Param 1: N 721504\n Local 1: O Class: TGET\n Local 2: U \n Local 3: U \n TCONTROL:HANDLEEVENT\n Param 1: N 2057\n Param 2: N 721504\n Param 3: N 0\n Local 1: O Class: TGET\n TGET:HANDLEEVENT\n Param 1: N 2057\n Param 2: N 721504\n Param 3: N 0\n Local 1: O Class: TGET\n Local 2: U \n _FWH\n Param 1: N 0\n Param 2: N 2057\n Param 3: N 721504\n Param 4: N 0\n Param 5: N 6\n Local 1: O Class: TGET\n SYSREFRESH\n TCONTROL:KEYCHAR\n Param 1: N 13\n Param 2: N 18612225\n Local 1: O Class: TGET\n Local 2: U \n Local 3: U \n Local 4: U \n Local 5: U \n TGET:KEYCHAR\n Param 1: N 13\n Param 2: N 18612225\n Local 1: O Class: TGET\n Local 2: U \n Local 3: U \n Local 4: U \n Local 5: U \n Local 6: U \n TWINDOW:HANDLEEVENT\n Param 1: N 258\n Param 2: N 13\n Param 3: N 18612225\n TCONTROL:HANDLEEVENT\n Param 1: N 258\n Param 2: N 13\n Param 3: N 18612225\n Local 1: O Class: TGET\n TGET:HANDLEEVENT\n Param 1: N 258\n Param 2: N 13\n Param 3: N 18612225\n Local 1: O Class: TGET\n Local 2: U \n _FWH\n Param 1: N 18612225\n Param 2: N 258\n Param 3: N 13\n Param 4: N 18612225\n Param 5: N 6\n Local 1: O Class: TGET\n DIALOGBOX\n Param 1: N 4194304\n Param 2: C \"ID_DIALOGO1\"\n Param 3: N 3342670\n Param 4: O Class: TDIALOG\n TDIALOG:ACTIVATE\n Param 1: U \n Param 2: U \n Param 3: B {|| ... }\n Param 4: L .T.\n Param 5: U \n Param 6: L .T.\n Param 7: U \n Param 8: U \n Param 9: U \n Param 10: L .F.\n Local 1: O Class: TDIALOG\n Local 2: N 3342670\n Local 3: U \n Local 4: U \n Local 5: S \n Local 6: O Class: TDIALOG\n FESTUDIOECO\n Local 1: O Class: TDIALOG\n Local 2: O Class: TGET\n Local 3: N 5\n (b)MAIN\n Param 1: O Class: TBTNBMP\n TBTNBMP:CLICK\n Local 1: O Class: TBTNBMP\n TBTNBMP:LBUTTONUP\n Param 1: N 50\n Param 2: N 72\n Local 1: O Class: TBTNBMP\n Local 2: U \n Local 3: L .T.\n TWINDOW:HANDLEEVENT\n Param 1: N 514\n Param 2: N 0\n Param 3: N 3276872\n TCONTROL:HANDLEEVENT\n Param 1: N 514\n Param 2: N 0\n Param 3: N 3276872\n Local 1: O Class: TBTNBMP\n TBTNBMP:HANDLEEVENT\n Param 1: N 514\n Param 2: N 0\n Param 3: N 3276872\n Local 1: O Class: TBTNBMP\n _FWH\n Param 1: N 3276872\n Param 2: N 514\n Param 3: N 0\n Param 4: N 3276872\n Param 5: N 3\n Local 1: O Class: TBTNBMP\n WINRUN\n Param 1: N 3342670\n TWINDOW:ACTIVATE\n Param 1: C \"MAXIMIZED\"\n Param 2: U \n Param 3: U \n Param 4: U \n Param 5: U \n Param 6: U \n Param 7: U \n Param 8: U \n Param 9: U \n Param 10: U \n Param 11: U \n Param 12: U \n Param 13: U \n Param 14: U \n Param 15: U \n Param 16: U \n Param 17: U \n Param 18: U \n Param 19: U \n Local 1: O Class: TWINDOW\n Local 2: U \n Local 3: U \n MAIN\n Local 1: O Class: TWINDOW\n Local 2: O Class: TBAR\n Local 3: O Class: TICON\n Local 4: U \n\nLinked RDDs\n===========\n DBF\n DBFFPT\n DBFBLOB\n DBFNTX\n ADORDD\n\nDataBases in use\n================\n\n 1: => CLIENTES RddName: ADORDD\n ==============================\n RecNo RecCount BOF EOF\n 1 4 .F. .F.\n\n Indexes in use TagName\n\n Relations in use\n\nClasses in use:\n===============\n 1 ERROR\n 2 HBCLASS\n 3 HBOBJECT\n 4 TWINDOW\n 5 TCONTROL\n 6 TICON\n 7 TBRUSH\n 8 TFONT\n 9 TBAR\n 10 TRECT\n 11 TBTNBMP\n 12 TMSGBAR\n 13 TDIALOG\n 14 TGET\n 15 GET\n 16 TCLIPGET\n 17 TBUTTON\n 18 TOLEAUTO\n 19 TREG32\n\nMemory Analysis\n===============\n 101 Static variables\n\n Dynamic memory consume:\n Actual Value: 0 bytes\n Highest Value: 0 bytes\n\u001a",
"time": "22:04",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "jfafive"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2009-02-28",
"forum": "FiveWin para Harbour/xHarbour",
"text": "jfafive:\n\n¿Conseguiste solucionar este error?\n\nme está pasando lo mismo\n\ngracias1000\nJosé Luis",
"time": "20:55",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "jlmartinez"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2009-03-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "No,\n\nal final seguí trabajando con DBF.\n\nSalu2",
"time": "10:20",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "jfafive"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2009-03-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Prueba asi:\nUSE DATABASE\\presugen.mdb VIA \"ADORDD\" TABLE \"clientes\" ALIAS \"CLIENTES\"\n\nCLIENTES->(DbGoTop())\nLOCATE FOR CC=\"1452\"\nlVal := CC=\"1452\"\nMsgAlert( lVal )\n\n\nSalu2",
"time": "16:30",
"topic": "Busquedas con base de datos en Access y ADORDD",
"username": "Willi Quintana"
}
] |
Busquedas con base de datos en Access y ADORDD
|
[
{
"date": "2013-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "hola a todos:\n\nEstoy buscando si un botón solo sin una barra de botones se puede poner en el estilo 2010, y también una Ventana.\n\nUn saludo\n\nCarlos",
"time": "19:12",
"topic": "Buton estilo 2010",
"username": "colthop"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Puedes poner una imagen de lo que necesitas?",
"time": "19:29",
"topic": "Buton estilo 2010",
"username": "cnavarro"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola de nuevo a lo que me refiero es:\n\nYo en los programas veo los botones con este estilo creo que el denominamos 2010:\n\n[img:3u0d1tce]http://www.colthop.es/imagen1.png[/img:3u0d1tce]\n\nY yo cuando pongo en mis aplicaciones pongo dos botones me sale así\n\n[img:3u0d1tce]http://www.colthop.es/imagen2.png[/img:3u0d1tce]",
"time": "19:48",
"topic": "Buton estilo 2010",
"username": "colthop"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Espera que todavía no he terminado que he pulsado mal.\nEstos son mas cuadrados y no tan redondeados y con un degradado como los primeros.\n\nEn cuanto a las ventanas a mi me aparecen así cuadradas:\n\n[img:1efcsf5i]http://www.colthop.es/imagen3.png[/img:1efcsf5i]\n\nY en el estilo 2010 son redondeadas.\n\nNo se si hay una clausula que lo ponga todo en el estilo 2010 o algo parecido.\n\nUn saludo\n\nCarlos",
"time": "19:51",
"topic": "Buton estilo 2010",
"username": "colthop"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Creo que es esto lo que necesitas:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=2628&hilit=windowsxp.man\">viewtopic.php?f=6&t=2628&hilit=windowsxp.man</a><!-- l -->",
"time": "20:35",
"topic": "Buton estilo 2010",
"username": "Manuel Aranda"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Manuel:\n\nYo no uso Recursos ni DLL solo PRG podríais indicarme como se hace para usar el Windowsxp.Manifest, para que tenga apariencia XP.\nHe creado un archivo de igual nombre que el ejecutable pero con extensión RC, he incuido el Windowsxp.Manifest que hay en la carpeta de FWH, también he incluido una función IsAppThemed y no he notado diferencias. Hay que hacer algo para usar ese tema.\n\nUn saludo\n\nCarlos",
"time": "22:20",
"topic": "Buton estilo 2010",
"username": "colthop"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-01",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Carlos\nLo que yo tengo en mi .RC (nombre de aplicacion)\n\n[quote:kh37tmeb]\n#ifdef __FLAT__\n 1 24 \"WinXP/WindowsXP.Manifest\" \n#endif\n\n#ifdef __64__\n 1 24 \"WinXP/WindowsXP.Manifest64\"\n#endif\n[/quote:kh37tmeb]",
"time": "22:47",
"topic": "Buton estilo 2010",
"username": "cnavarro"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola de nuevo:\n\nSigo haciendo pruebas y no observo cambios os comento lo que tengo por si sirve \n\nMi aplicación se llama cyewin.exe y yo he creado un cyewin.rc con:\n\n[code=fw:3vclhdug]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#ifdef __FLAT__<br /> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">24</span> <span style=\"color: #ff0000;\">\"WindowsXP.Manifest\"</span><br />#endif<br /><br />#ifdef __64__<br /> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">24</span> <span style=\"color: #ff0000;\">\"WindowsXP.Manifest64\"</span><br />#endif<br /> </div>[/code:3vclhdug]\n\ntengo el archivo WindowsXP.Manifest en la carpeta y compilo. Hay que hacer algo mas, como añadir una línea en e PRG principal o en la compilación añadir algo.\n\nUn saludo\n\nCarlos",
"time": "00:49",
"topic": "Buton estilo 2010",
"username": "colthop"
}
] |
Buton estilo 2010
|
[
{
"date": "2013-11-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos y gracias ya lo he terminado.\n\nSolo era que no lo incluía en la compilación, he incluido dos líneas una para compilar el .rc para convertirlo en .res y la otra el .res en el linkado.\n\nUn saludo\n\nCarlos",
"time": "11:49",
"topic": "Buton estilo 2010",
"username": "colthop"
}
] |
Buton estilo 2010
|
[
{
"date": "2018-09-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Greetings colleagues noble. it is possible to roll a BUTTOMBAR case a small screen does not fit all the buttons?\n\nbelow is an illustration of the control I need:\n\n[img:2h1zy0ig]http://www.acessosoft.com.br/img/rola.png[/img:2h1zy0ig]",
"time": "00:40",
"topic": "ButtomBar scroll",
"username": "shark"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I ask the same for the tabof ribbonbar because I wish set all buttons on first tab",
"time": "09:54",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I don't know how to make a buttonbar wrap, but as an alternative you could make the text description tooltips instead. And/or make the images smaller.\n\nThe text is only for novices and expert users will remember the icons. So, tooltips are available for the novice, but not cluttering up the screen for the expert. I would never use both on the screen at all times.\n\nNote that images are easier to remember because you don't have to read and process them each time like you do with text.\n\nYou could also use a ribbonbar with tabs so you don't have to put all the icons on the same space.\n\nPersonally, I don't like wrapped toolbars. My editor does this when you change the size of the window, then I have to remember, is the icon on the top-right or the wrapped middle?",
"time": "17:18",
"topic": "ButtomBar scroll",
"username": "James Bott"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear James, I have a schedule where the user sees the whole structure of the beach\n1 Having all the buttons in a single buttonbar or on a single tab of the ribbon is essential and unfortunately we have many buttons: I'll give you an example list\n1 button to change the date\n2. date box\n3 date box\n4 button for booking journal\n5 button for periodic booking\n6. button for automatic booking\n7 button for multiple booking\n8 group for the selected element display\n9 booking gesione button\n10 customer management\n11 booking management\n12 management Notes\n13 Planner\n14 advanced planner\n15 beach print\n16 individual services\n17 services available\n18 shows desktop\n19 Bar\n20 restaurant\n21 full screen\n22 exit\n\n2 We can not shrink the images of the buttons that must be at least 32X32 or even larger",
"time": "18:26",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I assume they have to be 32x32 because it is a touch-screen?\n\nIf so, maybe you need to adopt some of the design features for the metro style.\n\nMaybe you could do a drop down menu with the large icons. I have seen touch-screen cash registers to do it like that.\n\nOr you could do it Explorer bar style with several expanding menus.",
"time": "22:21",
"topic": "ButtomBar scroll",
"username": "James Bott"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "YES \n it is touch screen \nI'm rebuilding my old application for use on Tablet Lenovo Mx with Windows 10",
"time": "10:16",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I suggest searching this forum for \"metro\" and \"tablet.\"",
"time": "15:51",
"topic": "ButtomBar scroll",
"username": "James Bott"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-06",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Silvio,\nyou can Change btndyn.prg.\n\n\n[img:1a2zmi37]http://www.atzwanger-software.com/fw/Sil1.jpg[/img:1a2zmi37]\n\n\n\n[code=fw:1a2zmi37]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><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 /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oBar, oBtn, oBtn2, oBtn3,oBtn4, oBrw<br /> <span style=\"color: #00C800;\">local</span> nRechts := <span style=\"color: #000000;\">0</span><br /> <br /> USE CUSTOMER<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">48</span> <span style=\"color: #000000;\">2007</span> GDIP<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\h</span>csmall.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\u</span>sers.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"first\"</span>, <span style=\"color: #ff0000;\">\"fourth\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> CUSTOMER->MARRIED, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"MARRIED\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"SINGLE\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn2 <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\p</span>df.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\m</span>agenta.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"second\"</span>, <span style=\"color: #ff0000;\">\"fifth\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> CUSTOMER->MARRIED, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"MARRIED\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"SINGLE\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn3 <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\u</span>ser.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\c</span>yan.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span> , <span style=\"color: #ff0000;\">\"third\"</span>, <span style=\"color: #ff0000;\">\"sixth\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> CUSTOMER->MARRIED, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"MARRIED\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"SINGLE\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn4 <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\n</span>ext.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\p</span>rev.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"links\"</span>, <span style=\"color: #ff0000;\">\"rechts\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> iif<span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, nRechts := <span style=\"color: #000000;\">1</span> , nRechts := <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, oBar:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /><br /> <span style=\"color: #00C800;\">if</span> Val<span style=\"color: #000000;\">(</span> HB_ATokens<span style=\"color: #000000;\">(</span> FWVERSION <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> > <span style=\"color: #000000;\">17.06</span><br /> oBtn:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtn2:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtn3:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtn4:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <br /> <br /> <span style=\"color: #00C800;\">endif</span><br /><br /> @ <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-20</span>,<span style=\"color: #000000;\">-20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> DATASOURCE <span style=\"color: #ff0000;\">\"CUSTOMER\"</span> ;<br /> COLUMNS <span style=\"color: #ff0000;\">\"FIRST\"</span>,<span style=\"color: #ff0000;\">\"CITY\"</span>,<span style=\"color: #ff0000;\">\"MARRIED\"</span>,<span style=\"color: #ff0000;\">\"AGE\"</span> ;<br /> CELL LINES NOBORDER<br /><br /> WITH OBJECT oBrw<br /> :<span style=\"color: #000000;\">Married</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">nil</span>, .t. <span style=\"color: #000000;\">)</span><br /> :<span style=\"color: #000000;\">bChange</span> := <span style=\"color: #000000;\">{</span> || oBar:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">//</span><br /> :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> END<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />Best regards<br />Otto<br /> </div>[/code:1a2zmi37]",
"time": "19:38",
"topic": "ButtomBar scroll",
"username": "Otto"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"James Bott\":p9nmhgcl]I suggest searching this forum for \"metro\" and \"tablet.\"[/quote:p9nmhgcl]\n\nplease the problem is only on Tablet Module when the final user must use the application on Vertical display while on Horizontal Display we can have much space",
"time": "08:34",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Otto\":2zmaomo2]Hello Silvio,\nyou can Change btndyn.prg.\n\n\n[img:2zmaomo2]http://www.atzwanger-software.com/fw/Sil1.jpg[/img:2zmaomo2]\n\n\n\n[code=fw:2zmaomo2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><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 /><br /> <span style=\"color: #00C800;\">local</span> oDlg, oBar, oBtn, oBtn2, oBtn3,oBtn4, oBrw<br /> <span style=\"color: #00C800;\">local</span> nRechts := <span style=\"color: #000000;\">0</span><br /> <br /> USE CUSTOMER<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">48</span> <span style=\"color: #000000;\">2007</span> GDIP<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\h</span>csmall.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\u</span>sers.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"first\"</span>, <span style=\"color: #ff0000;\">\"fourth\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> CUSTOMER->MARRIED, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"MARRIED\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"SINGLE\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn2 <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\p</span>df.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\m</span>agenta.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"second\"</span>, <span style=\"color: #ff0000;\">\"fifth\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> CUSTOMER->MARRIED, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"MARRIED\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"SINGLE\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn3 <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\u</span>ser.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\c</span>yan.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span> , <span style=\"color: #ff0000;\">\"third\"</span>, <span style=\"color: #ff0000;\">\"sixth\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> CUSTOMER->MARRIED, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"MARRIED\"</span> <span style=\"color: #000000;\">)</span>, <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"SINGLE\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn4 <span style=\"color: #0000ff;\">OF</span> oBar ;<br /> FILE <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\n</span>ext.bmp\"</span>, <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\p</span>rev.bmp\"</span> ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">1</span>, <span style=\"color: #ff0000;\">\"links\"</span>, <span style=\"color: #ff0000;\">\"rechts\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> iif<span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, nRechts := <span style=\"color: #000000;\">1</span> , nRechts := <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>, oBar:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <br /><br /><br /> <span style=\"color: #00C800;\">if</span> Val<span style=\"color: #000000;\">(</span> HB_ATokens<span style=\"color: #000000;\">(</span> FWVERSION <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> > <span style=\"color: #000000;\">17.06</span><br /> oBtn:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtn2:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtn3:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtn4:<span style=\"color: #000000;\">bBmpNo</span> := <span style=\"color: #000000;\">{</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> nRechts = <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <br /> <br /> <span style=\"color: #00C800;\">endif</span><br /><br /> @ <span style=\"color: #000000;\">50</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">-20</span>,<span style=\"color: #000000;\">-20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> DATASOURCE <span style=\"color: #ff0000;\">\"CUSTOMER\"</span> ;<br /> COLUMNS <span style=\"color: #ff0000;\">\"FIRST\"</span>,<span style=\"color: #ff0000;\">\"CITY\"</span>,<span style=\"color: #ff0000;\">\"MARRIED\"</span>,<span style=\"color: #ff0000;\">\"AGE\"</span> ;<br /> CELL LINES NOBORDER<br /><br /> WITH OBJECT oBrw<br /> :<span style=\"color: #000000;\">Married</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">(</span> <span style=\"color: #00C800;\">nil</span>, .t. <span style=\"color: #000000;\">)</span><br /> :<span style=\"color: #000000;\">bChange</span> := <span style=\"color: #000000;\">{</span> || oBar:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">//</span><br /> :<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> END<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />Best regards<br />Otto<br /> </div>[/code:2zmaomo2][/quote:2zmaomo2]\n\nNice Otto perhaps this feature can be insert on a ribbon tab?\nI must try",
"time": "08:35",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\nI try , it run but I think Fwteam can found a good solution also for the Left type\nsse your mail thanks",
"time": "09:12",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\nOn ribbonbar it is cannot possible \n\n[img:1yswgx0m]https://s15.postimg.cc/rv6b5negr/rib.png[/img:1yswgx0m]\n\nbecause ribbon when have a big tab create a tab under \n\nperhaps can be changed this feature and insert a button \"Next\" at the end of window to show the other buttons\n\n\n\n\nperhaps can be changed the METHOD[b:1yswgx0m] PopupGroup() CLASS TRBGroup[/b:1yswgx0m] but I not found a solution",
"time": "09:29",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This immediatly solution is buttonbar with control manualy of left and right (horizontal scroll) on place of first and last buttons.\n\nMaybe in the new fivewin version this scroll be incresead.\n\nThanks.",
"time": "08:31",
"topic": "ButtomBar scroll",
"username": "shark"
}
] |
ButtomBar scroll
|
[
{
"date": "2018-09-12",
"forum": "FiveWin for Harbour/xHarbour",
"text": "+1 but I need also on ribbonbar now",
"time": "11:17",
"topic": "ButtomBar scroll",
"username": "Silvio.Falconi"
}
] |
ButtomBar scroll
|
[
{
"date": "2011-03-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I wanna share mode of change alignment of a button native. ( yet don't have in sintax option RIGHT or LEFT and by default is Centered )\n\nWell is simple look:\n\n@ 5,5 Button oBtn Prompt Replicate(\" \",2)+\"&1 - Cheque\" Of oDlg Size 190,18 Pixel\n[b:muwo3jpo]SetAlignTextButton( oBtn, \"LEFT\" )[/b:muwo3jpo]\n\n\nFunction:\n[code=fw:muwo3jpo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------------------------------------------------//</span><br /> <span style=\"color: #00D7D7;\">#define</span> BS_LEFT 0x00000100L<br /> <span style=\"color: #00D7D7;\">#define</span> BS_RIGHT 0x00000200L<br /> <span style=\"color: #00D7D7;\">#define</span> BS_CENTER 0x00000300L<br /> <span style=\"color: #00D7D7;\">#define</span> BS_TOP 0x00000400L<br /> <span style=\"color: #00D7D7;\">#define</span> BS_BOTTOM 0x00000800L<br /> <span style=\"color: #00D7D7;\">#define</span> BS_VCENTER 0x00000C00L<br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------------------------------------------------//</span><br /> <span style=\"color: #00C800;\">Function</span> SetAlignTextButton<span style=\"color: #000000;\">(</span> oButton, cType <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">If</span> cType == <span style=\"color: #ff0000;\">\"LEFT\"</span><br /> oButton:<span style=\"color: #000000;\">nStyle</span>:=nOr<span style=\"color: #000000;\">(</span>oButton:<span style=\"color: #000000;\">nStyle</span>,BS_LEFT<span style=\"color: #000000;\">)</span><br /> ElseIf cType == <span style=\"color: #ff0000;\">\"RIGHT\"</span><br /> oButton:<span style=\"color: #000000;\">nStyle</span>:=nOr<span style=\"color: #000000;\">(</span>oButton:<span style=\"color: #000000;\">nStyle</span>,BS_RIGHT<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">ENDIF</span><br /> <span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------------------------------------------------//</span><br /> </div>[/code:muwo3jpo]\n\nMy Result:\n[img:muwo3jpo]http://i54.tinypic.com/jg3w48.png[/img:muwo3jpo]\n <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "22:54",
"topic": "Button ( text alignment )",
"username": "lailton.webmaster"
}
] |
Button ( text alignment )
|
[
{
"date": "2011-03-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Lailton\n\nThanks...\n\nit's other way...\n[code=fw:2vfngdwj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#define</span> BS_LEFT 0x00000100<br /><span style=\"color: #00D7D7;\">#define</span> BS_RIGHT 0x00000200<br /><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<br /><span style=\"color: #00C800;\">Local</span> oBtnA, oBtnB, oBtnC<br /><br /><span style=\"color: #0000ff;\">Define</span> <span style=\"color: #0000ff;\">Window</span> oWnd<br /><br />@ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> ButtonBmp oBtnA <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"teste A\"</span> Textleft <span style=\"color: #0000ff;\">Of</span> oWnd <span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">30</span><br />@ <span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">2</span> ButtonBmp oBtnB <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"teste B\"</span> Textright <span style=\"color: #0000ff;\">Of</span> oWnd <span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">150</span>,<span style=\"color: #000000;\">30</span><br /><br />__ChangeStyleWindow<span style=\"color: #000000;\">(</span> oBtnA:<span style=\"color: #000000;\">hWnd</span>, BS_LEFT<span style=\"color: #000000;\">)</span><br />__ChangeStyleWindow<span style=\"color: #000000;\">(</span> oBtnB:<span style=\"color: #000000;\">hWnd</span>, BS_RIGHT<span style=\"color: #000000;\">)</span><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:2vfngdwj]\n\n[img:2vfngdwj]http://www.sitasoft.net/fivewin/screen/btnal.png[/img:2vfngdwj]",
"time": "00:40",
"topic": "Button ( text alignment )",
"username": "Daniel Garcia-Gil"
}
] |
Button ( text alignment )
|
[
{
"date": "2011-03-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "<!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nMaybe can change sintax of button to add this feature =] \n\nMy sugestion for next update.",
"time": "01:47",
"topic": "Button ( text alignment )",
"username": "lailton.webmaster"
}
] |
Button ( text alignment )
|
[
{
"date": "2006-10-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello\n\nIs it possible to have a button , where the text (cCaption) is locatedt in two rows ?\n\nI tryed with : \n\n[code:3nvr22gf]\n@ 1,18 BUTTON \"Kies inputtype en \" + CRLF + \"klik om verder te gaan\" OF oDlg ACTION (lOk := .T. , oDlg:end()) SIZE 110 , 28\n[/code:3nvr22gf]\n\nNo succes\n\nFrank",
"time": "15:34",
"topic": "Button , text on two lines",
"username": "Frank Demont"
}
] |
Button , text on two lines
|
[
{
"date": "2006-10-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Frank,\n\nHere are some previous messages about that.\n\nJames\n\n\n[quote:27bykk5j]From: André Venturini Scaravelli <andrevs@theway.com.br>\nSubject: 2 rows in button's caption\nDate: Thursday, December 21, 2000 4:16 PM\n\nHi,\nCan a button's caption has 2 rows?\n\nAdd to Style Button the number 8192\n----------------------------\n#define CR Chr( 13 )\n//\nFUNCTION uMultLineBtn_Test()\n \n local oDlg, oBtn\n local cCaption := 'Botones con...' + CR + ;\n 'caption multilínea.-' + CR + ;\n 'Para conseguirlo basta con emitir la sencilla sentencia...' + CR + ;\n 'oBtn:nStyle := ' + CR + ;\n 'nOr( oBtn:nStyle, 8192 )'\n \n DEFINE DIALOG oDlg ;\n FROM 00, 00 TO 17, 100 ;\n TITLE cCaption\n \n @ 03, 03 BUTTON oBtn PROMPT cCaption ;\n OF oDlg ;\n SIZE 100, 070\n\n oBtn:nStyle := nOr( oBtn:nStyle, 8192 ) // this works fine!\n \n ACTIVATE DIALOG oDlg CENTERED\n \nRETURN NIL\n\n-------------------------------------------\nHere is how to do it with resources:\n\n> I am still looking for a solution which enables me to put 2 (or even more)\n> lines of text on a button which is created from a .dll resource. I've tried\n> several things but still haven't found a working solution.\n\nYou have to:\n\n1. Open your DIALOG resource and go to Edit as text mode.\n\n2. Add the value 8192 at the end of the PUSHBUTTON statement (separate\nit by a comma).\n\n3. Inside the ON INIT clause of the DIALOG command use oBtn:cTitle()\nmethod to set the caption of the button (separate the lines by a CHR( 13\n)).\n\nThat's all.\n\nEMG\n\n--\nEMAG Software Homepage: <!-- m --><a class=\"postlink\" href=\"http://www.emagsoftware.it\">http://www.emagsoftware.it</a><!-- m -->\nThe EMG's ZX-Spectrum Page: <!-- m --><a class=\"postlink\" href=\"http://www.emagsoftware.it/spectrum\">http://www.emagsoftware.it/spectrum</a><!-- m -->\nThe Best of Spectrum Games: <!-- m --><a class=\"postlink\" href=\"http://www.emagsoftware.it/tbosg\">http://www.emagsoftware.it/tbosg</a><!-- m -->[/quote:27bykk5j]",
"time": "15:45",
"topic": "Button , text on two lines",
"username": "James Bott"
}
] |
Button , text on two lines
|
[
{
"date": "2006-06-18",
"forum": "All products support",
"text": "se non c'è attivato il manifest per windows xp queste linee seguenti funzionano senza problemi \n\nDEFINE BUTTON RESOURCE \"XY_PAGES\" OF oBar ;\n MESSAGE TXT_PREVIEW_ON_MULTI_PAGES\n MENU oPop GROUP\n\nnaturalmente è stato dichiarato prima il menu :\n\n MENU oPop POPUP\n menuitem\n...\n ENDMENU\n\n\nquando attivo il manifest nel resource mi fa errore perchè sembrerebbe che la classe TOOLBAR che il button è associato non supporta il menu a discesa ...\n\ncome è possibile ?",
"time": "22:28",
"topic": "Button ...Menu",
"username": "Silvio"
}
] |
Button ...Menu
|
[
{
"date": "2018-09-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All ,\n\n Please let me know where I am doing mistake...!\n \n Below Button Action working but aoGET[1]:SetFocus() works only when PRESS SPACE BAR but it does NOT work PRESS ENTER KEY.\n\n[code=fw:16brrvaw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /> @ <span style=\"color: #000000;\">070</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #0000ff;\">GET</span> aoGET<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">VAR</span> aPrdCat<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">315</span>, C_GETH <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> <span style=\"color: #0000ff;\">COLOR</span> C_FCLR, C_BCLR <span style=\"color: #0000ff;\">FONT</span> oApp:<span style=\"color: #000000;\">oFontGet</span> <span style=\"color: #0000ff;\">UPDATE</span><br /> <br /> .....<br /><br /> @ <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">500</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn1 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Save\"</span> <span style=\"color: #0000ff;\">SIZE</span> C_BTNW , C_BTNH <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /> <span style=\"color: #0000ff;\">FONT</span> oApp:<span style=\"color: #000000;\">oFontBTN1</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> mprdcat_save<span style=\"color: #000000;\">(</span>@aPrdCat<span style=\"color: #000000;\">)</span> , oWnd:<span style=\"color: #0000ff;\">Update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> , aoGET<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <br /> <span style=\"color: #B900B9;\">// also tried below </span><br /> <span style=\"color: #B900B9;\">//ACTION ( mprdcat_save(@aPrdCat) , oWnd:Update() , SetFocus( aoGET[ 1 ]:hWnd ) )</span><br /><br /><br /> </div>[/code:16brrvaw]\n\nThanks\nShridhar",
"time": "18:37",
"topic": "Button Action Code oGet:SetFocus NOT working",
"username": "shri_fwh"
}
] |
Button Action Code oGet:SetFocus NOT working
|
[
{
"date": "2018-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Try\n\n[code=fw:2dxp27oz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">aoGET<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oGet</span>:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span></div>[/code:2dxp27oz]\n\nEMG",
"time": "14:45",
"topic": "Button Action Code oGet:SetFocus NOT working",
"username": "Enrico Maria Giordano"
}
] |
Button Action Code oGet:SetFocus NOT working
|
[
{
"date": "2018-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Sir , \n\n It is working below code ...!\n\n [b:4f9d8px5] aoBtn[1]:oJump := aoGET[ 1 ][/b:4f9d8px5]\n\n[code=fw:4f9d8px5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> aoBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := < ||<br /> mprgcomp_save<span style=\"color: #000000;\">(</span>@aPrdComp<span style=\"color: #000000;\">)</span><br /> oWnd:<span style=\"color: #0000ff;\">Update</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> aoBtn<span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">oJump</span> := aoGET<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span><br /> SetFocus<span style=\"color: #000000;\">(</span> aoGET<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">)</span><br /><br /> ><br /><br /> </div>[/code:4f9d8px5]\n\nThanks you very much for your kind support.\n\nThanks\nShridhar",
"time": "15:05",
"topic": "Button Action Code oGet:SetFocus NOT working",
"username": "shri_fwh"
}
] |
Button Action Code oGet:SetFocus NOT working
|
[
{
"date": "2018-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"shri_fwh\":1i62q5hd]Dear Sir , \n\n It is working below code ...!\n\n [b:1i62q5hd] aoBtn[1]:oJump := aoGET[ 1 ][/b:1i62q5hd][/quote:1i62q5hd]\n\nRight, I forgot oJump.\n\nEMG",
"time": "15:08",
"topic": "Button Action Code oGet:SetFocus NOT working",
"username": "Enrico Maria Giordano"
}
] |
Button Action Code oGet:SetFocus NOT working
|
[
{
"date": "2013-11-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola a todos.\n\nNo se como solucionar un problema que tengo ya que cuando pongo un Botón con el \"&\" en una letra si le pongo en una WINDOW funciona pero si le pongo en un DIALOG no.\n\nHe estado probando en la carpeta simple y pasa lo mismo hay algunos que funcionan siempre sobre una WINDOW y otros no los que están en DIALOG. excepto el TESTBUBM, que en un principio en la pantalla que aparece no funciona y si pulsas sobre \"From Resources\" en la pantalla que aparece si funciona el \"&\". Podrias indicarme como solucionar el problema.\n\nTambién he visto algunos post del 2011 y se solucionaba con un METHOD pero no he sabido integrarlo.\n\nAyuda, por favor.\n\nUn saludo\n\nCarlos",
"time": "20:19",
"topic": "Button Alt+ tecla",
"username": "colthop"
}
] |
Button Alt+ tecla
|
[
{
"date": "2013-11-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mira se ayuda:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=23250&p=125210&hilit=Alt+tecla#p125210\">viewtopic.php?f=6&t=23250&p=125210&hilit=Alt+tecla#p125210</a><!-- l -->\n\nSalu2",
"time": "20:35",
"topic": "Button Alt+ tecla",
"username": "karinha"
}
] |
Button Alt+ tecla
|
[
{
"date": "2013-11-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Karinha:\n\nEn la versión de FWH que tengo esta incluida esa modificación o por lo menos lo que comenta en ese post está en la clase button.\n\nNo obstante gracias por tu tiempo.\n\nUn saludo\n\nCarlos",
"time": "20:54",
"topic": "Button Alt+ tecla",
"username": "colthop"
}
] |
Button Alt+ tecla
|
[
{
"date": "2013-11-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "[quote=\"colthop\":26yvmjdr]Hola a todos.\n\nNo se como solucionar un problema que tengo ya que cuando pongo un Botón con el \"&\" en una letra si le pongo en una WINDOW funciona pero si le pongo en un DIALOG no.\n\nHe estado probando en la carpeta simple y pasa lo mismo hay algunos que funcionan siempre sobre una WINDOW y otros no los que están en DIALOG. excepto el TESTBUBM, que en un principio en la pantalla que aparece no funciona y si pulsas sobre \"From Resources\" en la pantalla que aparece si funciona el \"&\". Podrias indicarme como solucionar el problema.\n\nTambién he visto algunos post del 2011 y se solucionaba con un METHOD pero no he sabido integrarlo.\n\nAyuda, por favor.\n\nUn saludo\n\nCarlos[/quote:26yvmjdr]\n\nCarlos, en relacion al ejemplo TESTBUBM prueba lo siguiente:\n- Edita la clase CONTROL.PRG y copia y pega su contenido al final del ejemplo TESTBUBM (elimina el include \"fivewin.ch\" que trae la clase y pasa las variables estaticas al principio del prg)\n- y en la siguiente funcion haz la siguiente modificacion:\n\n[code=fw:26yvmjdr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">function</span> CallClick<span style=\"color: #000000;\">(</span> nKey, aControls, <span style=\"color: #00C800;\">Self</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> n, cPrompt, nAt, oControl<br /> <br /> <span style=\"color: #00C800;\">for</span> n = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span> aControls <span style=\"color: #000000;\">)</span><br /> oControl = aControls<span style=\"color: #000000;\">[</span> n <span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">if</span> oControl:<span style=\"color: #000000;\">Classname</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBTNBMP\"</span> .OR. oControl:<span style=\"color: #000000;\">Classname</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TRBTN\"</span> ;<br /> .OR. oControl:<span style=\"color: #000000;\">Classname</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBUTTONBMP\"</span> .OR. oControl:<span style=\"color: #000000;\">Classname</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #ff0000;\">\"TBUTTON\"</span> <span style=\"color: #B900B9;\">// Esto es lo que he modificado</span><br /><br /> </div>[/code:26yvmjdr]\n\nPruébalo a ver si funciona (para mi es OK)\n\nAunque lo mejor seria poner:\n[code=fw:26yvmjdr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> <span style=\"color: #00C800;\">if</span> Upper<span style=\"color: #000000;\">(</span> oControl:<span style=\"color: #000000;\">Classname</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> $ <span style=\"color: #ff0000;\">\"TBTNBMP;TRBTN;TBUTTONBMP\"</span><br /><br /> </div>[/code:26yvmjdr]",
"time": "21:08",
"topic": "Button Alt+ tecla",
"username": "cnavarro"
}
] |
Button Alt+ tecla
|
[
{
"date": "2013-11-07",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Cristóbal:\n\nHe probado lo que me has comentado y ha funcionado lo he pasado a la aplicación y compilando el control.prg con la variación parece que funciona.\n\nMuchas gracias por tu aportación, espero que si esta todo bien Antonio pueda incluirlo en la siguiente versión del FWH para no tener que compilar el Control.prg.\n\nUn saludo\n\nCarlos",
"time": "21:46",
"topic": "Button Alt+ tecla",
"username": "colthop"
}
] |
Button Alt+ tecla
|
[
{
"date": "2013-11-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Antonio\n¿Que opinas?",
"time": "17:23",
"topic": "Button Alt+ tecla",
"username": "cnavarro"
}
] |
Button Alt+ tecla
|
[
{
"date": "2013-11-12",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Cristóbal:\n\nPerdona por tenerte abandonado pero he realizado demasiadas modificaciones y hasta la semana que viene no puedo volver a investigar para terminar.\n\nLa verdad es que funciona perfecto excepto cuando la tecla es \"+\" o \"-\", como he dicho no he tenido tiempo de seguir investigando, pero si que interesaría que se incluyera en la siguiente actualización.\n\nQue opinas Antonio.\n\nUn saludo.\n\nCarlos.",
"time": "17:39",
"topic": "Button Alt+ tecla",
"username": "colthop"
}
] |
Button Alt+ tecla
|
[
{
"date": "2013-11-21",
"forum": "FiveWin para Harbour/xHarbour",
"text": "+1",
"time": "22:25",
"topic": "Button Alt+ tecla",
"username": "cnavarro"
}
] |
Button Alt+ tecla
|
[
{
"date": "2007-08-02",
"forum": "FiveWin para CA-Clipper",
"text": "Hola, es posible tener mas de una barra de Botones en una Ventana.",
"time": "23:20",
"topic": "Button Bar",
"username": "Connan"
}
] |
Button Bar
|
[
{
"date": "2007-08-06",
"forum": "FiveWin para CA-Clipper",
"text": "Puedes hacerlo con unos pequeños cambios en la Clase TBar. Si la ventana no es MDI, entonces es más sencillo.",
"time": "08:50",
"topic": "Button Bar",
"username": "Antonio Linares"
}
] |
Button Bar
|
[
{
"date": "2010-08-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi All\n\nWhen I used FWH 7.12 I was able to place a button bar on the bottom of a window\n\nDEFINE BUTTONBAR oBar 3DLOOK SIZE 45, 45 OF oWnd 2007\nDEFINE BUTTONBAR oBar1 3DLOOK SIZE 45, 45 OF oWnd 2007\noBar1:nMode := 4\n\nI am now using 9.11 version and the both buttonbars are at the top.\n\nI have stripped down the code and removed other controls but still no luck.\n\n\n[code=fw:1yd6h2zv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"cms.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"xbrowse.ch\"</span><br /><span style=\"color: #00C800;\">function</span> test2<span style=\"color: #000000;\">(</span>oMainWnd,cPath,aPrivs,nGstRate,nDivisor<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> oDlg,oWnd,oBar,oBar1,oBtn1,oBtn2<br /><br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">MDICHILD</span> <span style=\"color: #0000ff;\">of</span> oMainWnd ;<br /> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">37.5</span>,<span style=\"color: #000000;\">110</span>;<br /> <span style=\"color: #0000ff;\">STYLE</span> CMSWIN ;<br /> <span style=\"color: #0000ff;\">TITLE</span> OemToAnsi<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Purchase Orders\"</span> <span style=\"color: #000000;\">)</span><br /><br /><br /> oWnd:<span style=\"color: #000000;\">bGotFocus</span> := <span style=\"color: #000000;\">{</span> || oDlg:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">'PO1'</span> <span style=\"color: #0000ff;\">of</span> oWnd<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar 3DLOOK <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">45</span>, <span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #000000;\">2007</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTONBAR</span> oBar1 3DLOOK <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">45</span>, <span style=\"color: #000000;\">45</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #000000;\">2007</span><br /> oBar1:<span style=\"color: #000000;\">nMode</span> := <span style=\"color: #000000;\">4</span><br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn1 <span style=\"color: #0000ff;\">of</span> oBar <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"BTN_EXIT\"</span>;<br /> FLAT ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Exit'</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span>lExit := <span style=\"color: #00C800;\">TRUE</span>,oDlg,oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>;<br /> TOOLTIP<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Exit Purchases Screen'</span><span style=\"color: #000000;\">)</span><br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtn2 <span style=\"color: #0000ff;\">of</span> oBar1 <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"SAVE\"</span>;<br /> FLAT ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'Exit'</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span>lExit := <span style=\"color: #00C800;\">TRUE</span>,oDlg,oWnd:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>;<br /> TOOLTIP<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Exit Purchases Screen'</span><span style=\"color: #000000;\">)</span><br /><br /><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">NOWAIT</span> ;<br /> <span style=\"color: #0000ff;\">VALID</span><span style=\"color: #000000;\">(</span>lExit<span style=\"color: #000000;\">)</span><br /><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd ;<br /> <span style=\"color: #0000ff;\">VALID</span><span style=\"color: #000000;\">(</span>WinOpen<span style=\"color: #000000;\">(</span>oMainWnd,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span>,lExit<span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span><span style=\"color: #000000;\">(</span><span style=\"color: #00C800;\">nil</span><span style=\"color: #000000;\">)</span><br /><br /><br />Any Ideas ??<br /><br />Cheers<br /><br />Colin<br /><br /><br /><br /><br /><br /> </div>[/code:1yd6h2zv]",
"time": "15:14",
"topic": "Button Bar",
"username": "Colin Haig"
}
] |
Button Bar
|
[
{
"date": "2010-08-31",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Fixed problem \n\nCheers\n\nColin",
"time": "15:43",
"topic": "Button Bar",
"username": "Colin Haig"
}
] |
Button Bar
|
[
{
"date": "2016-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Everyone,\n\nWe are looking to improve the looks of our application home screen. Is it possible to use JPG or PNG instead of BMP on buttonbar?\n\nAlso, would anyone provide a sample of the their home screen with code?\n\nWe have not updated our home screen layout in a very long time and we want to provide a more professional look.\n\nThanks in advance for your assistance!",
"time": "19:33",
"topic": "Button Bar JPG or PNG",
"username": "cdmmaui"
}
] |
Button Bar JPG or PNG
|
[
{
"date": "2016-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[img:37den86r]https://s15.postimg.org/jxivgxs0r/Captura_de_tela_2016_11_01_18_35_41.png[/img:37den86r]",
"time": "21:43",
"topic": "Button Bar JPG or PNG",
"username": "luiz53"
}
] |
Button Bar JPG or PNG
|
[
{
"date": "2016-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "With resources use type 10 for others images\n\n[quote:hw5cz8vp]\n\ncut16 10 \"./res/g1045A.png\"\nmytest 10 \"../icons/blue.ico\"\nisok BITMAP \"../bitmaps//level11.bmp\"\n\n[/quote:hw5cz8vp]",
"time": "21:55",
"topic": "Button Bar JPG or PNG",
"username": "cnavarro"
}
] |
Button Bar JPG or PNG
|
[
{
"date": "2016-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you so much!",
"time": "22:02",
"topic": "Button Bar JPG or PNG",
"username": "cdmmaui"
}
] |
Button Bar JPG or PNG
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.