topic
stringlengths
1
63
text
stringlengths
1
577k
que lib tiene la funcion isEmpty?
[quote="goosfancito":13ffhget]Eso. Gracias.[/quote:13ffhget]Goos,de xharbour,hb_isnull()hb_isnil()
que motor puedo usar de datos?
Hola. Estoy desarrollando una aplicacion basica y necesitaría utilizar una base de datos, la aplicacion esta creada en windows y va a utilizar WINE para correr en mac- Que motor (base de datos) puedo usar? gracias.
que no se vea el cursor
Hola Amigos: quiero que no se vea el cursor del teclado dentro de un get. Alguien sabe con que instruccion desaparece el cursor del teclado. Gracias. Saludos Leonor
que no se vea el cursor
Leonor, HideCaret( <oGet>:hWnd )
que parametro uso para que me muestre la linea con el error?
hola. Antes de usar el script me mostraba donde se producia el error, peo ahora no: [code=fw:1324aj8g]<div class="fw" id="{CB}" style="font-family: monospace;"> Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</sp...
que parametro uso para que me muestre la linea con el error?
[code=fw:ld641qmg]<div class="fw" id="{CB}" style="font-family: monospace;"><br />xHarbour <span style="color: #000000;">1.2</span><span style="color: #000000;">.3</span> Intl. <span style="color: #000000;">&#40;</span>SimpLex<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span>Build <sp...
que pasa que nadie ayuda
me aburri de estar interpretando o que deberia salir por defecto en un manual, es claro que uno no conoce ni el 20% de fivewin, me molesta tener que depender que alguien me diga que hacer, siendo que esto deberia estar claramente definido, estimado Antonio, con esta forma de operar, es dificil, que esta tremenda herram...
que pasa que nadie ayuda
Ten en cuenta que estas usando una version de FW tremendamente vieja, que tiene por lo menos 3 años. Tambien comprende que las personas que colaboran en este foro no estan aqui todo el dia esperando nada mas a que hora aparece una duda para resolverla inmediatamente, atendemos cuando tenemos tiempo y humor de hacerlo....
que pasa que nadie ayuda
Luis, A que error te refieres ? Por favor indica un ejemplo que reproduzca el problema para que podamos ayudarte.
que pena nadie responde 36 visitas y 11 visitas a temas
que pena que nadie responda a una consulta, si existiera mejor y mayor documentacion sobre los temas que recien pregunte no haria uno el loco por aca, lo de verce lo entiendo, total es un tremendo aporte y gratis.. pero no todos conocen los trucos de estas herramientas de fivewin, dada su pobre o nula documentacion... ...
que pena nadie responde 36 visitas y 11 visitas a temas
Para empezar, No firmas tus post. Lo del Verce, hay muchos colegas que lo usan y si postearas tus dudas mas en concreto se te ayudaría, por otro lado, es un Gran Foro el que tienes a disposición y con hacer búsquedas en el foro podrían resolverse un mundo de dudas, el histórico de preguntas y respuestas de este GRAN F...
que pena nadie responde 36 visitas y 11 visitas a temas
Hola (como te llames): Mucho ayudaría si completaras los datos de tu perfil de usuario, si te fijas la mayoría de los miembros de este foro estamos plenamente identificados y mostramos una dirección de correo a donde podemos recibir información o ayuda si ese fuera el caso. Por lo demás, tanto un servidor como, estoy...
que pena nadie responde 36 visitas y 11 visitas a temas
Por cierto, te envie lo que requerias y tu correo me devolvio el envio,, dice que esta lleno,,, o acaso ya no esta vigente... de otro lado,,, no es la forma de hacer un reclamo, aqui todos tenemos buena voluntad, y merecemos respeto,,, Salu2
que pena nadie responde 36 visitas y 11 visitas a temas
saludos amigo, uso verce y lei tu post pero lo primero que vi es que no tenias nombre asi que me abtuve de contestarte, segundo vi que estas en el foro desde el 2006 y solo has posteado 32 post, es decir tu precisamente no se puede decir que ayudas a los demas y casi siempre y conozco personalmente a varios que no voy ...
que pena nadie responde 36 visitas y 11 visitas a temas
Mira mi caso es distinto al de QAZWSX2K ya que he recibido mas ayuda de la que he dado, ya que mi nivel no es gran cosa . Pero lo que si puedo decirte en todos estos años que cuando he tenido problemas consulté y siempre pude solucionar los problemas planteados. A veces con algunos días de atraso, pero he podido progre...
que tamaño debe tener un campo que guarda un CHECKSUM?
Eso. Necesito saber para generar en una tabla que tamaño tengo que ponerle para que almacene el numero checksum campo, numerico, .... gracias.
que tamaño debe tener un campo que guarda un CHECKSUM?
Mira se és esto: <!-- m --><a class="postlink" href="http://en.wikipedia.org/wiki/Checksum">http://en.wikipedia.org/wiki/Checksum</a><!-- m --> salu2
que tamaño debe tener un campo que guarda un CHECKSUM?
Goos, La función para el cálculo del checksum lo decidís vos, entonces vos sabrás que resultados dá la función que usas, tanto en tipo como en longitud. Si usas MD5, que es bastante conocida, yo lo definiría como C(16), o si usas la funcion que ya viene en Harbour, HB_MD5 te la devuelve hexadecimal, es decir C(32).
queriendo iniciar con fivelinux
Antonio, tengo linux red hat version 9 , al intentar construir el tutor01 me da este error compiling... ./../../harbour/bin/harbour: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./../../harbour/bin/harbour) compiling C module... gcc: tutor01.c: No existe el fichero o el directorio gcc: no hay fichero...
queriendo iniciar con fivelinux
Wilson, Prueba lo siguiente desde una ventana de consola: sudo yum install glibc sudo yum install gtk2-devel sudo yum install libgnomeprintui22-devel
queriendo iniciar con fivelinux
Antonio, gracias ya sse instalaaron esass librerias, ahora me sale este otro error compiling... Harbour devel build 1.1-1 Intl. Copyright 1999-2007, <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m --> Compiling 'tutor01.prg'... Lines 1015, Functions/Proced...
queriendo iniciar con fivelinux
Wilson, Te falta el compilador de C. Es raro que no venga incluido: sudo yum install gcc Para el teclado, no se. Yo te recomiendo usar Ubuntu. En la opinión de muchos es el Linux más amigable y más fácil de configurar, y posiblemente el que mejor soporte técnico y actualizaciones ofrece.
queriendo iniciar con fivelinux
gracias Antonio, tengo un problema y es que el teclado dejo de funcionar en la parte grafica, tengo instalado centos 5 en mi laptop virtualizado con Microsoft Virtual Pc 2007 que estan regalando Voy a ver si vuelco a instalar todo con ubunto, aunque en mi laptop no arranco me voy a bajar la version 7 Gracias x todo ...
queriendo iniciar con fivelinux
Ubuntu es excelente. En la opinión de muchos, es el Linux con más futuro <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
queriendo iniciar con fivelinux
Antonio, ahora ya estoy con Ubuntu 7.04 lo instale con vmware player, ya instale la secuencia de programas: sudo apt-get install libgtk2.0-dev sudo apt-get install gcc sudo apt-get install libncurses5-dev sudo apt-get install libgpmg1-dev sudo apt-get install libgnomeprintui2.2-dev ahora obtengo este error Harbour...
queriendo iniciar con fivelinux
Wilson, sudo apt-get install glade-2
queriendo iniciar con fivelinux
Antonio, gracias EXITO TOTAL!!!! ya compile , estoy muy emocionado, gracias nuevamente existe un programa que viene con ubuntu llamado Synaptic Package Manager con ese he resuelto todos esos problemas !!! la verdad que esto se ve oK por cierto de mis experiencias de esto Microsoft Virtual Pc es un fraude no funciona, ...
queriendo iniciar con fivelinux
Wilson, Bien! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Yo tambien prefiero vmware, aunque tengo instalados multiples sistemas operativos en el ordenador, ya que asi usas Linux a su velocidad real. En el ordenador tengo tres discos duros internos: uno para Vista/XP...
query on mdb
I made the listbox of the products ( see the picture) of a MDB I want show the name of each category and subcategory and not the number How I can made for search on category table the description and insert on listbox ? I made : [code:vgxjdthx] IF oDb != NIL &#46;AND&#46; oDb&#58;State == adStateOpen ...
question about DataRow
Hello, In DataRow, it is possible to have all logical fields of a recordset to be set to .t.? For example, with an eval. Thank you very much. Greetings.
question about DataRow
[code=fw:26dcuks7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">for</span> n := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> oRec:<span style="color: #000000;">FCount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;"...
question about Dates
Hello, I have the following string: Fri, 08 Aug 2008 19:25:01 GMT How can I get only date in dd-mm-yyyy format?. Is possible?. Thank you very much.
question about Dates
[code=fw:9qwwpd49]<div class="fw" id="{CB}" style="font-family: monospace;">SET DATE ITALIAN<br />SET CENTURY <span style="color: #0000ff;">ON</span><br />? &nbsp;uCharToVal<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"08 Aug 2008"</span>, <span style="color: #ff0000;">"D"</span> <span style...
question about Dates
Thank you. But the string is Fri, 08 Aug 2008.
question about Dates
Even that string also works. Please try using the function with different combinations. Just make sure that the time stamp is not included. eg. October 23rd 2001 works In the next revision any strings will be handled.
question about Dates
Mr. Rao, Thank you very much. The help file is very small: Syntax: uCharToVal( <cExpression>, <uType> ) --> uValue Parameters: <cExpression> A string expression to be converted to a specific type. <uType> It is value, whose type determines the kind of conversion we want...
question about Dates
Now in the revised build of FWH 11.05, even expressions like 'Fri, 08 Aug 2008 19:25:01 GMT' are handled.
question about Folders
Hi, I would like to create a message via msgalert() when the user clicks on a specific Tab of a Folder, only for one I indicate. How can it be done?. Thanks <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":...
question about Folders
[code=fw:3ona89nm]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oFolder:<span style="color: #000000;">bChange</span> := <span style="color: #000000;">&#123;</span> |nOption,nOldOption| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> nOption == <span style="color: #000...
question about Folders
Thank you <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> It works fine.
question about Menu and permisions
Hi I would like to introduce a permission´s control for users in the menu´s option. ¿Is there a way to obtain the Array with all the items of the Menu?. My Menu is like this: MENU oMenu MENUITEM "&Ficheros" MENU MENUITEM "&Auxiliares" MENU MENUITEM OemToAnsi( "C¢digos P&ostales" ) ; RESOURCE "MNUPOSTAL" ; ACTION...
question about Menu and permisions
I only define menu items that the user has access to. I think this is better than disabling menu items. When menu items are disabled then the user wonders why, or if they know why then it is kind of an insult. So, I have a set/get function that stores a copy of the user object. Then you can retrieve the user object an...
question about Menu and permisions
Dear MgSoft, In my application I am using Menu's based on User's permission. I am using MySQL. I have the following tables Table Menu (Contains all menu items available in my application) -------------- Menu ID Menu Item Menu Action Menu BMP REsource Name Menu Message Table USers ( All users ) ----------- USer C...
question about Menu and permisions
[quote="mgsoft":3drq4up4]Hi I would like to introduce a permission´s control for users in the menu´s option. ¿Is there a way to obtain the Array with all the items of the Menu?. My Menu is like this: MENU oMenu MENUITEM "&Ficheros" MENU MENUITEM "&Auxiliares" MENU MENUITEM OemToAnsi( "C¢digos P&ostales" ) ; RESO...
question about Menu and permisions
[quote:3dnu9qgo]¿Is there a way to obtain the Array with all the items of the Menu?.[/quote:3dnu9qgo] oMenu:aItems() -> returns an array of menu items as objects James
question about Menu and permisions
Thank you very much. Anserkk, how do you group Menus in xBrowse?. And how do you set on /off permisions?. Thanks <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
question about Menu and permisions
MgSoft, Sorry, I forgot to mention about an important column named Parent Menu ID in the Menu Table. This will help me to group the menu's in xBrowse as well as while creating Menu and SubMenu's Objects Table Menu (Contains all menu items available in my application) -------------- Menu ID Menu Item Menu Action Menu ...
question about Scopes
Hello, I have a database with tree indexes, code, name and state: CUSTOMER.DBF CODE NAME ADDRESS PHONE STATE I would like to set an Scope as an alternative to SET FILTER to xbrowse customers in state = "NY", instead of using: [code=fw:3fqsrtdv]<div class="fw" id="{CB}" style="font-family: monospace;">SET FILTER <sp...
question about Scopes
You have to create an index state+code_number and use the scope the way you did. The result will be shown order by code_number for the scoped state.
question about Scopes
Thank you. So I have to change SET ORDER TO 3. That is what I wanted to avoid. Thanks
question about Scopes
If you dont wat to change your index you might reopen you dbf with another alias set its order to 3, scope it, browse what you need and close it when finished.
question about Scopes
Why do you want to avoid that? If you not using the index on 'state' somewhere else in your program, you can change the index 3 to state+code_number, otherwise you can add a 4th index and use tis one for your scope. Marc
question about Scopes
Marc, As it is runned in a network eviroment. Thanks for helping <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
question about Scopes
>As it is runned in a network environment. Why does that matter? If you are concerned about speed, then I expect it is still going to be way faster than a filter. Regards, James
question about TDataRow [answered]
Hello, I load a record using TDataRow() -TDataRow():New( alias() )-, but I need to search in all the fields for a specific value: i don´t know the field there this value is. Is it possible?. Thank you.
question about TDataRow [answered]
You must be aware that TDataRow operates on a single record. TDataRow has DATA aData, which is a multi-dim array. First column is field name and second column is value of the field. oRec := TDataRow():New( [cAlias] ) oRec:aData[ n, 1 ] --> nth field name oRec:aData[ n, 2 ] --> nth field value. You can search for w...
question about TDataRow [answered]
Thank you.
question about new 7.12 ( xbrowse and msgitem)
this is a image of my application and I have some graphics errors the first U can see the arrow on the header of xbrowse : all not are trasparent then there is an image on msgiten the space of each iten not is with the brush of 2007 style How to correct it ? [url=http&#58;//img404&#46;imageshack&#46;us/my&#46;php?...
question about new 7.12 ( xbrowse and msgitem)
Antonio, I have the same problem with btnbmp I have rem line 790 and I have insert these lines Gradient( ::hDC, { 0, 0, ::nHeight / 4, ::nWidth },; If( ! ::lMOver, nRGB( 219, 230, 244 ), nRGB( 255, 253, 222 ) ),; If( ! ::lMOver, nRGB( 207, 221, 239 ), nRGB( 255, 231, 151 ) ), .T. ) ...
question about new 7.12 ( xbrowse and msgitem)
Silvio, We have just published a new FWH 7.12 build with the transparent bitmaps painting and optional 2007 look for XBrowse. Please review the Class TXBrowse source for TransBmp() and use it in your Class TBtnBmp modifications. Thanks,
question about new 7.12 ( xbrowse and msgitem)
have you correct only fwh ? I must download only fwh new ?
question about new 7.12 ( xbrowse and msgitem)
Antonio I recompiled with the last lib but there is an error : I made a xbrowse with bitmaps on header tosayto user wich field index on the header of Xbrowse I not see the bitmaps when I click on each header I can see the bitmap on the left of the records this is a part of my code oCol:= oApp():oGrid:AddCol() ...
question about new 7.12 ( xbrowse and msgitem)
Silvio, Fixed. We are uploading a new FWH 7.12 build. It will be ready to download in just some minutes <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Please remember to set RGB( 255, 0, 255 ) as the color for the transparent area of the bitmaps Thanks! [url=http&#58;...
question about new 7.12 ( xbrowse and msgitem)
Antonio, thanks but the link is too slow... I must go to school this morning..I 'll try from there ....wait me!!
question about xBrowse
Hello, I have a dbf with 10 fields but I only indicate 2 in xbrowse. [code=fw:16bx6x1h]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">210</s...
question about xBrowse
This is the recommended way [code=fw:3d2uah4a]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">ID</span> <span style="color: #000000;">210</span> <span style="color: #0000ff;">OF</span>...
question about xBrowse and Fastedit
Hello, I want to set on Fast Edit to edit a cell by pressing Enter. But if I press double click, I want to execute an action: [code=fw:2xpgtbhh]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; oBrw:<span style="color: #000000;">blDblClick</span> := <span style="color: #000000;">&#123;</span> || msga...
question about xBrowse and Fastedit
[quote:36jit58m]I want to set on Fast Edit to edit a cell by pressing Enter. [/quote:36jit58m] Enter key any way triggers edit, whether fast edit is set to true or not if the column's nEditType > 0 [quote:36jit58m]if I press double click, I want to execute an action:[/quote:36jit58m] oCol:bLDClickData := { |r,c,f,oCol...
question about xBrowse and Fastedit
Thank you for so quick reply. I define the xBrowse @ 0,0 XBROWSE oBrw OF oWnd AUTOCOLS ALIAS "CUSTOMER" CELL LINES I insert: oBrw:nEditTypes := EDIT_GET // insert this line oBrw:lFastEdit := .t. So when I press enter, I edit the field. If I press enter again, I move to next field. That is perfect. But i...
question about xBrowse and Fastedit
[quote:37h2egb7]So that is why I used oBrw:blDblClick But it is ignored. Double click edits the field. I want to invoke my function. [/quote:37h2egb7] That is what I advised you about in my previous post. Please do not use oBrw:bLDblClick. This is not the preferred way of specifying double click action for xbrowse. ...
question about xBrowse and Fastedit
Thanks a lot, it works perfect. I see that there are old features that should not be used. Please, when you have time it will be very interesing a fixed topic about best practices with xBrowse, shown at the top of forums (like How to do my question?). Thanks again.
question for a source conversion
A long time ago I created a dialog with two different xbrowse but with the same archive using Tdatabase as you can see in this picture [img:uritv4d4]https&#58;//i&#46;postimg&#46;cc/nhJtcQ7Y/jj&#46;png[/img:uritv4d4] Now I would like to create the same thing but using the traditional dbf i.e. without tdatabase i.e. i...
question for trichedit
Dear Antonio (or dear all) I wish as U some questions on trichedit class only 8 small question ... because I need it for a application and I compiled the testrtf,prg to see what I have and I rewrite a small rtfpad (from testrtf.prg) [img:3mmtj5kj]http&#58;//www&#46;eoeo&#46;it/wp-content/uploads/2015...
question for trichedit
Silvio [b:39p5jjux][u:39p5jjux]4 Question[/u:39p5jjux][/b:39p5jjux] [url=http&#58;//postimage&#46;org/:39p5jjux][img:39p5jjux]http&#58;//s31&#46;postimg&#46;org/j64p5vjzv/0024&#46;png[/img:39p5jjux][/url:39p5jjux] In TESTRTF.PRG [code=fw:39p5jjux]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /...
question for trichedit
Silvio, try with [b:1qms83yf]1 Question[/b:1qms83yf] [code=fw:1qms83yf]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">METHOD</span> SaveToFile<span style="color: #000000;">&#40;</span> cFileName <span style="color: #000000;">&#41;</span> <span style="color: #00C800...
question for trichedit
Cristobal, run good thanks !!! only how I can show on rtf the word find (before to recplace) I thinked to use isselection but not run ...any idea ?
question for trichedit
[quote="cnavarro":2h53eiiq]Silvio, try with [b:2h53eiiq]1 Question[/b:2h53eiiq] [code=fw:2h53eiiq]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">METHOD</span> SaveToFile<span style="color: #000000;">&#40;</span> cFileName <span style="color: #000000;">&#41;</span> ...
question for trichedit
Silvio SaveToFile method, use MemoWrite, and not use Methods SaveAsRTF and not use SaveToRTF I misunderstood what you need?
question for trichedit
[quote="Silvio.Falconi":ynbzz34s]Cristobal, run good thanks !!! only how I can show on rtf the word find (before to recplace) I thinked to use isselection but not run ...any idea ?[/quote:ynbzz34s] Silvio Modify Method Replace Find all words, and change color or style before replace
question for trichedit
Silvio [b:34nxalbq][u:34nxalbq]8 Question[/u:34nxalbq][/b:34nxalbq] You can not use Copy and Paste?
question for trichedit
Silvio [b:1famn2jm][u:1famn2jm]2 Question[/u:1famn2jm][/b:1famn2jm] Modify [code=fw:1famn2jm]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">METHOD</span> SetAttribute<span style="color: #000000;">&#40;</span> lBold, lItalic, lUnderline, lStrikeOut, lOnOff, lLink <...
question for trichedit
I saw but not run ok on richedit,ch I add #define CFE_SUBSCRIPT 0x00010000 /* Superscript and subscript are */ #define CFE_SUPERSCRIPT 0x00020000 /* mutually exclusive */ #define CFM_HIDDEN 0x0100 #define CFM_LINK 0x00000020 /* Exchange hyperlink extension */ #def...
question for trichedit
Silvio, I think we should make a unique setAttribute function and include all
question of tDataRow
Hello, I need to search for a value in all fields of the record, because I don´t know the concrete field to look for. Is there a way to search a value in the entire contents of the fields of the record?. Thank you. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
question of tDataRow
Do you want to find which field of datarow object contains a search string? If that is what you want: [code=fw:31vgit65]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> FieldContaining<span style="color: #000000;">&#40;</span> oRec, cText <span style="color: #00000...
question of tDataRow
Mr. Nages, Thank you. The function always returned me blank, but I modified in this way: function FieldContaining( oRec, cText ) return ( AScan( ArrTranspose( oRec:aData )[ 2 ], { |a| cText $ cValToChar( a ) } ) ) So, I check if its 0 (not found) or > 0, found. Thanks <!-- s:D --><img src="{SMILIES_PATH}/icon...
question on how to delete ""tab"" of Tfolder
Hello everybody, I am not a professional programmer, doing programming as a hobby. Recently, I am interested in TFolder class since I were allowed to maniplulate part of screen without changing whole screen. To maximize it's usage, I tried to delete 'tab' parts, but, it generated 'error'. REDEFINE FOLDER oFolder ID ...
question on how to delete ""tab"" of Tfolder
Hello Kim, please have a look at FWH\samples\[color=#FF0000:2nb6rflc]Genfold.prg[/color:2nb6rflc] As well You can also Enable / Disable a Folder-page : oFld:aEnable = { .t., .t., .f., .f. } // .t. = enable, .f. = disable Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /...
question on how to delete ""tab"" of Tfolder
[quote="ukoenig":siewu6hh]Hello Kim, please have a look at FWH\samples\[color=#FF0000:siewu6hh]Genfold.prg[/color:siewu6hh] As well You can also Enable / Disable a Folder-page : oFld:aEnable = { .t., .t., .f., .f. } // .t. = enable, .f. = disable Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=...
question to ""static far char cHelpTopic[ 50 ];""
Hello Antonio, you know that i do a check of the CHM help system. I will programm the new functions SetHelpPopup() and GetHelpPopup(). Can I do this instruction in helpchm.prg from FWH and is this variable then visible in all the user-*.prg?static far char cHelpPopup[ 30 ]; //similar to "static far char cHelpTopic[ 3...
question to ""static far char cHelpTopic[ 50 ];""
Günther,"far" is no longer needed in 32 bits, so you can define it like this:static char cHelpPopup[ 30 ];What do you want to do ? May I help you ?
question to ""static far char cHelpTopic[ 50 ];""
Antonio, I will define the name of the embedded txt-file in a CHM file for [b:niu4mkzq]popup[/b:niu4mkzq] help topics. I read the way (static far cHelpFile [50] ) in your help.c source file. My question is, when i define a "static (far not needed as you write above) char cHelpPopup[ 30 ]" in FWH helpchm.prg, this point...
question to ""static far char cHelpTopic[ 50 ];""
Antonio, any suggestion?
question to ""static far char cHelpTopic[ 50 ];""
Günther,If you declare a static C variable then you need to implement a function to Get or Set its contents:[code:3hppw397] static char cHelpPopup&#91; 30 &#93;; HB_FUNC&#40; SETGETHELPPOPUP &#41; &#123; if&#40; hb_pcount&#40;&#41; > 0 &#41; strcpy&#40; cHelpPopup, hb_parc&#40; 1 &#41; &#41;; hb_retc&...
question to ""static far char cHelpTopic[ 50 ];""
Also you have to properly initialize the static variable, as the C compiler doesn't do it for you, so it will contain rubish:cHelpPopup[ 0 ] = 0;
question to ""static far char cHelpTopic[ 50 ];""
[quote="Antonio Linares":2pjxu8z2]Also you have to properly initialize the static variable, as the C compiler doesn't do it for you, so it will contain rubish:[/quote:2pjxu8z2]No, in C language variables with static lifetime are automatically initialized to zero.EMG
question to ""static far char cHelpTopic[ 50 ];""
Enrico,Yes, you are right, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
question to ""static far char cHelpTopic[ 50 ];""
Günther,Here you have an example that will provide you a good understanding about how the help works in Windows, so you can decide how to implement it.test.prg[code:2xykj3mr] #include "FiveWin&#46;ch" #define WM_HELP 0x0053 #define WM_SYSCOMMAND 0x0112 #define WM_LBUTTONDOWN 0x0201 #define SC_CONTEXTHELP 0xF1...
question to ""static far char cHelpTopic[ 50 ];""
Thanks you very much! I will implement it.
question to ""static far char cHelpTopic[ 50 ];""
Antonio, yesterday i have send to you an email with all required changes for better CHM help. You can add this in a new build from FWH.