messages
listlengths 1
1
| topic
stringlengths 2
60
|
|---|---|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Joao\n\nMe preguntas que porqué no migro a xharbour.\n\nNo me importaría, ahora que estoy empezando con harbour, lo que quiero es escojer algo que sea el más utilizado dentro de nuestra comunidad xbase, y me parecía por la cantidad de post, y en las antiguas news que lo más manejado era harbour.\nYo por ser lo más cómodo utilizo Verce 4.3, y creo que no habría problema.\nAyer recompilé en xharbour la aplicación que estoy migrando de fivewin, y empezaron de nuevo los errores de compilación que ya tenía superados en harbour, así que si no me aconsejan otra cosa seguiré con harbour, salvo que me indiquen si hay muchas diferencias tanto en el resultado final de la aplicación, como en la problematica de generación de aplicaciones.\n\nUn saludo\n\nJose Luis",
"time": "08:44",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "REDEFINE GET cBitmap ID 116 OF oFld:aDialogs[ 1 ] ;\n ON CHANGE( cBitmap := AllTrim( oDbf:Ma_Bitmap ), ;\n oBmp:Load( cBitmap ), oBmp:Refresh() ) UPDATE\n\nSaludos",
"time": "12:46",
"topic": "Bitmap en folder",
"username": "jbrita"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola jbrita\n\nCon esto que me pones podré colocar un bitmap en cada pestaña?\n\nTengo que redefinir un bitmap para cada pesteña del folder?\n\nCuando puedas me contestas .\n\nDe todas formas, con tanto trasiego de poner librerias, cambiar includes, cambiar codigo a ver si funciona de una manera o de otra, ahora resulta que el folder que antes se veía así\n\n<!-- m --><a class=\"postlink\" href=\"http://img220.imageshack.us/my.php?image=clien1er9.jpg\">http://img220.imageshack.us/my.php?image=clien1er9.jpg</a><!-- m -->\n\nEs decir, las pestañas del color del resto\n\nAhora se ve así\n\n<!-- m --><a class=\"postlink\" href=\"http://img220.imageshack.us/my.php?image=clientesij9.jpg\">http://img220.imageshack.us/my.php?imag ... tesij9.jpg</a><!-- m -->\n\nEs decir las pestañas del folder se ven gris y el resto del color brush que tengo definido.\n\nSerá cuestión del recurso o del fuente. Ya he hecho de todo y nada.\n\nPor otra parte y con respecto a lo que me dijo joao que hiciera para probar, si denomino al recurso como Tfolder e incluyo la libreria foldbmp32.lib en la compilación, al ejecutar el programa me da el error:\n*******************************\nError description: Error BASE/3003 Cannot find super class: __CLSINSTSUPER\n**************************************\n\nSaludos y gracias\n\nJose luis",
"time": "13:21",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "cBitmap1 := AllTrim( oDbf:MA_Bitmap1 )\ncBitmap2 := AllTrim( oDbf:MA_Bitmap2 )\n\n DEFINE DIALOG oDlg RESOURCE \"ART_FOLDER\" TITLE cTitulo OF oVentPrinc\n \n REDEFINE FOLDER oFld ID 99 OF oDlg ;\n PROMPT \"&General\",\"&Comercial\" ;\n DIALOGS \"ART_GENERAL\" , \"ART_COMERCIAL\"\n\n REDEFINE BITMAP oBmp FILENAME cBitmap1 ADJUST ID 114 OF oFld:aDialogs[ 1 ] UPDATE\n REDEFINE BITMAP oBmp FILENAME cBitmap2 ADJUST ID 118 OF oFld:aDialogs[ 2 ] UPDATE",
"time": "14:02",
"topic": "Bitmap en folder",
"username": "jbrita"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola jbrita\n\nEsto que me has mandado, salvo error lo que hace es pintar un bitmap en un folder, pero mi porblema está en las pestañitas de cada folder, en la parte superior, al lado de donde pone \"General\" y \"Comercial\", un bmp de esos pequeños de 16x16.\n\nDe todas las maneras como explico anteriormente ya lo he desechado, porque me ha dicho Joao que no se puede en harbour, y ahora mi problema viene porque esas pestañitas no me cogen el color del resto del folder como he explicado también.\n\nUn saludo\n\nJose Luis",
"time": "14:34",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "CAMBIASTES SYSTABCONTROL32 POR \"TFOLDER\" EN LAS PROPRIEDADS DEL FOLDER???",
"time": "16:26",
"topic": "Bitmap en folder",
"username": "karinha"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Si, hice todo tipo de cambios y probaturas y nada.\n\nSi nos olvidamos de los bitmaps, lo que no entiendo es porqué al principio las orejas del folder se veían así\n\n[url=http://img299.imageshack.us/my.php?image=fold1mf5.jpg:8gupgodv][img:8gupgodv]http://img299.imageshack.us/img299/7977/fold1mf5.th.jpg[/img:8gupgodv][/url:8gupgodv]\n\nes decir orejas con color.\nAhora las veo así\n\n[url=http://img480.imageshack.us/my.php?image=fold2ii6.jpg:8gupgodv][img:8gupgodv]http://img480.imageshack.us/img480/2299/fold2ii6.th.jpg[/img:8gupgodv][/url:8gupgodv]\n\nEs decir sin color\n\nY en el ejemplo de Fwh se ve así\n\n[url=http://img54.imageshack.us/my.php?image=fold3jz7.jpg:8gupgodv][img:8gupgodv]http://img54.imageshack.us/img54/7391/fold3jz7.th.jpg[/img:8gupgodv][/url:8gupgodv]\n\nEs decir con una rayita amarilla en la parte superior que queda muy bien.\n\nAlguna sugerencia?\n\nSaludos\n\nJose Luis",
"time": "20:52",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-17",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Compile estes ejemplos con HARBOUR...\n\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=674\">http://www.fivewin.com.br/exibedicas.asp?id=674</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=673\">http://www.fivewin.com.br/exibedicas.asp?id=673</a><!-- m -->\n\nEn contrário... Migres a XHARBOUR.",
"time": "21:33",
"topic": "Bitmap en folder",
"username": "karinha"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola\n\nEsta noche he empezado a pasar todo otra vez ahora a xharbour como me ha recomendado Joao, a ver si se acaban los problemas de la migración y puedo dedicarme a la programación en sí.\n\nDespués de compilar para xharbour librerias que tenía para harbour, me da error en tsbutton.\n***********************\nApplication\n===========\n Path and name: c:\\fuentes\\xharbour\\mocwin2006\\gespaq.Exe (32 bits)\n Size: 816,128 bytes\n Time from start: 0 hours 0 mins 0 secs \n Error occurred at: 18/11/06, 10:43:31\n Error description: Error BASE/1086 Argument error: ++\n Args:\n [ 1] = U \n\nStack Calls\n===========\n Called from: => TSBUTTON(0)\n Called from: C:\\fuentes\\xharbour\\mocwin2006\\PRG\\gespaq.prg => INICIO(791)\n Called from: C:\\fuentes\\xharbour\\mocwin2006\\PRG\\gespaq.prg => (b)MAIN(143)\n Called from: => TMDIFRAME:ACTIVATE(0)\n Called from: C:\\fuentes\\xharbour\\mocwin2006\\PRG\\gespaq.prg => MAIN(143)\n**********************\n\nLa parte del programa a la que hace referencia es\n\n REDEFINE SBUTTON oBtn1 ID 550 OF oDlg RESOURCE \"Lamp1\", \"Lamp2\",, \"Lamp3\", 'shape3' SHAPE PROMPT \"Aceptar\" TEXT ON_RIGHT ;\n ACTION iif( ValidaUser(cClave, @oClave,\"C\" ) ,;\n (Seguir:=.T., SEAT1->(rlock()),SEAT1->Activo:=.t.,seat1->(dbUnlock()),oDlg:End()) , oBtn2:sendmsg( FM_CHANGEFOCUS ) )\n\nEsto en harbour me funciona; creo recordar que éste error me salió el otro día cuando estaba pasando de Five a harbour y la verdad, no sé cómo lo solucioné.\n\nUn saludo\n\nJose Luis",
"time": "10:56",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Jose Luis,\n\n> Error description: Error BASE/1086 Argument error: ++ \n>\nREDEFINE SBUTTON oBtn1 ID 550 OF oDlg RESOURCE \"Lamp1\", \"Lamp2\",, \"Lamp3\", 'shape3' SHAPE PROMPT \"Aceptar\" TEXT ON_RIGHT ; \nACTION iif( ValidaUser(cClave, @oClave,\"C\" ) ,; \n(Seguir:=.T., SEAT1->(rlock()),SEAT1->Activo:=.t.,seat1->(dbUnlock()),oDlg:End()) , oBtn2:sendmsg( FM_CHANGEFOCUS ) \n>\n\nAhi no se ve ningún \"++\"\n\nBusca dentro del fuente de TSButton",
"time": "11:53",
"topic": "Bitmap en folder",
"username": "Antonio Linares"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cual és la versión de FIVEWIN y XHARBOUR que usas??\n\nKreo ke necesitas de una TSBUTTON/TSBROWSE generada para la Versión que usted usas.",
"time": "12:11",
"topic": "Bitmap en folder",
"username": "karinha"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Creo que es la 2.8 (la revisión de Octubre).\n\nHe recompilado Tsbutton con ésta version a través de verce 4.3.\n\nEn fin, seguiré probando\n\nSaludos\n\nJose Luis",
"time": "12:49",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Intente en HARBOUR:\n\nNo Incorpore a tu proyecto, la Libreria FOLDBMP32.LIB(XHARBOUR) y si, FOLDBMP.LIB(HARBOUR).\n\nKreo, ke és esto.\n\n\nOriginal:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=473\">http://www.fivewin.com.br/exibedicas.asp?id=473</a><!-- m -->\n\nSaludos",
"time": "12:57",
"topic": "Bitmap en folder",
"username": "karinha"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Mira estes ejemplos también:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=627\">http://www.fivewin.com.br/exibedicas.asp?id=627</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=603\">http://www.fivewin.com.br/exibedicas.asp?id=603</a><!-- m -->\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/exibedicas.asp?id=549\">http://www.fivewin.com.br/exibedicas.asp?id=549</a><!-- m -->",
"time": "13:03",
"topic": "Bitmap en folder",
"username": "karinha"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Sabeis lo que me pasa?\n\nPues que me pierdo con la cantidad de librerias para lo mismo. Sbutton, Sbuttonh, Tsbutton, etc.. y ya no se ni que version de tsbutton.Compilo una tsbutton, y me da algun error, compilo otra y me da otro error, y ya la que no me da error al compilar, pue la meto en la aplicación, y empiezan los errores como éste.\n\nPor ejemplo ayer estuve con el tema de probar en lugar de harbour, xharbour desde las 9 de la mañana hasta las 3 de la madrugada solo descansando para comer, y lo mas frustrante es que no avanzo nada. Me gustaria que funcionara todo como en fivewin y definitivamente tener tiempo para dedicarme a mejorar la aplicación en sí con cosas que necesito, pero como no soy capaz de que funcione nada, pues estoy parado y preocupado porque la aplicación se necesita acabada en mi empresa.\n\nUn saludo\n\nJose Luis",
"time": "13:04",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "José, cuando si está iniciando, el ideal, és que siempre se use CONTROLES NATIVOS DEL FIVEWIN, y no cosas de terceros.\n\nSiempre que usted tengas una versión nueva de FIVEWIN o XHARBOUR, és necesario, REGENERAR LAS LIBRERIAS.",
"time": "13:17",
"topic": "Bitmap en folder",
"username": "karinha"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-18",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Aki, un ejemplo de como GENERAR LA LIBRERIA DE TSBUTTON.\n\n<!-- m --><a class=\"postlink\" href=\"http://www.fivewin.com.br/Dicas/520BAR_TSBUT.zip\">http://www.fivewin.com.br/Dicas/520BAR_TSBUT.zip</a><!-- m -->",
"time": "13:23",
"topic": "Bitmap en folder",
"username": "karinha"
}
] |
Bitmap en folder
|
[
{
"date": "2006-11-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Joao\n\nMuchas gracias por tu interés.\n\n- Con respecto a lo del folder en harbour: Si enlazo con la libreria que me has dicho, me sale este error\n\n***************************\nApplication\n===========\n Path and name: C:\\fuentes\\harbour\\mocwin2006\\gespaq.Exe (32 bits)\n Size: 813,056 bytes\n Time from start: 0 hours 0 mins 4 secs \n Error occurred at: 19/11/06, 13:23:17\n Error description: Error BASE/1086 Argument error: ++\n Args:\n [ 1] = U \n\nStack Calls\n===========\n Called from: => TFOLDER(0)\n Called from: C:\\fuentes\\harbour\\mocwin2006\\PRG\\prove.prg => ENTREG(205)\n Called from: C:\\fuentes\\harbour\\mocwin2006\\PRG\\prove.prg => (b)PROVE(111)\n\n**********************\n\n- Con respecto al tema del button en xharbour: si enlazo con la que me dices me sale el siguiente error\n\n***********************\n\nApplication\n===========\n Path and name: C:\\fuentes\\xharbour\\mocwin2006\\gespaq.Exe (32 bits)\n Size: 813,056 bytes\n Time from start: 0 hours 0 mins 4 secs \n Error occurred at: 19/11/06, 13:23:17\n Error description: Error BASE/1086 Argument error: ++\n Args:\n [ 1] = U \n\nStack Calls\n===========\n Called from: => TSBUTTON(0)\n Called from: C:\\fuentes\\xharbour\\mocwin2006\\PRG\\gespaq.prg => ENTREG(789)\n Called from: C:\\fuentes\\xharbour\\mocwin2006\\PRG\\gespaq.prg => (b)PROVE(102)\n\n****************************\n\nY como ya me constesto Antonio, que en las líneas a las que hace referencia no hay ningún argumento ++, por lo que tiene que estar en las \nlibrerias.\n\nEl caso es que ésto siempre me ocurre con cualquier libreria externa que yo intento enlazar tanto en harbour como en xharbour, tanto si creo las librerias con los rmake que me vienen en ellas, como si lo hago con verce 4.3.\n\nAsí que como creo que soy incapaz, y que mis conocimientos no son suficientes para gestionar este maremagnum de errores, librerias, etc., voy a seguir con mi fivewin de siempre, y que no me da ningun problema. Incluso, aunque dispongo de todos los hasta las 2.8, sigo utilizando la 2.4, ya que a partir de ella, si intento hacer algo, siempre hay algún error en algún sitio.\n\nEs una lástima porque llevo intentando aplicar harbour ó xharbour desde que salió el primer proyecto harbour, pero pierdo muchisimo tiempo. A lo más que he llegado es a poder compilar los ejemplos que vienen con cada revisión, y funcionan perfectamente, pero luego los aplico a mis programas y empiezan los errores y ya estamos en el ajo.\n\nGracias a todos y Saludos\n\nJose Luis",
"time": "13:37",
"topic": "Bitmap en folder",
"username": "JoseLuis"
}
] |
Bitmap en folder
|
[
{
"date": "2023-02-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi,\n\ni want to add Bitmap to TFolder but all Sample use File \"from Disk\"\n\n[code=fw:1si47wi8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">local</span> aBitmaps := <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\e</span>xit.bmp\"</span>,;<br /> ...<br /> <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\e</span>xit.bmp\"</span> <span style=\"color: #000000;\">}</span><br /><br /> @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">3</span> FOLDEREX oFld <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">ADJUST</span>;<br /> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Opction 1 fghfg abcd\"</span>, <span style=\"color: #ff0000;\">\"Option 2\"</span>, <span style=\"color: #ff0000;\">\"Option 3\"</span>, <span style=\"color: #ff0000;\">\"Option 4\"</span>, <span style=\"color: #ff0000;\">\"Option 5\"</span>, <span style=\"color: #ff0000;\">\"Option 6\"</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">BITMAPS</span> aBitmaps;</div>[/code:1si47wi8]\nhow to use Resource like \"MYFIXDRIVE16\" <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\n---\n\nwhen use oTab:AddItem() how to assign Bitmap to new TAB <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "02:28",
"topic": "Bitmap from Resource for TFolderEx()",
"username": "Jimmy"
}
] |
Bitmap from Resource for TFolderEx()
|
[
{
"date": "2023-02-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": ":SetBitmap(\"aaa(16x32)\", n)\n:Refresh()",
"time": "20:06",
"topic": "Bitmap from Resource for TFolderEx()",
"username": "Natter"
}
] |
Bitmap from Resource for TFolderEx()
|
[
{
"date": "2023-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi,\n[quote=\"Natter\":21yhymxs]:SetBitmap(\"aaa(16x32)\", n)\n:Refresh()[/quote:21yhymxs]\nYES, that work fine <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \nthx",
"time": "05:45",
"topic": "Bitmap from Resource for TFolderEx()",
"username": "Jimmy"
}
] |
Bitmap from Resource for TFolderEx()
|
[
{
"date": "2022-10-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nI was counting a recordset from the MariaDB database. From this recordset, I load the bitmap into the TImage control using the method :LoadFromMemory(). Everything works fine. However, the downloaded bitmap looks bad. I don't know what the reason is, but the bitmap downloaded from the file looks good.\nI wanted to try using TXImage, but I don't know how to load a bitmap from a variable into it",
"time": "15:18",
"topic": "Bitmap from a variable",
"username": "Natter"
}
] |
Bitmap from a variable
|
[
{
"date": "2022-10-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "oImage:SetSource( ... )",
"time": "21:52",
"topic": "Bitmap from a variable",
"username": "nageswaragunupudi"
}
] |
Bitmap from a variable
|
[
{
"date": "2022-10-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you Rao ! Everything is fine with TXImage",
"time": "09:15",
"topic": "Bitmap from a variable",
"username": "Natter"
}
] |
Bitmap from a variable
|
[
{
"date": "2022-10-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Bitmap looks good in TXImage. I save it using the method :Save(). However, the Bitmap saved to the file looks much worse",
"time": "10:36",
"topic": "Bitmap from a variable",
"username": "Natter"
}
] |
Bitmap from a variable
|
[
{
"date": "2022-10-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Natter,\n\nCLASS TXImage METHOD Save( lAsViewed, cFile, nQuality )\n\nwhat nQuality parameter value are you using ?\n\nPlease try with 100",
"time": "20:30",
"topic": "Bitmap from a variable",
"username": "Antonio Linares"
}
] |
Bitmap from a variable
|
[
{
"date": "2010-10-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "How to make this?\nWndprint() etc. brings always the complete window with bar and so.",
"time": "13:28",
"topic": "Bitmap from the window client-area",
"username": "byte-one"
}
] |
Bitmap from the window client-area
|
[
{
"date": "2010-10-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Gunther,\n\nI have never tried this, but TBitmap inherts a print method from TWindow, so try:\n\noBmp:Print( oTarget, nRow, nCol, nScale )\n\nWhere oTarget is the printer object.\n\nRegards,\nJames",
"time": "13:34",
"topic": "Bitmap from the window client-area",
"username": "James Bott"
}
] |
Bitmap from the window client-area
|
[
{
"date": "2011-12-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All,\nDear Mr. RAO,\n\nIs xBrowse can do this dual bitmap?\n\n[img:14cvrpx1]http://i208.photobucket.com/albums/bb82/fraxzi/tree.png[/img:14cvrpx1]\n\nany sample?",
"time": "09:38",
"topic": "Bitmap in XBrowse",
"username": "fraxzi"
}
] |
Bitmap in XBrowse
|
[
{
"date": "2012-01-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Just an update..\n\n\nI tricked it.\n\nI used these images for xBrw:SetTree( oTree, { 'openbook', 'closebook', 'Blank16' } )\n\n[img:3r7ygsfa]http://i208.photobucket.com/albums/bb82/fraxzi/toc_openbook.jpg[/img:3r7ygsfa]\n\n[img:3r7ygsfa]http://i208.photobucket.com/albums/bb82/fraxzi/toc_closedbook.jpg[/img:3r7ygsfa]\n\n[img:3r7ygsfa]http://i208.photobucket.com/albums/bb82/fraxzi/xtree.png[/img:3r7ygsfa]\n\n\nBut the issue of independently display 2 or more images for the Tree is istill undone.",
"time": "01:46",
"topic": "Bitmap in XBrowse",
"username": "fraxzi"
}
] |
Bitmap in XBrowse
|
[
{
"date": "2012-01-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote:382x7kvx]I tricked it.\n\nI used these images for xBrw:SetTree( oTree, { 'openbook', 'closebook', 'Blank16' } )\n[/quote:382x7kvx]\nThis is the best and only solution.",
"time": "21:04",
"topic": "Bitmap in XBrowse",
"username": "nageswaragunupudi"
}
] |
Bitmap in XBrowse
|
[
{
"date": "2012-01-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Mr. RAO,\n\nThanks for the clarification..\n\nThe tricked works just like it.",
"time": "01:23",
"topic": "Bitmap in XBrowse",
"username": "fraxzi"
}
] |
Bitmap in XBrowse
|
[
{
"date": "2006-03-08",
"forum": "FiveWin for Pocket PC",
"text": "In my program I display bitmap in background. \n[code:1w56k0d9]@ 0,0 BITMAP oBmp1 FILENAME CURDIR()+'\\rybcie.bmp' OF oWnd SIZE 250,280 NOBORDER [/code:1w56k0d9]\nIn prior version of FWPPC it was correct.\n Now this bitmap look like \n[code:1w56k0d9]oBmp1:lTransparent:=.T. [/code:1w56k0d9]\nbut I can't change this Data. What is wrong?\n\nregards Eugeniusz",
"time": "07:42",
"topic": "Bitmap in version 24 February",
"username": "Eugeniusz Owsiak"
}
] |
Bitmap in version 24 February
|
[
{
"date": "2006-03-08",
"forum": "FiveWin for Pocket PC",
"text": "Eugeniusz,\n\nSet the bitmap pixel 0, 0 to a different color to all the others pixels in the bitmap, and none of them will be made transparent. \n\nWe have changed the used function to display them in order to get transparency by request from FWPPC users.",
"time": "09:44",
"topic": "Bitmap in version 24 February",
"username": "Antonio Linares"
}
] |
Bitmap in version 24 February
|
[
{
"date": "2006-03-08",
"forum": "FiveWin for Pocket PC",
"text": "Thank You Antonio.\n\nWhen TBrush class will be ready?\n\nregards Eugeniusz",
"time": "10:45",
"topic": "Bitmap in version 24 February",
"username": "Eugeniusz Owsiak"
}
] |
Bitmap in version 24 February
|
[
{
"date": "2006-03-09",
"forum": "FiveWin for Pocket PC",
"text": "Eugeniusz,\n\nClass TBrush is already working. What test have you done ?",
"time": "08:40",
"topic": "Bitmap in version 24 February",
"username": "Antonio Linares"
}
] |
Bitmap in version 24 February
|
[
{
"date": "2009-02-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi all,\n\ni have a xBrowse column where i put a bitmap beside the data to show that there is something special with that data.\nUnfortunately this bitmap gets badly visible when the row gets selected.\nI know it's not a xBrowse error but bad color from my side.\n\n[img:z3l6wd59]http://www.d-hoefner.de/files/fw-screen.gif[/img:z3l6wd59]\n\nIs there a way just to highlite only colums 2 and 3 so that my bitmaps stays visible?\n\nRegards,\nDetlef",
"time": "11:01",
"topic": "Bitmap in xBrowse",
"username": "Detlef Hoefner"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "there is another topic for this problem \nWe are working ( daniel, Uwe and me) to resolve the problem\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=14347\">viewtopic.php?f=3&t=14347</a><!-- l -->",
"time": "11:29",
"topic": "Bitmap in xBrowse",
"username": "Silvio"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Detlef,\n\ncan You add these two lines to Your xBrowser, to see, if there is a change ?\nIn my tests, the BMP is visible.\n\n[code:11try099]\n// for < oBrw > use Your browse-object\n// -------------------------------------------\naClrCol := { { 0, 15724527 }, { 0, 14671839 } } // Alternated Colors\noBrw:bClrStd := { || aClrCol[ oBrw:KeyNo % 2 + 1 ] } \n[/code:11try099]\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "23:43",
"topic": "Bitmap in xBrowse",
"username": "ukoenig"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Silvio and Uwe,\n\ni think i made a bad description of my problem.\nThe bitmap is not hidden.\nIts just too dark and a dark lightbar makes it hard to see.\nI now made the lightbar with a very bright color.\nBut i would prefer a lightbar with the original blue color which covers only my columns 2, 3 and not column 1.\nSomeone how how to do this?\n\nThanks for your advices.\nRegards,\nDetlef",
"time": "09:30",
"topic": "Bitmap in xBrowse",
"username": "Detlef Hoefner"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Detlef,\n\nTry to set this DATA of your first column object:\n[code:ri3coq1n]\n oCol1:bClrSelFocus = { || { CLR_BLACK, CLR_WHITE } } \n[/code:ri3coq1n]\nHere you have a working example:\n[code:ri3coq1n]\n#include \"FiveWin.ch\"\n#include \"XBrowse.ch\"\n\nfunction Main()\n\n local oWnd, oBrw, oCol\n\n USE Customer\n\n DEFINE WINDOW oWnd\n \n @ 0, 0 XBROWSE oBrw OF oWnd ALIAS \"Customer\"\n \n oCol = oBrw:AddCol() \n oCol:bStrData = { || Customer->First } \n oCol:cHeader = \"First\"\n oCol:bClrSelFocus = { || { CLR_BLACK, CLR_WHITE } } \n\n oCol = oBrw:AddCol() \n oCol:bStrData = { || Customer->Last } \n oCol:cHeader = \"Last\"\n\n oCol = oBrw:AddCol() \n oCol:bStrData = { || Customer->Street } \n oCol:cHeader = \"Street\"\n \n oBrw:nMarqueeStyle = MARQSTYLE_HIGHLROW\n \n oBrw:CreateFromCode()\n \n oWnd:oClient = oBrw\n\n ACTIVATE WINDOW oWnd\n\nreturn nil\n[/code:ri3coq1n]\n[url=http://imageshack.us:ri3coq1n][img:ri3coq1n]http://img525.imageshack.us/img525/9881/capturenr9.png[/img:ri3coq1n][/url:ri3coq1n]",
"time": "11:23",
"topic": "Bitmap in xBrowse",
"username": "Antonio Linares"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Detlef,\n\nYou can use Antonio's solution or change the color of the focused row with any\nof the blue-color-values ( +, ++ ( lighter ) :\n\n[code:zazks5st]\n// 0 = Black\n// 16777215 = White\n// 8388608 = DarkBlue\n// 15365376 = Blue +\n// 16757606 = Blue ++\n// 16764831 = Blue +++\n// 16767411 = Blue ++++\n\n// Selected Row-color on Focus ( Text / Background )\n// ------------------------------------------------------------\noLbx:bClrSelFocus = { || { 0, 16757606 } } \n\n// Selected Row-color on change Focus ( Text / Background )\n// -----------------------------------------------------------------\noLbx:bClrSel = { || { 0, 16757606 } } \n\n[/code:zazks5st]\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "11:35",
"topic": "Bitmap in xBrowse",
"username": "ukoenig"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nmany thanks for your help.\nIts working fine now.\n\nAlso thanks to Uwe for your color tip.\n\nRegards,\nDetlef",
"time": "11:48",
"topic": "Bitmap in xBrowse",
"username": "Detlef Hoefner"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Detlef,\n\nA screenshot :\n\n[img:1he8ayl1]http://www.pflegeplus.com/pictures/colors7.jpg[/img:1he8ayl1]\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "12:01",
"topic": "Bitmap in xBrowse",
"username": "ukoenig"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "why on my application I cannot see the bitmaps ???????",
"time": "13:01",
"topic": "Bitmap in xBrowse",
"username": "Silvio"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Silvio,\n\nI hope I get it ready, to put a early release of the tools tomorrow in this place.\nIt is easy for You, to check all possible combinations to see what's wrong.\nThere are 9 different backgrounds together for Windows and Dialog = 18 Test.\nThese tests in combination with Marquestyles ( 7 ) are together 126 Tests.\nMaybe with all the tests, we can find out, what's wrong. \nSome combinations are working ( 80 % <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> ), some not.\n\nTest Selection\n\n[img:3nnm2ifm]http://www.pflegeplus.com/pictures/xbrowse30.jpg[/img:3nnm2ifm]\n\nSelection Result ( xBrowse-Test in Windows and Dialog together )\n\n[img:3nnm2ifm]http://www.pflegeplus.com/pictures/xbrowse31.jpg[/img:3nnm2ifm]\n\nRegards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "15:56",
"topic": "Bitmap in xBrowse",
"username": "ukoenig"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I use a special dialog ( nOR( WS_CHILD, 4 ))\nand I put xbrowse into \nNow I use this :\n[code:pv3r6973]\n App():oDlg:NewGrid( nSplit )\n oApp():oGrid:nColDividerStyle := LINESTYLE_BLACK\n oApp():oGrid:nRowDividerStyle := LINESTYLE_FORECOLOR\n oApp():oGrid:nMarqueeStyle :=MARQSTYLE_HIGHLCELL\n\n\n\n\n oApp():oGrid:lColDividerComplete := .T.\n oApp():oGrid:lRecordSelector := .F.\n\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"sort1\")\n oCol:AddResource(\"sort2\")\n oCol:bStrData := { || (oDCli)->NUMCLI}\n oCol:cHeader := \"Codice\"\n oCol:nWidth := 80\n oCol:nHeadBmpNo := 1\n oCol:nHeadBmpAlign := AL_RIGHT\n oCol:bLClickHeader :={ ||(Sel_Index(1,oDCli), oApp():oTab:nOption:=1,oApp():oTab:refresh()) }\n\n\n //PER LA SELEZIONE\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"C_Pal\")\n oCol:AddResource(\"STATO3\")\n oCol:bBmpData := { || Ds_Mar(1,2)}\n oCol:cHeader := \"\"\n oCol:nWidth := 25\n\n\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"sort1\")\n oCol:AddResource(\"sort2\")\n oCol:bStrData := { || (oDCli)->NOMEINTERO}\n oCol:cHeader := \"Cognome Nome\"\n oCol:nWidth := 250\n oCol:nHeadBmpNo := 2\n oCol:nHeadBmpAlign := AL_RIGHT\n oCol:bLClickHeader :={ ||(Sel_Index(2,oDCli), oApp():oTab:nOption:=2,oApp():oTab:refresh()) }\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"sort1\")\n oCol:AddResource(\"sort2\")\n oCol:AddResource(\"UOMO\")\n oCol:AddResource(\"DONNA\")\n * oCol:bStrData := { || (oDCli)->SESSO}\n oCol:bBmpData := { || IF( ALLTRIM(UPPER(\"UOMO\")) $ ALLTRIM(UPPER((oDCli)->SESSO)),3,4)}\n oCol:cHeader := \"Sesso\"\n oCol:nWidth :=40\n oCol:nHeadBmpNo := 2\n oCol:nHeadBmpAlign := AL_RIGHT\n oCol:bLClickHeader :={ ||(Sel_Index(3,oDCli) , oApp():oTab:nOption:=3,oApp():oTab:refresh()) }\n\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"FONDATORE\")\n oCol:AddResource(\"ORDINARIO\")\n oCol:AddResource(\"SOSTENITORE\")\n oCol:AddResource(\"ALTRO\")\n *oCol:bStrData := { || (oDCli)->TIPO}\n oCol:cHeader := \"Adesione\"\n * oCol:bEditValue := { || (oDCli)->TIPO }\n oCol:nDataStyle := oCol:DefStyle( AL_LEFT, .T.)\n oCol:bBmpData := { || (oDCli)->TIPO}\n oCol:nWidth := 30\n\n\n\n\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"sort1\")\n oCol:AddResource(\"sort2\")\n oCol:AddResource(\"ATTIVO\")\n oCol:AddResource(\"NOATTIVO\")\n *oCol:bStrData := { || (oDCli)->STATO}\n oCol:cHeader := \"Status\"\n oCol:nHeadBmpNo := 2\n oCol:nHeadBmpAlign := AL_RIGHT\n oCol:bBmpData := { || iif( (oDCli)->STATO, 3, 4) }\n oCol:bLClickHeader :={ ||(Sel_Index(5,oDCli) , oApp():oTab:nOption:=5,oApp():oTab:refresh()) }\n\n\n\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"sort1\")\n oCol:AddResource(\"sort2\")\n oCol:nHeadBmpNo := if( (oDCli)->( ORDNUMBER() ) == 6, 1, 2)\n oCol:nHeadBmpAlign := AL_RIGHT\n oCol:bLClickHeader :={ ||(Sel_Index(7,oDCli) , oApp():oTab:nOption:=7,oApp():oTab:refresh()) }\n oCol:AddBmpFile(\".\\BITMAPS\\MENU\\GRADI\\GIOVANE.BMP\")\n oCol:AddBmpFile(\".\\BITMAPS\\MENU\\GRADI\\PENSIONATO.BMP\")\n oCol:AddBmpFile(\".\\BITMAPS\\MENU\\GRADI\\STUDENTE.BMP\")\n oCol:AddBmpFile(\".\\BITMAPS\\MENU\\GRADI\\ESPERTO.BMP\")\n oCol:AddBmpFile(\".\\BITMAPS\\MENU\\GRADI\\OBIETTORE.BMP\")\n oCol:AddBmpFile(\".\\BITMAPS\\MENU\\GRADI\\REGIONALE.BMP\")\n oCol:bStrData := { || (oDCli)->ATTIVITA}\n oCol:cHeader := \"Tipo\"\n oCol:bEditValue := { || (oDCli)->ATTIVITA }\n oCol:nDataStyle := oCol:DefStyle( AL_LEFT, .T.)\n\n oCol:bBmpData := { || (oDCli)->attivita + 2}\n oCol:nWidth :=40\n\n\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"sort1\")\n oCol:AddResource(\"sort2\")\n oCol:cHeader := \"Grado\"\n oCol:nHeadBmpNo := if( (oDCli)->( ORDNUMBER() ) == 7, 1, 2)\n oCol:nHeadBmpAlign := AL_RIGHT\n oCol:bLClickHeader :={ ||(Sel_Index(6,oDCli) , oApp():oTab:nOption:=6,oApp():oTab:refresh()) }\n oCol:AddResource(\"GRADO1\")\n oCol:AddResource(\"GRADO2\")\n oCol:AddResource(\"GRADO3\")\n oCol:AddResource(\"GRADO4\")\n oCol:AddResource(\"GRADO5\")\n oCol:AddResource(\"GRADO6\")\n oCol:AddResource(\"GRADO7\")\n oCol:AddResource(\"GRADO8\")\n oCol:AddResource(\"GRADO0\")\n oCol:bStrData := { || (oDCli)->GRADO}\n oCol:bBmpData := { || (oDCli)->GRADO + 2}\n oCol:nWidth :=40\n\n\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:bStrData := { || CF((oDCli)->NASCITA)}\n oCol:cHeader := \"Data di nascita\"\n oCol:nWidth := 90\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:bStrData := { || (oDCli)->LUO_NASC }\n oCol:cHeader := \"Luogo di Nascita\"\n oCol:nWidth := 150\n\n\n oCol:= oApp():oGrid:AddCol()\n oCol:bStrData := { || (oDCli)->INDIRIZZO }\n oCol:cHeader := \"Indirizzo\"\n oCol:nWidth := 200\n\n oCol:= oApp():oGrid:AddCol()\n oCol:AddResource(\"sort1\")\n oCol:AddResource(\"sort2\")\n oCol:bStrData := { || (oDCli)->LOCALITA }\n oCol:cHeader := \"Località\"\n oCol:nWidth := 100\n oCol:bLClickHeader :={ ||(Sel_Index(4,oDCli), oApp():oTab:nOption:=4,oApp():oTab:refresh()) }\n\n\n\n\n\n\n oApp():oGrid:nFreeze :=3\n oApp():oGrid:SetRDD()\n * oApp():oGrid:bClrStd := { || Colores(oDCli) }\n * oApp():oGrid:bClrStd := {|| {CLR_WHITE, CLR_BLACK} }\n * oApp():oGrid:cBmpAdjBrush :=\".\\bitmaps\\pclogog.BMP\"\n\n\n oApp():oGrid:bClrStd := { || Colores(oDCli) }\n\n\n oApp():oGrid:SetBackGround( \".\\bitmaps\\pclogog.BMP\" )\n oApp():oGrid:CreateFromCode()\n oApp():oGrid:bChange :={ || (RefreshCont(oCont,oDCli)) }\n oApp():oGrid:bRClicked := {|nRow,nCol| Disp_Men(oApp():oDlg,nRow,nCol,oDCli) }\n oApp():oGrid:bKeyDown :={|nKey| Val_nKey(nKey,oApp():oDlg)\n\n[/code:pv3r6973]\n\nI can see the bitmaps but the bar is on each cell and not on each row as U can see here :\n\n[img:pv3r6973]http://img516.imageshack.us/img516/3290/cellvdsdb5.png[/img:pv3r6973]\n\nI cannot use the backgroud because in this mode it not is usefull...",
"time": "16:21",
"topic": "Bitmap in xBrowse",
"username": "Silvio"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Silvio,\n\nduring preparing the download, I tested colors.\nBecause of a mistake, the rowselection of the dialog was white. Suddenly I could see the bitmap.\nSlowly I am a little bit perplexed.\n\n[code:334hwsk3]\n\noBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW\noBrw:nRecSelColor = 15512898 \n\n // Selected Row Black on White\noBrw:bClrSelFocus = { || { 0, 16777215 } } \n \n// LostFocus Black on White\noBrw:bClrSel = { || { 0, 16777215 } } \n\n[/code:334hwsk3]\n\n[img:334hwsk3]http://www.pflegeplus.com/pictures/xbrowse50.jpg[/img:334hwsk3]\n\nThe same Test with a brush :\n\n[img:334hwsk3]http://www.pflegeplus.com/pictures/xbrowse52.jpg[/img:334hwsk3]\n\nRegards\nUwe <!-- s:cry: --><img src=\"{SMILIES_PATH}/icon_cry.gif\" alt=\":cry:\" title=\"Crying or Very sad\" /><!-- s:cry: -->",
"time": "20:28",
"topic": "Bitmap in xBrowse",
"username": "ukoenig"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Now run but now I have a white bar \nI wish have a bar with a light color \nhow I can modify it ?",
"time": "00:26",
"topic": "Bitmap in xBrowse",
"username": "Silvio"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "found !!!\nI insert the darkorange color office 2007 style ...now I see bitmaps\n\n oApp():oGrid:nColDividerStyle := LINESTYLE_BLACK\n oApp():oGrid:nRowDividerStyle := LINESTYLE_FORECOLOR\n\noApp():oGrid:nMarqueeStyle := MARQSTYLE_HIGHLROW\n\noApp():oGrid:nRecSelColor = 15512898\n\n// Selected Row Black on White\n oApp():oGrid:bClrSelFocus = { || { 0, nRGB( 238, 152, 25 ) } }\n\n// LostFocus Black on White\n oApp():oGrid:bClrSel ={ || { 0, nRGB( 238, 152, 25 ) } }",
"time": "00:34",
"topic": "Bitmap in xBrowse",
"username": "Silvio"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2009-02-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "#define DARKCYAN nRGB( 125, 165, 224 )\n\n oApp():oGrid:nRecSelColor = 15512898\n// Selected Row Black on White\noApp():oGrid:bClrSelFocus = { || { 0, DARKCYAN } }\n\n// LostFocus Black on White\noApp():oGrid:bClrSel ={ || { 0, DARKCYAN } }\n\n\n[img:2lzin9j7]http://img243.imageshack.us/img243/6773/bargoodmu6.png[/img:2lzin9j7]",
"time": "12:09",
"topic": "Bitmap in xBrowse",
"username": "Silvio"
}
] |
Bitmap in xBrowse
|
[
{
"date": "2013-04-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas noches,\n\nLo que me interesaría es colocar un par de bitmap, según un estado lógico, en el set message de la window principal.\n\nActualmente uso:\n\n[code=fw:16i9csqr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">set <span style=\"color: #0000ff;\">message</span> <span style=\"color: #0000ff;\">of</span> oWnd <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">'Sistema de Gestión de '</span> + cCompania<span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">font</span> oMsgfont CLOCK DATE KEYBOARD <span style=\"color: #000000;\">2007</span></div>[/code:16i9csqr] \n\nPero me interesaría agregar, como dije, un par de bitmaps en esta línea de message.\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "01:42",
"topic": "Bitmap o imagen en message de window - Solucionado",
"username": "rolando"
}
] |
Bitmap o imagen en message de window - Solucionado
|
[
{
"date": "2013-04-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\n¿Alguna idea al respecto?. ¿Se puede hacer?\n\nGracias.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "17:14",
"topic": "Bitmap o imagen en message de window - Solucionado",
"username": "rolando"
}
] |
Bitmap o imagen en message de window - Solucionado
|
[
{
"date": "2013-04-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola Rolando\n\nprueba asi\n\n\t[quote:3bzu56uw]\n\n \tSET MESSAGE OF oWnd TO \"Sistema Administrativo Comercial, © 2012, por Patricio Avalos Aguirre\";// 2007;\n\t\t\tCOLOR CLR_BLACK, CLR_NBLUE\n\n\toWnd:oMsgBar:AddItem( TMsgItem():New( oWnd:oMsgBar, \"PATRICIO\", 150, , , , , { || msgInfo(\"action\")}, ;\n\t\t\t\t\t\"AYUDA\"\t\t ) )\n\n/*METHOD New( oMsgBar, cMsg, nWidth, oFont, nClrText, nClrBack, lAdd, bAction,;\n cBmp1, cBmp2, cToolTip ) CLASS TMsgItem*/\n[/quote:3bzu56uw]",
"time": "18:09",
"topic": "Bitmap o imagen en message de window - Solucionado",
"username": "Patricio Avalos Aguirre"
}
] |
Bitmap o imagen en message de window - Solucionado
|
[
{
"date": "2013-04-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Patricio,\n\nMuchas gracias. Funciona perfecto.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "22:14",
"topic": "Bitmap o imagen en message de window - Solucionado",
"username": "rolando"
}
] |
Bitmap o imagen en message de window - Solucionado
|
[
{
"date": "2013-04-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "rolando\n\nentonces edita el primer mensaje y en asunto ponle al final SOLUCIONADO",
"time": "22:39",
"topic": "Bitmap o imagen en message de window - Solucionado",
"username": "Patricio Avalos Aguirre"
}
] |
Bitmap o imagen en message de window - Solucionado
|
[
{
"date": "2018-03-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI need to put an image (tBITMAP) using transparency over an image (tIMAGE) in the Window.\n\nBut transparency does not work, could anyone help?\n\nThank you.",
"time": "18:22",
"topic": "Bitmap on image",
"username": "ctoas"
}
] |
Bitmap on image
|
[
{
"date": "2018-03-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Christiano, \n\nPlease have a look at sample < [color=#0000FF:3aqf2n6i]BmponBmp.p[/color:3aqf2n6i]rg >\nIf it doesn't work, there will be a problem with Your top-image.\n\nregards\nuwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "18:45",
"topic": "Bitmap on image",
"username": "ukoenig"
}
] |
Bitmap on image
|
[
{
"date": "2009-08-07",
"forum": "FiveWin for Pocket PC",
"text": "I tried fwbrowse sample into fwppc but it not run ok\nI not see any bitmaps\nI want show bitmaps for level as fwbrowse.prg ( clients functions)",
"time": "11:24",
"topic": "Bitmap on listbox",
"username": "Silvio"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-11",
"forum": "FiveWin for Pocket PC",
"text": "Hello\ncan you try Listbox?\nThe way I use bitmaps in listbox works fine, (this example for simulate mark/Unmark a browse cell:\n\n[code=fw:2zcgynle]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> hBmpCheckOn := LoadBitmap<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"checkon\"</span> <span style=\"color: #000000;\">)</span> <br /> hBmpCheckOff:= LoadBitmap<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"checkoff\"</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">LISTBOX</span> aoLbx<span style=\"color: #000000;\">[</span>LBX_GRUPOPR<span style=\"color: #000000;\">]</span> ;<br /> FIELDS <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> PasGrpPr->OK=<span style=\"color: #ff0000;\">\" \"</span>, hBmpCheckOff, hBmpCheckOn <span style=\"color: #000000;\">)</span>,;<br /> PasGrpPr->DESCRIPCIO,;<br /> PasGrpPr-><span style=\"color: #000000;\">(</span>TRANSFORM<span style=\"color: #000000;\">(</span>CANTIDAD,<span style=\"color: #ff0000;\">\"99999.9\"</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>,;<br /> PasGrpPr-><span style=\"color: #000000;\">(</span>TRANSFORM<span style=\"color: #000000;\">(</span>PRECIO,<span style=\"color: #ff0000;\">\"99,999.99\"</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span>,;<br /> PasGrpPr-><span style=\"color: #000000;\">(</span>transform<span style=\"color: #000000;\">(</span>existencia,<span style=\"color: #ff0000;\">\"99999\"</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> ;<br /> HEADERS <span style=\"color: #ff0000;\">\"Ok\"</span>, <span style=\"color: #ff0000;\">\"Descripcion\"</span>, <span style=\"color: #ff0000;\">\"Cant\"</span>, <span style=\"color: #ff0000;\">\"Precio\"</span>, <span style=\"color: #ff0000;\">\"Existencia\"</span> ; <br /> <span style=\"color: #0000ff;\">FONT</span> oFont ;<br /> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">901</span> <span style=\"color: #0000ff;\">OF</span> aoDlgs<span style=\"color: #000000;\">[</span>DLG_GRUPOPR<span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">ALIAS</span> cAlias2<br /> </div>[/code:2zcgynle]\n\nsee the result .ppo and you can view how the function is called.",
"time": "02:48",
"topic": "Bitmap on listbox",
"username": "Arturo Lopesoria"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-12",
"forum": "FiveWin for Pocket PC",
"text": "thank you \nbut on fbrowse.prg ( fwh)\nthe bitmaps are different : look here please\n[code=fw:3cwmmak0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> Clients<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> oDlg<br /> <span style=\"color: #00C800;\">local</span> oLbx<br /> <span style=\"color: #00C800;\">local</span> cVar<br /><br /> <span style=\"color: #00C800;\">local</span> aHBitMaps:= <span style=\"color: #000000;\">{</span> ReadBitmap<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\L</span>evel1.bmp\"</span> <span style=\"color: #000000;\">)</span>, ; <span style=\"color: #B900B9;\">// BitMaps de 14 x 32</span><br /> ReadBitmap<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\L</span>evel2.bmp\"</span> <span style=\"color: #000000;\">)</span>, ;<br /> ReadBitmap<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\L</span>evel3.bmp\"</span> <span style=\"color: #000000;\">)</span>, ;<br /> ReadBitmap<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\L</span>evel4.bmp\"</span> <span style=\"color: #000000;\">)</span>,;<br /> ReadBitmap<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\L</span>evel5.bmp\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">local</span> n<br /><br /> <span style=\"color: #00C800;\">if</span> ! File<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"clientes.dbf\"</span> <span style=\"color: #000000;\">)</span><br /> DbCreate<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Clientes.dbf\"</span>, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Nombre\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Direccion\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Telefono\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">12</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Edad\"</span>, <span style=\"color: #ff0000;\">\"N\"</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Productos\"</span>, <span style=\"color: #ff0000;\">\"C\"</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Nivel\"</span>, <span style=\"color: #ff0000;\">\"N\"</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> USE Clientes<br /><br /> <span style=\"color: #00C800;\">if</span> RecCount<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> == <span style=\"color: #000000;\">0</span><br /> APPEND BLANK<br /> <span style=\"color: #00C800;\">endif</span><br /><br /> <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> Clientes->Nombre <span style=\"color: #0000ff;\">TO</span> CliName<br /><br /> SET <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">TO</span> CliName<br /><br /> GO TOP<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">3</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">26</span>, <span style=\"color: #000000;\">79</span> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Clients Management\"</span><br /><br /> @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\" &Clients List\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">LISTBOX</span> oLbx FIELDS aHBitmaps<span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span>, Clientes->Nivel <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span>,;<br /> Clientes->Nombre, AllTrim<span style=\"color: #000000;\">(</span> Clientes->Direccion <span style=\"color: #000000;\">)</span>,;<br /> Clientes->Telefono,;<br /> Str<span style=\"color: #000000;\">(</span> Clientes->Edad, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> ;<br /> HEADERS <span style=\"color: #ff0000;\">\"L\"</span>, <span style=\"color: #ff0000;\">\"Name\"</span>, <span style=\"color: #ff0000;\">\"Address\"</span>, <span style=\"color: #ff0000;\">\"Phone\"</span>, <span style=\"color: #ff0000;\">\"Age\"</span> ;<br /> FIELDSIZES <span style=\"color: #000000;\">16</span>, <span style=\"color: #000000;\">222</span>, <span style=\"color: #000000;\">213</span>, <span style=\"color: #000000;\">58</span>, <span style=\"color: #000000;\">24</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">284</span>, <span style=\"color: #000000;\">137</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> <span style=\"color: #B900B9;\">// Lets use different row colors</span><br /> oLbx:<span style=\"color: #000000;\">nClrText</span> = <span style=\"color: #000000;\">{</span> || SelColor<span style=\"color: #000000;\">(</span> Clientes->Nivel <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oLbx:<span style=\"color: #000000;\">nClrForeFocus</span> = <span style=\"color: #000000;\">{</span> || SelColor<span style=\"color: #000000;\">(</span> Clientes->Nivel <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oLbx:<span style=\"color: #000000;\">bRClicked</span> = <span style=\"color: #000000;\">{</span> | nRow, nCol | ShowPopup<span style=\"color: #000000;\">(</span> nRow, nCol, oLbx <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Try different line styles !!!</span><br /> oLbx:<span style=\"color: #000000;\">nLineStyle</span> = <span style=\"color: #000000;\">1</span><br /> oLbx:<span style=\"color: #000000;\">bKeyChar</span> := <span style=\"color: #000000;\">{</span>|nKey| <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> nKey == VK_RETURN , EditRecord<span style=\"color: #000000;\">(</span> oLbx <span style=\"color: #000000;\">)</span> , <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">}</span><br /><br /> oLbx:<span style=\"color: #000000;\">aJustify</span> = <span style=\"color: #000000;\">{</span> .f., .f., .t., .f., .t. <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #B900B9;\">// Uncomment this to quickly calculate the desired columns width</span><br /> <span style=\"color: #B900B9;\">// Right click with the mouse over the browse and you will</span><br /> <span style=\"color: #B900B9;\">// see the columns sizes!</span><br /> <span style=\"color: #B900B9;\">// oLbx:bRClicked = { || oLbx:ShowSizes() }</span><br /><br /> @ <span style=\"color: #000000;\">8.7</span>, <span style=\"color: #000000;\">1.4</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&New\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> EditClient<span style=\"color: #000000;\">(</span> oLbx, .t. <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span><br /> @ <span style=\"color: #000000;\">8.7</span>, <span style=\"color: #000000;\">9.4</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Modify\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> EditClient<span style=\"color: #000000;\">(</span> oLbx, .f. <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span><br /> @ <span style=\"color: #000000;\">8.7</span>, <span style=\"color: #000000;\">17.4</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Delete\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> DelClient<span style=\"color: #000000;\">(</span> oLbx <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span><br /> @ <span style=\"color: #000000;\">8.7</span>, <span style=\"color: #000000;\">25.4</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Search\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> SeekClient<span style=\"color: #000000;\">(</span> oLbx <span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span><br /><br /> @ <span style=\"color: #000000;\">8.7</span>, <span style=\"color: #000000;\">33.4</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Print\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">ACTION</span> oLbx:<span style=\"color: #000000;\">Report</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"clients Report\"</span>, .t. <span style=\"color: #000000;\">)</span> ; <span style=\"color: #B900B9;\">// .t. --> wants preview</span><br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span><br /><br /> @ <span style=\"color: #000000;\">8.7</span>, <span style=\"color: #000000;\">42</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Exit\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">12</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /> USE<br /><br /> AEval<span style=\"color: #000000;\">(</span> aHBitmaps, <span style=\"color: #000000;\">{</span> | hBmp | DeleteObject<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> </div>[/code:3cwmmak0]",
"time": "17:23",
"topic": "Bitmap on listbox",
"username": "Silvio"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-12",
"forum": "FiveWin for Pocket PC",
"text": "I dont know FWH yet, but apears to be very similar, maybe if you increase column 1 size more than 16...",
"time": "23:45",
"topic": "Bitmap on listbox",
"username": "Arturo Lopesoria"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-13",
"forum": "FiveWin for Pocket PC",
"text": "Hi Silvio:\n[quote=\"Silvio\":2tyl3h8k]I tried fwbrowse sample into fwppc but it not run ok\nI not see any bitmaps\nI want show bitmaps for level as fwbrowse.prg ( clients functions)[/quote:2tyl3h8k]\n\nYou should better use resources for bitmaps, here you are a working sample:\n[code=fw:2tyl3h8k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FWCE.ch\"</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">Function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">Local</span> oWnd, oLbx, ;<br /> aHBitMaps:= <span style=\"color: #000000;\">{</span> LoadBitmap<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"Level1\"</span> <span style=\"color: #000000;\">)</span>, ;<br /> LoadBitmap<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"Level3\"</span> <span style=\"color: #000000;\">)</span>, ;<br /> LoadBitmap<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"Level2\"</span> <span style=\"color: #000000;\">)</span>, ;<br /> LoadBitmap<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"Level4\"</span> <span style=\"color: #000000;\">)</span>, ;<br /> LoadBitmap<span style=\"color: #000000;\">(</span> GetResources<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>, <span style=\"color: #ff0000;\">\"Level5\"</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> USE <span style=\"color: #000000;\">(</span> CurDir<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> + <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\C</span>lientes\"</span> <span style=\"color: #000000;\">)</span> EXCLUSIVE <span style=\"color: #00C800;\">NEW</span><br /> <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> Clientes->Nombre <span style=\"color: #0000ff;\">TO</span> CliName<br /> SET <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">TO</span> CliName<br /> GO TOP<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Clients Management\"</span><br /><br /> @ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">LISTBOX</span> oLbx ;<br /> FIELDS aHBitmaps<span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">Max</span><span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span>, Clientes->Nivel <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">]</span>, ;<br /> Clientes->Nombre, AllTrim<span style=\"color: #000000;\">(</span> Clientes->Direccion <span style=\"color: #000000;\">)</span>, ;<br /> Clientes->Telefono, ;<br /> Str<span style=\"color: #000000;\">(</span> Clientes->Edad, <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">)</span> ;<br /> HEADERS <span style=\"color: #ff0000;\">\"L\"</span>, <span style=\"color: #ff0000;\">\"Name\"</span>, <span style=\"color: #ff0000;\">\"Address\"</span>, <span style=\"color: #ff0000;\">\"Phone\"</span>, <span style=\"color: #ff0000;\">\"Age\"</span> ;<br /> FIELDSIZES <span style=\"color: #000000;\">16</span>, <span style=\"color: #000000;\">112</span>, <span style=\"color: #000000;\">112</span>, <span style=\"color: #000000;\">58</span>, <span style=\"color: #000000;\">24</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">234</span>, <span style=\"color: #000000;\">263</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oWnd<br /><br /> <span style=\"color: #B900B9;\">// Lets use different row colors</span><br /> oLbx:<span style=\"color: #000000;\">nClrText</span> = <span style=\"color: #000000;\">{</span> || SelColor<span style=\"color: #000000;\">(</span> Clientes->Nivel <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oLbx:<span style=\"color: #000000;\">nClrForeFocus</span> = <span style=\"color: #000000;\">{</span> || SelColor<span style=\"color: #000000;\">(</span> Clientes->Nivel <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #B900B9;\">// Try different line styles !!!</span><br /> oLbx:<span style=\"color: #000000;\">nLineStyle</span> = <span style=\"color: #000000;\">1</span><br /> oLbx:<span style=\"color: #000000;\">aJustify</span> = <span style=\"color: #000000;\">{</span> .F., .F., .F., .F., .T. <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CLICK</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Click!\"</span> <span style=\"color: #000000;\">)</span><br /><br /> DbCloseAll<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">Nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">Static</span> <span style=\"color: #00C800;\">Function</span> SelColor<span style=\"color: #000000;\">(</span> nNivel <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">Local</span> nColor := CLR_BLACK<br /><br /> <span style=\"color: #00C800;\">Do</span> <span style=\"color: #00C800;\">Case</span><br /> <span style=\"color: #00C800;\">Case</span> nNivel == <span style=\"color: #000000;\">1</span><br /> nColor = CLR_HRED<br /> <span style=\"color: #00C800;\">Case</span> nNivel == <span style=\"color: #000000;\">2</span><br /> nColor = CLR_HGREEN<br /> <span style=\"color: #00C800;\">Case</span> nNivel == <span style=\"color: #000000;\">3</span><br /> nColor = CLR_HBLUE<br /> <span style=\"color: #00C800;\">EndCase</span><br /><br /><span style=\"color: #00C800;\">Return</span> nColor </div>[/code:2tyl3h8k]\n\nThe RC file\n[code=fw:2tyl3h8k]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Level1 BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\B</span>itmaps<span style=\"color: #000000;\">\\L</span>evel1.bmp\"</span><br />Level2 BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\B</span>itmaps<span style=\"color: #000000;\">\\L</span>evel2.bmp\"</span><br />Level3 BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\B</span>itmaps<span style=\"color: #000000;\">\\L</span>evel3.bmp\"</span><br />Level4 BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\B</span>itmaps<span style=\"color: #000000;\">\\L</span>evel4.bmp\"</span><br />Level5 BITMAP <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\B</span>itmaps<span style=\"color: #000000;\">\\L</span>evel5.bmp\"</span><br /> </div>[/code:2tyl3h8k]\n\nMake sure that bitmaps are in refered FwPpc folder and \"Clientes.dbf\" is in PocketPc testing folder.\n\nBest regards.\n\nManuel Mercado.",
"time": "09:19",
"topic": "Bitmap on listbox",
"username": "mmercado"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-13",
"forum": "FiveWin for Pocket PC",
"text": "thanks,\nbut why we cannot use bitmap at folder and we must use resources?\nPerhaps there is a bug on xharbour ce?\nI sad this because i try to use pp4 hand basic last year before to purchase fwppc and with it can use all in source , the last one you cannot use are dbf files instead of pdb files.\n\nManuel, when we can use your sbrowse and your sbutton in fwppc? \n\nI am sure U're working for us...\n\n\n.",
"time": "15:10",
"topic": "Bitmap on listbox",
"username": "Silvio"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-13",
"forum": "FiveWin for Pocket PC",
"text": "thanks to All\nNOW i SEE BITMAPS ON listbox \n\nthe error I made is this :\n\n[b:3lb3yj0d]aHBitMaps:= { ReadBitmap( 0, CurDir() +\"\\Level1.bmp\" ), ; // BitMaps de 14 x 32\nReadBitmap( 0, CurDir() +\"\\Level2.bmp\" ), ;\nReadBitmap( 0, CurDir() +\"\\Level3.bmp\" ), ;\nReadBitmap( 0, CurDir() +\"\\Level4.bmp\" ),;\nReadBitmap( 0, CurDir() +\"\\Level5.bmp\" ) }[/b:3lb3yj0d]\n\n\ninstead of this\n\n [b:3lb3yj0d]aHBitMaps:= { LoadBitmap( GetResources(), \"Level1\" ), ;\n LoadBitmap( GetResources(), \"Level3\" ), ;\n LoadBitmap( GetResources(), \"Level2\" ), ;\n LoadBitmap( GetResources(), \"Level4\" ), ;\n LoadBitmap( GetResources(), \"Level5\" ) }[/b:3lb3yj0d]",
"time": "15:48",
"topic": "Bitmap on listbox",
"username": "Silvio"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-13",
"forum": "FiveWin for Pocket PC",
"text": "Hi Silvio:\n[quote=\"Silvio\":1cc1oyfu]but why we cannot use bitmap at folder and we must use resources?\nPerhaps there is a bug on xharbour ce?[/quote:1cc1oyfu]Not such a bug, it was just an advice for portability.\n\n[quote=\"Silvio\":1cc1oyfu]I sad this because i try to use pp4 hand basic last year before to purchase fwppc and with it can use all in source , the last one you cannot use are dbf files instead of pdb files.[/quote:1cc1oyfu]?????\n\n[quote=\"Silvio\":1cc1oyfu]Manuel, when we can use your sbrowse and your sbutton in fwppc?[/quote:1cc1oyfu]No problem with TSBrowse, TSButton have problems with transparency and some non supported GDI functions.\n\n[quote=\"Silvio\":1cc1oyfu]I am sure U're working for us...[/quote:1cc1oyfu]Are you? <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nRegards.\n\nManuel Mercado",
"time": "17:00",
"topic": "Bitmap on listbox",
"username": "mmercado"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-08-13",
"forum": "FiveWin for Pocket PC",
"text": "Sorry Manuel \n\nFwppc perhaps not support GDI \n\n\nbut you can found helps from this <!-- m --><a class=\"postlink\" href=\"http://www.pocketpcdn.com/forum/index.php\">http://www.pocketpcdn.com/forum/index.php</a><!-- m -->\n\n\nOr you can see here : <!-- m --><a class=\"postlink\" href=\"http://www.pocketpcdn.com/articles/transparent_static.html\">http://www.pocketpcdn.com/articles/tran ... tatic.html</a><!-- m -->\n\nor here <!-- m --><a class=\"postlink\" href=\"http://www.codeproject.com/KB/mobile/transparent_controls.aspx\">http://www.codeproject.com/KB/mobile/tr ... trols.aspx</a><!-- m -->\n\n\n\n\nFor WinCE 2.0 and later you can the TransparentImage() instead of BitBlt which takes a COLORREF as its last parameter that is used as a transparency color\nHere's the function prototype for TransparentImage\n\nBOOL TransparentImage(HDC hdcDest, LONG DstX, LONG DstY, LONG DstCx, LONG DstCy, HANDLE hSrc, LONG SrcX, LONG SrcY, LONG SrcCx, LONG SrcCy, COLORREF TransparentColor ); \n\nIt may not do exactly what you want but it will give you a wider range to use as the transparent color\n\n\nfor sample I found How draw a circle in Transparency \n\n/// This will hold the data regarding the Transparency \n\n BLENDFUNCTION blendFunction; \n blendFunction.BlendOp = (byte)0x00; \n blendFunction.BlendFlags = (byte)0x00; \n blendFunction.SourceConstantAlpha = 210; \n blendFunction.AlphaFormat = (byte)0; \n //////////////////////////////////////////////////////////////////////////////// \n\n\n /////////// Draw the transpernt image \n\n if (0 == AlphaBlend(hdc, 0, BTStripY,DEVICEWIDTH,100, \n hcompdc, 0, 0, 48,20, blendFunction));",
"time": "17:22",
"topic": "Bitmap on listbox",
"username": "Silvio"
}
] |
Bitmap on listbox
|
[
{
"date": "2009-10-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "There was a report, confirmed by several people, that there exists a problem with the bitmaps / text on toolbars. When the buttons are first displayed, they are higher on the bar, but if you highlight them with the mouse, they will drop lower on the bar. \n\nThis was not fixed in 9.10. \n\nIs there a fix ?",
"time": "21:42",
"topic": "Bitmap on toolbar alignment not fixed in 9.10",
"username": "TimStone"
}
] |
Bitmap on toolbar alignment not fixed in 9.10
|
[
{
"date": "2009-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This seems a proper fix (Paint() method of TBtnBmp class):\n\n[code=fw:1ofkqx22]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lBarBtn</span><br /> ::<span style=\"color: #000000;\">l2007</span> = ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">l2007</span><br /> <span style=\"color: #00C800;\">IF</span> ::<span style=\"color: #000000;\">oFont</span> == <span style=\"color: #00C800;\">NIL</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span> != <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">cFaceName</span> != <span style=\"color: #ff0000;\">\"Tahoma\"</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-11</span><br /> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> oFont <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> ::<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Tahoma\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-11</span><br /> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> oFont <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> oFont <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oFont</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oFont</span> == <span style=\"color: #00C800;\">nil</span><br /> ::<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oFont</span> == <span style=\"color: #00C800;\">nil</span> .and. ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oFont</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">else</span><br /> ::<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oFont</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">endif</span></div>[/code:1ofkqx22]\n\nEMG",
"time": "17:57",
"topic": "Bitmap on toolbar alignment not fixed in 9.10",
"username": "Enrico Maria Giordano"
}
] |
Bitmap on toolbar alignment not fixed in 9.10
|
[
{
"date": "2009-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you. Perhaps it will be fixed in the next release. I don't like having to keep separate copies of classes because when other improvements are made we have to update the class manually. This is a known bug reported by several people.",
"time": "17:02",
"topic": "Bitmap on toolbar alignment not fixed in 9.10",
"username": "TimStone"
}
] |
Bitmap on toolbar alignment not fixed in 9.10
|
[
{
"date": "2009-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes, confirmed: it will be fixed in the next FWH release.\n\nEMG",
"time": "18:07",
"topic": "Bitmap on toolbar alignment not fixed in 9.10",
"username": "Enrico Maria Giordano"
}
] |
Bitmap on toolbar alignment not fixed in 9.10
|
[
{
"date": "2009-10-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you. It did fix the problem. Your help is appreciated.",
"time": "16:55",
"topic": "Bitmap on toolbar alignment not fixed in 9.10",
"username": "TimStone"
}
] |
Bitmap on toolbar alignment not fixed in 9.10
|
[
{
"date": "2020-04-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nCan I place bitmap on the xbrowse column header in the specified position ?",
"time": "10:55",
"topic": "Bitmap position",
"username": "Natter"
}
] |
Bitmap position
|
[
{
"date": "2020-04-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You can place either on left or right by specifying\n[code=fw:2vt712f6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oCol:<span style=\"color: #000000;\">nHeadBmpAlign</span> := AL_LEFT/AL_RIGHT<br /> </div>[/code:2vt712f6]\n\nIf you want to have a totally different look, you can paint the header yourself with \n[code=fw:2vt712f6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oCol:<span style=\"color: #000000;\">bPaintHeader</span> := <span style=\"color: #000000;\">{</span> |oCol,nRow, nCol, nHeight, lInvert, hDC, nGrpWidth, aBitmap| your func <span style=\"color: #000000;\">}</span><br /> </div>[/code:2vt712f6]",
"time": "17:11",
"topic": "Bitmap position",
"username": "nageswaragunupudi"
}
] |
Bitmap position
|
[
{
"date": "2008-08-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi to all!\r\nIt there a way to get the bitmap sizes (width & height) read by ReadBitmap() function ?\r\nTIA & Regards, Euclides",
"time": "14:37",
"topic": "Bitmap sizes",
"username": "Euclides"
}
] |
Bitmap sizes
|
[
{
"date": "2008-08-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nI think, that works.\r\nI used it in my old ONPAINT-function :\r\n\r\nnBMPWIDTH := oBmp:Super:nWidth() \r\nnBMPHIGHT := oBmp:Super:nHeight() \r\n\r\nBefore FWH 8.07, i used it for painting text on gradient-bmp's.\r\nWith FWH 8.07 it is easy to handle. \r\nIf you don't work with FWH 8.07, you can use this function.\r\n\r\nThe function includes some more informations, about\r\nBitmap-handling. Maybe you find something, you can use.\r\n\r\nFor this BMP, I had to do :\r\n\r\n[img:1kvobcgz]http://www.pflegeplus.com/pictures/gradient70.jpg[/img:1kvobcgz]\r\n\r\n[code:1kvobcgz]\n\n// using FWH-function : Gradient( hDC, aRect, nVColor, nBColor, .T. )\n// -----------------------------------------------------------------------\n// nVcolor = 1. Gradient-color\n// nBColor = 2. Gradient-color\n// nColor = Text-color\n// cText = String\n// e_oBfont2 = Font\n// B_Posleft = Left Start-pos. of text\n// B_Orient = Hor. / Vert.\n// B_Brush = Brush used if no gradient needed\n// B_pen = Box-frame\n// B_End = Row-position of browser-selection\n\nFUNCTION ONPAINTT( hDC,oBmp, nVcolor, nBColor, nColor, cText, ;\n e_oBfont2, B_POSLEFT, B_END,B_ORIENT, B_BRUSH, B_PEN )\nLOCAL hOldFont, oNewbrush\n\nhOldFont := SelectObject( hDC, e_oBFont2:hFont )\n\nnTXTLG := GettextWidth( hDC, cText ) \n\n// Your values !!!!\n// ------------------\nnBMPWIDTH := oBmp:Super:nWidth() \nnBMPHIGHT := oBmp:Super:nHeight() \n\nnFONTHIGHT := e_oBfont2:nInpHeight * -1 \n\nnLEFT := 0\nIF B_POSLEFT = 0\n nLEFT := nBMPHIGHT - ((nBMPHIGHT - nTXTLG) / 2) \nELSE\n nLEFT := nBMPHIGHT - nLeft\nENDIF\n\nnNEWHIGHT := nFONTHIGHT\n\nnTOP := (nBMPWIDTH - nNEWHIGHT) / 2\n\n// Browser selection ( brushes if not using colors )\n// ---------------------------------------------------------\nIF B_END = 8 \n DEFINE BRUSH oNewBrush STYLE BORLAND\nENDIF\nIF B_END = 9\n DEFINE BRUSH oNewBrush STYLE TILED \nENDIF\nIF B_END = 10\n DEFINE BRUSH oNewBrush STYLE BRICKS \nENDIF\nIF B_END = 12\n DEFINE BRUSH oNewBrush FILE B_BRUSH \nENDIF\n\naRect := GETCLIENTRECT( oBmp:hWnd )\n\nIF B_END <> 8 .and. B_END <> 9 .and. B_END <> 10 ;\n .and. B_END <> 12\n // Horizontal\n nGRADIENT := Gradient( hDC, aRect, nVColor, nBColor, .T. ) \n IF B_ORIENT = 2\n // Vertical\n nGRADIENT := Gradient( hDC, aRect, nVColor, BColor, .F. ) \n ENDIF\n oBmp:oBrush := TBrush():New( , nGRADIENT ) \nELSE\n oBmp:oBrush := oNewbrush \nENDIF\n\nFillRect( hDC, aRect, oBmp:oBrush:hBrush )\nSetBkMode( hDC, 0 ) // 1 = Transparent\n\nSetTextColor( hDC,nColor)\n\nTextOut( hDC, nLEFT, nTOP, cText ) \n\nSelectObject( hDC, hOldFont )\n\nIF B_PEN > 0\n DRAWBOX( aRect, hDC, nColor, nBMPWIDTH, nBMPHIGHT, B_PEN ) \nENDIF\n\nRETURN NIL\n\n[/code:1kvobcgz]\r\n\r\nBest regards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "15:31",
"topic": "Bitmap sizes",
"username": "ukoenig"
}
] |
Bitmap sizes
|
[
{
"date": "2008-08-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Euclides\":2xef24cg]Hi to all!\nIt there a way to get the bitmap sizes (width & height) read by ReadBitmap() function ?\nTIA & Regards, Euclides[/quote:2xef24cg]\r\n\r\nnBmpWidth( hBmp )\r\nnBmpHeight( hBmp )\r\n\r\nSource: \\fwh\\source\\function\\fwbmp.c",
"time": "16:43",
"topic": "Bitmap sizes",
"username": "nageswaragunupudi"
}
] |
Bitmap sizes
|
[
{
"date": "2008-08-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Uwe and NageswaraRao, thanks for the help.\r\nNageswaraRao´s info solved my problem\r\nRegards, Euclides",
"time": "02:18",
"topic": "Bitmap sizes",
"username": "Euclides"
}
] |
Bitmap sizes
|
[
{
"date": "2010-03-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello All,\n\nThis shows the string as bitmap in xbrowse:\n[code=fw:vxlqsk2w]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />..<br />cStr := BmpToStr<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span><br /><span style=\"color: #0000ff;\">xBrowse</span><span style=\"color: #000000;\">(</span> cStr <span style=\"color: #000000;\">)</span><br />..<br /> </div>[/code:vxlqsk2w]\nTrue and correct.\n\nbut If I use MsgInfo( cStr ).. shows only 'BM6$'.. Why?\nthe length is 4000 bytes..\n\nI tried MsgInfo( AnsiToOEM(cStr) ) .. or .. MsgInfo( OEMToAnsi(cStr) ).. but almost the same with only 4 chars..\n\nCan anybody explain please..\n\nRegards,\nFAP",
"time": "08:50",
"topic": "Bitmap to String",
"username": "fraxzi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "MsgInfo() can not show Binary Data and also some variables.\n\nXBrowse() function is different. It can show any kind of variable/data you can imagine. For quick debugging purposes during development, instead of MsgInfo, MsgList, etc, we can use xbrowse( uVar ). There can be no variable that XBrowse does not show in the appropriate way. It can even show objects as object inspector. You can try xbrowse( oWnd )",
"time": "10:43",
"topic": "Bitmap to String",
"username": "nageswaragunupudi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":wku3sp2o]MsgInfo() can not show Binary Data and also some variables.\n\nXBrowse() function is different. It can show any kind of variable/data you can imagine. For quick debugging purposes during development, instead of MsgInfo, MsgList, etc, we can use xbrowse( uVar ). There can be no variable that XBrowse does not show in the appropriate way. It can even show objects as object inspector. You can try xbrowse( oWnd )[/quote:wku3sp2o]\n\n\nDear RAO,\n\nI use xBrowse( uVar ) too for debugging unusual variable and even objects.\n\nMy purpose of using ' BmpToStr() -> bmpstring ', is to attach the bmpstring to sql command something like this..\n[code=fw:wku3sp2o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />..<br /><span style=\"color: #ff0000;\">\"Update table Set blobfield = Convert('\"</span> +bmpstring + <span style=\"color: #ff0000;\">\"', SQL_BINARY )\"</span> <span style=\"color: #B900B9;\">// => failed.</span><br />.. <br /> </div>[/code:wku3sp2o]\n\nIf I test it using something like this..\n[code=fw:wku3sp2o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />..<br /><span style=\"color: #ff0000;\">\"Update table Set blobfield = Convert( '1234567890' , SQL_BINARY )\"</span> <span style=\"color: #B900B9;\">// => success</span><br />..<br /> </div>[/code:wku3sp2o]\n\n\nI know there's adsFile2blob() but using SQL scalar Convert() or Cast() makes it more cleaner and simplified.\n\n\nBest regards,\nFAP",
"time": "02:04",
"topic": "Bitmap to String",
"username": "fraxzi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "If you are particular of using SQL update statement to set binary data, you may construct the sql statement as:\n\"UPDATE TABLE SET FLDNAME = 0x\" + StrToHex( <cBinaryData> )\nThis works for MSSql but I am not sure it works in ADS. You may try.\n\nIf we want to set directly from RDD it is simpler: ALIAS->FLDNAME := <cBinaryData>. No need to use blob functions.",
"time": "04:47",
"topic": "Bitmap to String",
"username": "nageswaragunupudi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-25",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":9zbr2xm0]If you are particular of using SQL update statement to set binary data, you may construct the sql statement as:\n\"UPDATE TABLE SET FLDNAME = 0x\" + StrToHex( <cBinaryData> )\nThis works for MSSql but I am not sure it works in ADS. You may try.\n\nIf we want to set directly from RDD it is simpler: ALIAS->FLDNAME := <cBinaryData>. No need to use blob functions.[/quote:9zbr2xm0]\n\nDear RAO,\n\nI tried..\n[code=fw:9zbr2xm0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">..<br /><span style=\"color: #ff0000;\">\"UPDATE TABLE SET FLDNAME = Convert( '0x'\"</span> + StrToHex<span style=\"color: #000000;\">(</span> BmpToStr<span style=\"color: #000000;\">(</span> oImg:<span style=\"color: #000000;\">hBitmap</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>+<span style=\"color: #ff0000;\">\"', SQL_BINARY) \"</span> <span style=\"color: #B900B9;\">//success!</span><br />..</div>[/code:9zbr2xm0]\n\nbut when..\n[code=fw:9zbr2xm0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">..<br /><span style=\"color: #0000ff;\">xBrowse</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">'Table'</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//no image displayed..</span><br />..</div>[/code:9zbr2xm0]\n\nIf I check the variable like this..\n[code=fw:9zbr2xm0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">..<br />cStr := BmpToStr<span style=\"color: #000000;\">(</span> oImg:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #0000ff;\">xBrowse</span><span style=\"color: #000000;\">(</span> cStr <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//image was displayed.. OK</span><br />..</div>[/code:9zbr2xm0]\n\nif I check the variable like this..\n[code=fw:9zbr2xm0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">..<br />cStr := StrToHex<span style=\"color: #000000;\">(</span>BmpToStr<span style=\"color: #000000;\">(</span> oImg:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//Or '0x'+StrToHex(BmpToStr( oImg:hBitmap )) </span><br /><span style=\"color: #0000ff;\">xBrowse</span><span style=\"color: #000000;\">(</span> cStr <span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">//apps crashed.. NO ERROR.</span><br />..</div>[/code:9zbr2xm0]\n\n\nmaybe '0x' for binary? I dont know.\n\n\nBest regards,\nFAP",
"time": "06:29",
"topic": "Bitmap to String",
"username": "fraxzi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear RAO,\n\nI tried to attached '0x' like '0x'+BmpToStr( oImg:hBitmap )\n\nbut with still not saving..\n\n\nRegards,\n\nFAP",
"time": "08:42",
"topic": "Bitmap to String",
"username": "fraxzi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Oh.\nWe shall find a way to do through SQL.\n\nTill then you are aware that adsFile2Blob(..) works and even much simpler way of \nALIAS->IMAGEFIELD := MemoRead( <ImageFile> ) works well.\nI prefer the last simpler method.\n\nThere is a sample at \n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=18396\">viewtopic.php?f=6&t=18396</a><!-- l -->\n\nMeanwhile let me also test the SQL way.",
"time": "10:48",
"topic": "Bitmap to String",
"username": "nageswaragunupudi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It appears it is not possible to do this in Streamline SQL ( Advantage SQL ) directly in the manner you wanted. Here is a posting from Advantage Forums on the same issue:\n[quote:id4cw39e]Hi Reinaldo,\n\nYou need to use parameters for binary data.\n\nBest Regards,\n\nLance Schmidt\nAdvantage R&D\n\n\"Reinaldo Crespo-Bazán\" <noname@microsoft.com> wrote in message \nnews:4a8b25d7@solutions.advantagedatabase.com...\n> Hi, again;\n>\n> I have the contents of a JPG file on a memory variable and would like to \n> store it on a binary field. Can someone help with the SQL syntax?\n>\n> Suppose the memory variable is cBuffer, then I'm looking for something \n> like:\n>\n> INSERT INTO MyTable(document) VALUES ( CAST(\" + cBuffer + \" AS \n> SQL_BINARY )\"\n>\n> Or better yet;\n>\n> INSERT INTO myTable(Document)\n> SELECT * FROM\n> OPENROWSET(BULK N'C:\\Image1.jpg', SINGLE_BLOB)\n>\n> Or\n>\n> INSERT INTO Mytable(document) VALUES(x'C9CBBBCCCEB9C8CABCCCCEB9C9CBBB')\n>\n> Thank you,\n>\n>\n> Reinaldo.\n> \n\n[/quote:id4cw39e]",
"time": "23:59",
"topic": "Bitmap to String",
"username": "nageswaragunupudi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"nageswaragunupudi\":1whlj2wc]It appears it is not possible to do this in Streamline SQL ( name of ADS SQL ) directly in the manner you wanted. Here is a posting from Advantage Forums on the same issue:\n[quote:1whlj2wc]Hi Reinaldo,\n\nYou need to use parameters for binary data.\n\nBest Regards,\n\nLance Schmidt\nAdvantage R&D\n\n\"Reinaldo Crespo-Bazán\" <noname@microsoft.com> wrote in message \nnews:4a8b25d7@solutions.advantagedatabase.com...\n> Hi, again;\n>\n> I have the contents of a JPG file on a memory variable and would like to \n> store it on a binary field. Can someone help with the SQL syntax?\n>\n> Suppose the memory variable is cBuffer, then I'm looking for something \n> like:\n>\n> INSERT INTO MyTable(document) VALUES ( CAST(\" + cBuffer + \" AS \n> SQL_BINARY )\"\n>\n> Or better yet;\n>\n> INSERT INTO myTable(Document)\n> SELECT * FROM\n> OPENROWSET(BULK N'C:\\Image1.jpg', SINGLE_BLOB)\n>\n> Or\n>\n> INSERT INTO Mytable(document) VALUES(x'C9CBBBCCCEB9C8CABCCCCEB9C9CBBB')\n>\n> Thank you,\n>\n>\n> Reinaldo.\n> \n\n[/quote:1whlj2wc][/quote:1whlj2wc]",
"time": "00:00",
"topic": "Bitmap to String",
"username": "nageswaragunupudi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear RAO,\n\nThank you so much for all your inputs and highlights.\n\nit seems [u:19jv0z1y]not possible at this time.[/u:19jv0z1y].\n\nI used:\n[code=fw:19jv0z1y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">..<br />ALIAS->IMAGEFIELD := uBinary <span style=\"color: #B900B9;\">//works ok.. but need to create index of table.. totally RDD style. it works ok..</span><br />..</div>[/code:19jv0z1y]\n\n\nIm still looking forward for the SQL way of handling binary/image objects..\n\n\nThank to so much..\nBest regards,\nFAP",
"time": "02:59",
"topic": "Bitmap to String",
"username": "fraxzi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Yes, I use this syntax \"ALIAS->IMAGEFIELD := uBinary \" \nThis is always very simple.",
"time": "03:08",
"topic": "Bitmap to String",
"username": "nageswaragunupudi"
}
] |
Bitmap to String
|
[
{
"date": "2010-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi.\nIf you want save file BMP into SQL table, you can use these functions:\nRegards\n\n[code=fw:3cnjl4pk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />cFileBmp := MEMOREAD<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"image.bmp\"</span><span style=\"color: #000000;\">)</span><br />txtBmp := Text2Hex<span style=\"color: #000000;\">(</span>cFileBmp<span style=\"color: #000000;\">)</span><br /><br />oData:<span style=\"color: #0000ff;\">Image</span> := txtBmp <span style=\"color: #B900B9;\">// save to blob field</span><br />...<br />...<br /><br />txtBmp := oData:<span style=\"color: #0000ff;\">Image</span> <span style=\"color: #B900B9;\">// read bmp file</span><br /><br />cFileBmp := Hex2Txt<span style=\"color: #000000;\">(</span>txtBmp<span style=\"color: #000000;\">)</span><br /><br />MEMOWRITE<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"image.bmp\"</span>, cFileBmp<span style=\"color: #000000;\">)</span> <br /><br />oBmp := LoadBmp<span style=\"color: #000000;\">(</span><span style=\"color: #ff0000;\">\"image.bmp\"</span><span style=\"color: #000000;\">)</span><br />....<br />..<br />.<br /><br /><br /><br /><br /><br /><span style=\"color: #B900B9;\">//-------------------------------------------------------------------------------------------</span><br /><span style=\"color: #00C800;\">Function</span> Text2Hex<span style=\"color: #000000;\">(</span>cFile<span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Str2Hex(cFile)</span><br /><span style=\"color: #00C800;\">local</span> nLen, nCont, cChr, cBin<br />cBin := <span style=\"color: #ff0000;\">\"\"</span><br />nLen := LEN<span style=\"color: #000000;\">(</span>cFile<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">FOR</span> nCont := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nLen<br /> cChr := <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">(</span>cFile, nCont, <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span><br /> cBin := cBin + STRTOHEX<span style=\"color: #000000;\">(</span>cChr<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">NEXT</span> nCont<br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">(</span>cBin<span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-------------------------------------------------------------------------------------------</span><br /><span style=\"color: #00C800;\">Function</span> Hex2Text<span style=\"color: #000000;\">(</span>cFile<span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Hex2Str(cFile)</span><br /><span style=\"color: #00C800;\">local</span> nLen, nCont, cChr, cBin<br />cBin := <span style=\"color: #ff0000;\">\"\"</span><br />nLen := LEN<span style=\"color: #000000;\">(</span>cFile<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">FOR</span> nCont := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nLen STEP <span style=\"color: #000000;\">2</span><br /> cChr := <span style=\"color: #0000ff;\">SUBSTR</span><span style=\"color: #000000;\">(</span>cFile, nCont, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><br /> cBin := cBin + HEXTOSTR<span style=\"color: #000000;\">(</span>cChr<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">NEXT</span> nCont<br /><br /><span style=\"color: #00C800;\">Return</span><span style=\"color: #000000;\">(</span>cBin<span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #B900B9;\">//====================================================================================================</span><br /><span style=\"color: #00D7D7;\">#pragma</span> BEGINDUMP<br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapi.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapiitm.h\"</span> <span style=\"color: #B900B9;\">//#include \"hbfast.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbstack.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbdefs.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbvm.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"hbapierr.h\"</span><br /><br />HB_ULONG HB_EXPORT hb_hextonum<span style=\"color: #000000;\">(</span>char *cHex<span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> HB_ULONG ulNum = <span style=\"color: #000000;\">0</span>;<br /> char c;<br /> int iDigit;<br /><br /> <span style=\"color: #00C800;\">while</span> <span style=\"color: #000000;\">(</span> *cHex && <span style=\"color: #000000;\">(</span>*cHex == <span style=\"color: #ff0000;\">' '</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> cHex++;<br /><br /> <span style=\"color: #00C800;\">while</span> <span style=\"color: #000000;\">(</span> *cHex <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> ulNum <<= <span style=\"color: #000000;\">4</span>;<br /><br /> c = *cHex;<br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> c >= <span style=\"color: #ff0000;\">'0'</span> && c <= <span style=\"color: #ff0000;\">'9'</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iDigit = c - <span style=\"color: #ff0000;\">'0'</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> c >= <span style=\"color: #ff0000;\">'A'</span> && c <= <span style=\"color: #ff0000;\">'F'</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iDigit = c - <span style=\"color: #ff0000;\">'A'</span> + <span style=\"color: #000000;\">10</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> c >= <span style=\"color: #ff0000;\">'a'</span> && c <= <span style=\"color: #ff0000;\">'f'</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iDigit = c - <span style=\"color: #ff0000;\">'a'</span> + <span style=\"color: #000000;\">10</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #000000;\">{</span><br /> ulNum = <span style=\"color: #000000;\">0</span>;<br /> <span style=\"color: #00C800;\">break</span>;<br /> <span style=\"color: #000000;\">}</span><br /> ulNum += iDigit;<br /> cHex++;<br /> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #00C800;\">return</span> ulNum;<br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> NUMTOHEX <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> int iDigit;<br /> char ret<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">33</span> <span style=\"color: #000000;\">]</span>;<br /> int iLen, iDefaultLen;<br /> HB_ULONG ulNum;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ISNUM<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iLen = hb_parni<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>;<br /> iLen = <span style=\"color: #000000;\">(</span> iLen < <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> ? <span style=\"color: #000000;\">1</span> : <span style=\"color: #000000;\"><span style=\"color: #000000;\">(</span></span> <span style=\"color: #000000;\">(</span> iLen > <span style=\"color: #000000;\">32</span> <span style=\"color: #000000;\">)</span> ? <span style=\"color: #000000;\">32</span> : <span style=\"color: #000000;\">iLen</span> <span style=\"color: #000000;\">)</span>;<br /> iDefaultLen = <span style=\"color: #000000;\">0</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #000000;\">{</span><br /> iLen = <span style=\"color: #000000;\">32</span>;<br /> iDefaultLen = <span style=\"color: #000000;\">1</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ISNUM<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> ulNum = hb_parnint<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> ISPOINTER<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> ulNum = <span style=\"color: #000000;\">(</span>HB_PTRDIFF<span style=\"color: #000000;\">)</span> hb_parptr<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #000000;\">{</span><br /> hb_errRT_BASE_SubstR<span style=\"color: #000000;\">(</span> EG_ARG, <span style=\"color: #000000;\">3012</span>, <span style=\"color: #00C800;\">NULL</span>, <span style=\"color: #ff0000;\">\"NUMTOHEX\"</span>, <span style=\"color: #000000;\">2</span>, hb_paramError<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>, hb_paramError<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">return</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> ret<span style=\"color: #000000;\">[</span> iLen <span style=\"color: #000000;\">]</span> = <span style=\"color: #ff0000;\">'<span style=\"color: #000000;\">\\0</span>'</span>;<br /> <span style=\"color: #00C800;\">do</span> <span style=\"color: #000000;\">{</span><br /> iDigit = <span style=\"color: #000000;\">(</span>int<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">(</span> ulNum & 0x0F <span style=\"color: #000000;\">)</span>;<br /> ret<span style=\"color: #000000;\">[</span> --iLen <span style=\"color: #000000;\">]</span> = iDigit + <span style=\"color: #000000;\">(</span> iDigit < <span style=\"color: #000000;\">10</span> ? <span style=\"color: #ff0000;\">'0'</span> : <span style=\"color: #ff0000;\">'A'</span> - <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>;<br /> ulNum >>= <span style=\"color: #000000;\">4</span>;<br /> <span style=\"color: #000000;\">}</span> <span style=\"color: #00C800;\">while</span> <span style=\"color: #000000;\">(</span> iDefaultLen ? ulNum > <span style=\"color: #000000;\">0</span> : <span style=\"color: #000000;\">iLen</span> > <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">)</span>;<br /><br /> hb_retc<span style=\"color: #000000;\">(</span> &ret<span style=\"color: #000000;\">[</span> iLen <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> HEXTONUM <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ! ISCHAR<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> hb_errRT_BASE_SubstR<span style=\"color: #000000;\">(</span> EG_ARG, <span style=\"color: #000000;\">3012</span>, <span style=\"color: #00C800;\">NULL</span>, <span style=\"color: #ff0000;\">\"HEXTONUM\"</span>, <span style=\"color: #000000;\">1</span>, hb_paramError<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">return</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> hb_retnint<span style=\"color: #000000;\">(</span> hb_hextonum<span style=\"color: #000000;\">(</span> hb_parc<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> STRTOHEX <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> char *cOutBuf;<br /> char *cStr;<br /> char *c;<br /> char *cSep = <span style=\"color: #ff0000;\">\"\"</span>;<br /> unsigned char ucChar;<br /> ULONG ul, ulLen, ulLenSep = <span style=\"color: #000000;\">0</span>;<br /> int iDigit;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ! ISCHAR<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> hb_errRT_BASE_SubstR<span style=\"color: #000000;\">(</span> EG_ARG, <span style=\"color: #000000;\">3012</span>, <span style=\"color: #00C800;\">NULL</span>, <span style=\"color: #ff0000;\">\"STRTOHEX\"</span>, <span style=\"color: #000000;\">2</span>, hb_paramError<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>, hb_paramError<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">return</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> ISCHAR<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> cSep = hb_parc<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>;<br /> ulLenSep = hb_parclen<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> cStr = hb_parc<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> ulLen = hb_parclen<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> c = cOutBuf = <span style=\"color: #000000;\">(</span>char*<span style=\"color: #000000;\">)</span> hb_xgrab<span style=\"color: #000000;\">(</span> ulLen * <span style=\"color: #000000;\">2</span> + <span style=\"color: #000000;\">(</span> ulLen - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> * ulLenSep + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /><br /> <span style=\"color: #00C800;\">for</span><span style=\"color: #000000;\">(</span> ul = <span style=\"color: #000000;\">0</span>; ul < ulLen; ul++ <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> ulLenSep && ul <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> memcpy<span style=\"color: #000000;\">(</span> c, cSep, ulLenSep <span style=\"color: #000000;\">)</span>;<br /> c += ulLenSep;<br /> <span style=\"color: #000000;\">}</span><br /><br /> ucChar = <span style=\"color: #000000;\">(</span>unsigned char<span style=\"color: #000000;\">)</span> cStr<span style=\"color: #000000;\">[</span> ul <span style=\"color: #000000;\">]</span>;<br /><br /> iDigit = <span style=\"color: #000000;\">(</span>int<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">(</span> ucChar & 0x0F <span style=\"color: #000000;\">)</span>;<br /> c<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span> = iDigit + <span style=\"color: #000000;\">(</span> iDigit < <span style=\"color: #000000;\">10</span> ? <span style=\"color: #ff0000;\">'0'</span> : <span style=\"color: #ff0000;\">'A'</span> - <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>;<br /><br /> ucChar >>= <span style=\"color: #000000;\">4</span>;<br /><br /> iDigit = <span style=\"color: #000000;\">(</span>int<span style=\"color: #000000;\">)</span> ucChar;<br /> c<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">]</span> = iDigit + <span style=\"color: #000000;\">(</span> iDigit < <span style=\"color: #000000;\">10</span> ? <span style=\"color: #ff0000;\">'0'</span> : <span style=\"color: #ff0000;\">'A'</span> - <span style=\"color: #000000;\">10</span> <span style=\"color: #000000;\">)</span>;<br /><br /> c += <span style=\"color: #000000;\">2</span>;<br /> <span style=\"color: #000000;\">}</span><br /> hb_retclen<span style=\"color: #000000;\">(</span> cOutBuf, c - cOutBuf <span style=\"color: #000000;\">)</span>;<br /> hb_xfree<span style=\"color: #000000;\">(</span> cOutBuf <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><br /><span style=\"color: #00C800;\">HB_FUNC</span><span style=\"color: #000000;\">(</span> HEXTOSTR <span style=\"color: #000000;\">)</span><br /><span style=\"color: #000000;\">{</span><br /> char *cOutBuf, *cStr;<br /> char c;<br /> int iByte, iFirst;<br /> ULONG ul, ulLen, ulPos, ulAlloc;<br /><br /> <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> ! ISCHAR<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> hb_errRT_BASE_SubstR<span style=\"color: #000000;\">(</span> EG_ARG, <span style=\"color: #000000;\">3012</span>, <span style=\"color: #00C800;\">NULL</span>, <span style=\"color: #ff0000;\">\"HEXTOSTR\"</span>, <span style=\"color: #000000;\">1</span>, hb_paramError<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #00C800;\">return</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> cStr = <span style=\"color: #000000;\">(</span>char *<span style=\"color: #000000;\">)</span> hb_parc<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> ulLen = hb_parclen<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /> ulAlloc = <span style=\"color: #000000;\">(</span>int<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">(</span> ulLen / <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span>;<br /> cOutBuf = <span style=\"color: #000000;\">(</span>char *<span style=\"color: #000000;\">)</span> hb_xgrab<span style=\"color: #000000;\">(</span> ulAlloc + <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span>;<br /><br /> ulPos = <span style=\"color: #000000;\">0</span>;<br /> iByte = <span style=\"color: #000000;\">0</span>;<br /> iFirst = <span style=\"color: #000000;\">1</span>;<br /><br /> <span style=\"color: #00C800;\">for</span> <span style=\"color: #000000;\">(</span> ul = <span style=\"color: #000000;\">0</span>; ul < ulLen; ul++ <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iByte <<= <span style=\"color: #000000;\">4</span>;<br /><br /> c = *cStr++;<br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> c >= <span style=\"color: #ff0000;\">'0'</span> && c <= <span style=\"color: #ff0000;\">'9'</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iByte += c - <span style=\"color: #ff0000;\">'0'</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> c >= <span style=\"color: #ff0000;\">'A'</span> && c <= <span style=\"color: #ff0000;\">'F'</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iByte += c - <span style=\"color: #ff0000;\">'A'</span> + <span style=\"color: #000000;\">10</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> c >= <span style=\"color: #ff0000;\">'a'</span> && c <= <span style=\"color: #ff0000;\">'f'</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> iByte += c - <span style=\"color: #ff0000;\">'a'</span> + <span style=\"color: #000000;\">10</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> <span style=\"color: #000000;\">{</span><br /> <span style=\"color: #00C800;\">continue</span>;<br /> <span style=\"color: #000000;\">}</span><br /><br /> iFirst ^= <span style=\"color: #000000;\">1</span>;<br /> <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">(</span> iFirst <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #000000;\">{</span><br /> cOutBuf<span style=\"color: #000000;\">[</span> ulPos++ <span style=\"color: #000000;\">]</span> = <span style=\"color: #000000;\">(</span>char<span style=\"color: #000000;\">)</span> iByte;<br /> iByte = <span style=\"color: #000000;\">0</span>;<br /> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #000000;\">}</span><br /> hb_retclen<span style=\"color: #000000;\">(</span> cOutBuf, ulPos <span style=\"color: #000000;\">)</span>;<br /> hb_xfree<span style=\"color: #000000;\">(</span> cOutBuf <span style=\"color: #000000;\">)</span>;<br /><span style=\"color: #000000;\">}</span><br /><br /><span style=\"color: #00D7D7;\">#pragma</span> ENDDUMP<br /><br /><br /> </div>[/code:3cnjl4pk]",
"time": "16:04",
"topic": "Bitmap to String",
"username": "Willi Quintana"
}
] |
Bitmap to String
|
[
{
"date": "2007-09-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "estimados compañeros\n\nQuiero hacer un toolbar con bmp desde RC con estilo Wxp, pero no consigo hacer transparentes los Bitmap\n\n¿ Como es posible ?\nMil gracias\nUn saludo a todos!",
"time": "10:33",
"topic": "Bitmap transparentes en toolbar",
"username": "Loren"
}
] |
Bitmap transparentes en toolbar
|
[
{
"date": "2007-09-30",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Encontre la solución\n\nsimplemente era insertando RGB(255,255,255).. Yo lo tenía como RGB(255,0,255)\n\nMil gracias",
"time": "10:38",
"topic": "Bitmap transparentes en toolbar",
"username": "Loren"
}
] |
Bitmap transparentes en toolbar
|
[
{
"date": "2008-11-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muy buenas foro, estoy intentando tener un xBrowse con array con la 1ª columna con un bitmap (Sin texto solo el bitmap) y cuando haga doble click en la fila me cambie el bitmap (la columna es boolean) y cambie el valor en el array.\r\n\r\n¿Como podría hacerlo?\r\n\r\nUn Saludo.",
"time": "10:17",
"topic": "Bitmap y XBrowse",
"username": "softruz"
}
] |
Bitmap y XBrowse
|
[
{
"date": "2008-11-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Buenas Softruz <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> :\r\n\r\n\r\nTo tengo un ejemplo (que me solucionaron ayer) donde lo hago, es un array con una columna booleana que muestra un bitmap si es un valor u otro, para cambiar las imagenes con un doble click del raton hago lo siguiente:\r\n\r\n[code:1f92bb6a]\n oTbrOut:bLDblClick:={|| aSalidas[oTbrOut:nArrayAt,2]:=!aSalidas[oTbrOut:nArrayAt,2],oTbrOut:refresh() }\n[/code:1f92bb6a]\r\n\r\nEspero que te sirva.\r\n\r\nSaludos",
"time": "10:47",
"topic": "Bitmap y XBrowse",
"username": "Mike Serra"
}
] |
Bitmap y XBrowse
|
[
{
"date": "2008-11-19",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Muchas gracias, lo he probado y totalmente funcional.\r\n\r\nUn Saludo.",
"time": "11:03",
"topic": "Bitmap y XBrowse",
"username": "softruz"
}
] |
Bitmap y XBrowse
|
[
{
"date": "2009-10-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola amigos,,,\nComo hago para que xbrowse me muestre un bitmap y un texto combinado, parecido al btnbmp,,, la data lo tengo en una array, y dependiendo de la condicion del dato del array, debe mostrar 1 de 3 bitmaps,,,\n\nSalu2",
"time": "03:11",
"topic": "Bitmap y texto combinado en XBROWSE",
"username": "Willi Quintana"
}
] |
Bitmap y texto combinado en XBROWSE
|
[
{
"date": "2009-10-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Willi,\n\nNo se si es esto lo que quieres hacer\n[quote=\"Carles\":36ao9qm2]\nPiensa que con el nuevo metodo ::bPaintText puedes controlar toda la celda y pintar lo que te de la gana\n\n[url=http://imageshack.us:36ao9qm2][img:36ao9qm2]http://img123.imageshack.us/img123/3538/browsezc7.jpg[/img:36ao9qm2][/url:36ao9qm2][/quote:36ao9qm2]\n\n\n[url:36ao9qm2]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=13533[/url:36ao9qm2]",
"time": "11:56",
"topic": "Bitmap y texto combinado en XBROWSE",
"username": "Carles"
}
] |
Bitmap y texto combinado en XBROWSE
|
[
{
"date": "2009-12-29",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Compañeros:\n\nIntento mostrar [b:1l63pi5v]en una misma celda [/b:1l63pi5v]de un listbox un bitmap + un texto. \nHasta ahora muestro el texto o el bitmap pero no consigo unir los 2 en una misma celda. ¿Es posible?\n\nMil gracias.\nLORENZO.",
"time": "17:29",
"topic": "Bitmap+cText en una Celda de un listbox",
"username": "Loren"
}
] |
Bitmap+cText en una Celda de un listbox
|
[
{
"date": "2010-01-05",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Lorenzo,\nCreo se puede hacer con xbrowse y tsbrowse, con twbrowse de hdc no se puede, la unica forma es haciendo un bitmap con la imagen y el texto y desplegarlo como bitmap\nsalu2\npaco",
"time": "23:07",
"topic": "Bitmap+cText en una Celda de un listbox",
"username": "Francisco Horta"
}
] |
Bitmap+cText en una Celda de un listbox
|
[
{
"date": "2008-09-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nThere are still some little problems in the new\r\nxbrowse-tools, i couldn't fix.\r\n\r\nIt is possible now, to have a real big preview with a database\r\nof all used settings.\r\nBecause i can change the color of the RECORD-SELECTOR,\r\ni have to add a new BITMAP for the pointer as well.\r\nI couldn't find out, what format and colors for the bitmap i have to use.\r\nI tested everything, Bitmaps are not shown transparent.\r\nIt is the same NON-transparent effect like Cellbitmaps on Brushes.\r\nIn this sample, the best result would be a white Arrow.\r\nThe xBrowse-class uses :\r\n \r\n::hBmpRecSel := FwRArrow()\r\n\r\nI think, FwRArrow() does the handling of the background.\r\nI couldn't find the function ( is not included in the source ).\r\n\r\n[code:2tl7oj1h]\n\n// BRSELECT2 = Bitmap\n// SELCOLOR2 = Color of Rec-Selector\n\nIF !EMPTY( BRSELECT2 )\n oBmp := ReadBitmap( 0, BRSELECT2 )\n oBrw:hBmpRecSel( oBmp )\nENDIF\nDEFINE BRUSH oBrush COLOR SELCOLOR2 \noBrw:hBrushRecSel( oBrush )\nRELEASE BRUSH oBrush\n\n[/code:2tl7oj1h]\r\n\r\n[img:2tl7oj1h]http://www.pflegeplus.com/pictures/selector4.jpg[/img:2tl7oj1h]\r\n\r\nA Bitmap size : 9 x 15\r\n\r\n[img:2tl7oj1h]http://www.pflegeplus.com/pictures/selector3.jpg[/img:2tl7oj1h]\r\n\r\nHow can i get a transparent symbol ?\r\nIt is not the same, like the bitmaps in cells.\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "13:33",
"topic": "Bitmap-Format of Record-selector in xBrowse ?",
"username": "ukoenig"
}
] |
Bitmap-Format of Record-selector in xBrowse ?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.