topic
stringlengths
1
63
text
stringlengths
1
577k
how to scan a barcode presents in a jpeg file
It seems as the zbar library already provide several utilities that surely do it automatically, so you just need to run it from your app <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [quote:o254x7bq] ZBar Bar Code Reader is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. Included with the library are basic applications for decoding captured bar code images and using a video device (eg, webcam) as a bar code scanner. For application developers, language bindings are included for C, C++, Python and Perl as well as GUI widgets for Qt, GTK and PyGTK. Check the ZBar home page for the latest release, mailing lists, etc. <!-- m --><a class="postlink" href="http://zbar.sourceforge.net/">http://zbar.sourceforge.net/</a><!-- m -->[/quote:o254x7bq] Please download it and test the built in utilities from here: [url:o254x7bq]http&#58;//sourceforge&#46;net/projects/zbar/files/zbar/0&#46;10/zbar-0&#46;10-setup&#46;exe/download[/url:o254x7bq]
how to scan a barcode presents in a jpeg file
<!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> Many thanks <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) -->
how to scan a barcode presents in a jpeg file
[quote:278q33nw]c:\Program Files (x86)\ZBar\bin>zbarimg marco.jpg EAN-13:1234567890128 scanned 1 barcode symbols from 1 images[/quote:278q33nw] So you can call it using WinExec(), WaitRun(), hb_Run(), etc. and read the output <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> WaitRun( "c:\Program Files (x86)\ZBar\bin>zbarimg " + "marco.jpg" + " > info.txt" ) MsgInfo( MemoRead( "info.txt" ) )
how to search on this ng
Hi. I haven't been able to figure out how to do a search on this ng. Suppose I'm looking for threads that include this string: "computer ip" or "external ip", how would I do that search? Thank you, Reinaldo.
how to search on this ng
May be "computer ip" + "external ip"
how to search on this ng
Hi, Manuel; Thank you for replying. The problem with that search is that it brings back all threads with the word "computer", with the word "external" and they both don't have to be present on the thread, thus displaying a huge amount of irrelevant information. I wish there was a way to find a string such as "hello world". But searching for such string will bring any thread containing the word "hello" or the word "world" instead of "hello" and "world". The reason I bring this subject is because, I've experience difficulties when searching here and thought that perhaps there is a trick to finding information. Reinaldo.
how to search on this ng
You could try using google instead of using the forum's search function. It can be done by issuing the following search, [code=fw:1utqntq9]<div class="fw" id="{CB}" style="font-family: monospace;"><br />site:<span style="color: #000000;">forums</span>.fivetechsupport.com computer ip<br /> </div>[/code:1utqntq9]
how to search on this ng
Hua; That's an excellent idea. Thank you. Reinaldo.
how to set Parent to Control
hi, i know Fivewin use OF Window ti assin Control now i have this [code=fw:yfuyf4ci]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">FROM</span> nTop, nLeft <span style="color: #0000ff;">TO</span> nHeight, nWidth <span style="color: #0000ff;">PIXEL</span><br />      oExplorer := TExplorer<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> nTop, nLeft, nWidth - <span style="color: #000000;">20</span>, nHeight <span style="color: #000000;">-20</span>, cPath <span style="color: #000000;">&#41;</span></div>[/code:yfuyf4ci] how to set "Parent" oWnd to CLASS TExplorer() <!-- s:idea: --><img src="{SMILIES_PATH}/icon_idea.gif" alt=":idea:" title="Idea" /><!-- s:idea: --> if want to TABPAGE so i have to assign every Instance of TExplorer() to "Parent" TABPAGE
how to set Parent to Control
Look at the fifth parameter: [code=fw:wytyzmf0]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> <span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> nTop, nLeft, nWidth, nHeight, oWnd, nClrFore, nClrBack, oBrush, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; l2007, l2010, l2013, l2015 <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TExplorerBar</div>[/code:wytyzmf0]
how to set Parent to Control
hi Enrico, [quote="Enrico Maria Giordano":269glueu]Look at the fifth parameter:[/quote:269glueu] ooh, YES oWnd [code=fw:269glueu]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">DEFAULT</span> oWnd := GetWndDefault<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:269glueu] so it is a Handle to point to Parent (not a Object) thx for help
how to set Parent to Control
No, it has to be an object.
how to set Parent to Control
hi Enrico, [quote="Enrico Maria Giordano":14bgc20i]No, it has to be an object.[/quote:14bgc20i] uuups ... sorry YES you are right
how to start with android ?
Hi, what i need to download to start a simple hellp.prg program (also only for demo) ? I currently use Harbour/Fivewin Hi ROmeo/Zingoni
how to start with android ?
Romeo, Android + Harbour test applications ready to be tested from the real Android device or from the Android emulator: <!-- m --><a class="postlink" href="http://code.google.com/p/fivedroid/downloads/list">http://code.google.com/p/fivedroid/downloads/list</a><!-- m --> Full source code available from here: [url:b2jimpey]http&#58;//code&#46;google&#46;com/p/fivedroid/source/browse/#svn%2Ftrunk%2Fsamples%2Ftutor01[/url:b2jimpey]
how to start with android ?
Hola Antonio, Ya existe algun metodo para crear las librerias desde windows ? Gracias.
how to start with android ?
Pere, Aun no lo hemos probado, es lo próximo que tengo previsto revisar <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
how to start with android ?
Seria intersante, Habria la posibilidad que subieras las libs de harbour para poder hacer las pruebas, para los que no utilizamos linux ? Gracias.
how to start with android ?
Pere, Dentro de los ejemplos (archivos APK) que hemos subido a la sección de descargas del proyecto: <!-- m --><a class="postlink" href="http://code.google.com/p/fivedroid/downloads/list">http://code.google.com/p/fivedroid/downloads/list</a><!-- m --> esta la lib de Harbour <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Los ficheros APK son ficheros ZIP renombrados. Dentro de la carpeta lib/armeabi esta libharbour.so
how to start with android ?
Can i buy somethings to start ? Or non yet ready ? tks
how to start with android ?
Romeo, They are ready and available from: <!-- m --><a class="postlink" href="http://code.google.com/p/fivephone/">http://code.google.com/p/fivephone/</a><!-- m --> <!-- m --><a class="postlink" href="http://code.google.com/p/fivedroid/">http://code.google.com/p/fivedroid/</a><!-- m --> If you want direct tech support from us for the above, we appreciate if you buy a product from us (FWH renewal, FTDN renewal, etc), thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
how to start with android ?
Hola Antonio, Al fin pude crear la libreria libharbour.so y todos los ejecutables. Tenia un problema con el fichero arc4.c Cuando estamos compilando para android [b:3hsxmm4x]no [/b:3hsxmm4x]se puede definir HAVE_SYS_SYSCTL_H Como se pude excluir ? Otra pregunta como se compila el contrib HBDROID ? Si llamo hbmk2 me dice que no es un ejecutable valido. Muchas gracias.
how to start with android ?
Pedro, En la línea 56 de arc4.c está: # define HAVE_SYS_SYSCTL_H Prueba a comentarlo: // # define HAVE_SYS_SYSCTL_H [quote:xl95s8sk]Otra pregunta como se compila el contrib HBDROID ? Si llamo hbmk2 me dice que no es un ejecutable valido.[/quote:xl95s8sk] No necesitas compilar hbdroid. Viktor creo esos ficheros a partir del código que yo publiqué, pero yo no he tenido que usarlos. Usa hbmk2 de bcc32 para que funcione en el pc <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
how to start with android ?
Lo de Comentarlo ya lo he echo. Me podrias decir el comando exacto para crear un archivo test.so a partir de un archivo prg, con hbmk2 ? Podrias subir al svn de fivedroid el tutor03 con el ejemplo del browse, y los ultimos cambios? Solo he visto el tutor01. Muchas gracias!! Pere
how to start with android ?
Pere, Aqui está completo: [url:3rd4bh0g]http&#58;//code&#46;google&#46;com/p/fivedroid/wiki/Browsing_a_DBF[/url:3rd4bh0g]
how to start with android ?
Hola Antonio, no vi que me habias respondido hasta ahora. Como se compila el Test.prg para que genere la líb?. Es lo que me falta, no puedo compilar. Los archivos Harbour.java y DbfAdapter.java, se generan automaticament ? en caso afirmativo como? Estos archivos se prodrian desvincular de TutorXX, asi servirian para todos ? Muchas gracias por tu paciencia. Pere
how to start with android ?
Pere, El código de test.prg lo incluimos dentro de adir.prg de Harbour y asi su contenido queda dentro de la lib de Harbour <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
how to switch from modal dialog to non modal?
Hi, How to switch from modal dialog to non modal dialog and form non modal to modal dialog ? TKS! Shuming Wang
how to switch from modal dialog to non modal?
Shuming, This example may help you: modalno.prg [code=fw:1tw63ne5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oWnd<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd ;<br />      <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> BuildDlg<span style="color: #000000;">&#40;</span> oWnd <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">function</span> BuildDlg<span style="color: #000000;">&#40;</span> oWnd <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oDlg, oBtn, lNonModal := .F.<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Modal"</span><br />   <br />   @ <span style="color: #000000;">2</span>, <span style="color: #000000;">2</span> <span style="color: #0000ff;">BUTTON</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"As Non Modal"</span> ;<br />      <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lNonModal := .T., oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br />   <span style="color: #00C800;">if</span> lNonModal<br />      oDlg:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Non modal"</span> <span style="color: #000000;">&#41;</span><br />      oBtn:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"End"</span> <span style="color: #000000;">&#41;</span><br />      oBtn:<span style="color: #000000;">bAction</span> = <span style="color: #000000;">&#123;</span> || oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />      <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">NOWAIT</span> <span style="color: #0000ff;">CENTERED</span><br />      <br />      oDlg:<span style="color: #000000;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:1tw63ne5]
how to switch from modal dialog to non modal?
Thank you very much! Shuming Wang
how to update a remote DBF
Ciao Otto [quote:ub0450l8]Have you installed mod harbour. It is so great. ? [/quote:ub0450l8] Yes, I'm playing with it Maurizio
how to update a remote DBF
[quote="Maurizio":clolngnf]Ciao Otto I use this system, simple and functional Client side --> DBF database Server side --> Mysql You can keep both tables up to date without problem, errors of FTP delegate everything to mysql Maurizio <!-- m --><a class="postlink" href="http://www.nipeservice.com">http://www.nipeservice.com</a><!-- m -->[/quote:clolngnf] Maurizio, each time you converte dbf to mysql and mysql to dbf ? do you use this system also for sample touch resturant app ? how create it '
how to update a remote DBF
Ciao Silvio , I use it when I have to align data between multi-warehouses , or when I have to share data on the web . Maurizio
how to update a remote DBF
Hello, is it possible to update a DBF file on a remote system. Thank you in advance Otto
how to update a remote DBF
<!-- m --><a class="postlink" href="https://groups.google.com/forum/#!topic/harbour-users/5_gDG_2YYaY">https://groups.google.com/forum/#!topic ... _gDG_2YYaY</a><!-- m -->
how to update a remote DBF
Otto, you can update a remote dbf in real time in this way - write in a log dbf table every time a user touch a record (User=001 Dbf=Customer Recno=10 Do=20190730140301) - a program that is always active read in polling from this log table if there are news records to process and if a new records is found: open local dbf open remote dbf (they are identical in structure) verifies if record 100 is present in the two tables if record does not exist makes an append blank until does not reach the number of records perform a comparison of every single field of the same record writing the differences in remote dbf I use this software since there were several archival corruption issues (corruption detected) I saved the contents of the tables many times without recovering from the night before but at most from one minute before the corruption. This could be another solution for those situations in which is very difficult to open two dbf (local and remote) SELECT 0 USE fa ALIAS local SELECT 0 USE fa ALIAS remote For every modified record you can create a dbf table with this name for example FA#0000000001#num_fa#FA_00001-------#20190730140101.dbf where FA is the name of te table #0000000001 is the record number #num_fa the unique key #FA_00001 the content of num_fa #20190730140101 YYYYMMDDHHMMSS of timestamp You can send to the "remote" every one of this dbf tables on the other side (in the remote) a program reades this new dbf tables aDir := directory( "*.dbf") for every element of aDir USE FA GOTO 1 or DBSEEK( FA_00001 ) and than compare the fields of the record bye
how to update a remote DBF
Hello Marco, thank you. How do you send the DBF file. Best regards Otto
how to update a remote DBF
it all depends on scenario - ftp - mail (zip attached) - copy if you are mapped
how to update a remote DBF
use harbour netio, it works very well. <!-- m --><a class="postlink" href="http://harbourlanguage.blogspot.com/2010/04/harbour-netio.html">http://harbourlanguage.blogspot.com/201 ... netio.html</a><!-- m --> Regards,
how to update a remote DBF
Hi Otto. You can use remote command with powershell. Here is a MS documentation [url:3lv0re7s]https&#58;//docs&#46;microsoft&#46;com/en-us/powershell/scripting/learn/remoting/running-remote-commands?view=powershell-6[/url:3lv0re7s]
how to update a remote DBF
For use log file, try with native rdd of harbour LOGRDD <!-- m --><a class="postlink" href="https://github.com/harbour/core/blob/master/contrib/rddmisc/logrdd.prg">https://github.com/harbour/core/blob/ma ... logrdd.prg</a><!-- m --> Sample <!-- m --><a class="postlink" href="https://github.com/harbour/core/blob/master/tests/usrrdd/exlog.prg">https://github.com/harbour/core/blob/ma ... /exlog.prg</a><!-- m -->
how to update a remote DBF
Muy buena la referencia Cristóbal al LogRdd, pero creo que al LogRdd le hace falta un campo que no sea el Recno() (sensible al PACK) para referenciar los registros. En todo caso, obviando el PACK, es una solución que me parece muy buena y que nos puede permitir hacer facilmente un sincronizador de tablas. También grabaría en el LogRdd la fecha y la hora pensando en sincronizar desde varios origenes.
how to update a remote DBF
[quote="hmpaquito":3q4f8p44]Muy buena la referencia Cristóbal al LogRdd, pero creo que al LogRdd le hace falta un campo que no sea el Recno() (sensible al PACK) para referenciar los registros. En todo caso, obviando el PACK, es una solución que me parece muy buena y que nos puede permitir hacer facilmente un sincronizador de tablas. También grabaría en el LogRdd la fecha y la hora pensando en sincronizar desde varios origenes.[/quote:3q4f8p44] Bueno, graba el Recno porque así está definido en ese ejemplo, pero lo que grabas es lo que tu definas en cada caso [b:3q4f8p44]Well, record the Recno because that's how it is defined in that sample, but what you record is what you define in each case[/b:3q4f8p44] Por cierto, también hay otro RDD interesante nativo de Harbour: ARRAY RDD [b:3q4f8p44]By the way, there is also another interesting RDD native to Harbour: ARRAY RDD[/b:3q4f8p44]
how to update a remote DBF
Hello, thank you all. I think with mod harbour this becomes an interesting. If we want to update our DBF files on the webserver we need some kind of database server. Best regards Otto
how to update a remote DBF
[quote="Otto":2s9s9bhg] If we want to update our DBF files on the webserver we need some kind of database server. Otto[/quote:2s9s9bhg] Please explain me why Security ?, integrity ?, .....
how to update a remote DBF
Dear Cristobal, I mean for data exchange between desktop and web. For example if you use web for reports you have to upload data. FTP is a problem as you need firewall setup on client side. I know we can use SQL but I would like to stay with DBF files. Best regards Otto
how to update a remote DBF
Ciao Otto I use this system, simple and functional Client side --> DBF database Server side --> Mysql You can keep both tables up to date without problem, errors of FTP delegate everything to mysql Maurizio <!-- w --><a class="postlink" href="http://www.nipeservice.com">www.nipeservice.com</a><!-- w -->
how to update a remote DBF
Hello Maurizio, thank you for your help. This is what I do right now. [b:2rrb1gvc]But now 2019 we have mod harbour.[/b:2rrb1gvc] Have you installed mod harbour. It is so great. I would like to use DBF also on the web. Easier to handle - for small databases DBF is faster. More flexible (DBU vs myPHPAdmin ). No need for SQL server - also if it is free. Maybe ODBC or winsock is an option. Do you know if I can upload a dbf file with http in silent mode. FTP would be enough for my purpose. But FTP needs to be allowed on customer side. Best regards Otto
how to use Member pszText cx & Co from LVCOLUMN Structure
Dear Jimmy, > Question : do i have to define a Method and HB_FUNC() for every Structure Member ? Yes
how to use Member pszText cx & Co from LVCOLUMN Structure
hi, i use LVCOLUMN from this Thread [url:ktz7my2s]https&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=42301[/url:ktz7my2s] LVCOLUMN Structure at Microsoft [url:ktz7my2s]https&#58;//learn&#46;microsoft&#46;com/en-us/windows/win32/api/commctrl/ns-commctrl-lvcolumna[/url:ktz7my2s] [url:ktz7my2s]https&#58;//learn&#46;microsoft&#46;com/en-us/windows/win32/api/commctrl/ns-commctrl-lvcolumnw[/url:ktz7my2s] [code=fw:ktz7my2s]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> LVCOLUMNNEW <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   LVCOLUMN * lvcol = <span style="color: #000000;">&#40;</span> LVCOLUMN * <span style="color: #000000;">&#41;</span> hb_xgrab<span style="color: #000000;">&#40;</span> sizeof<span style="color: #000000;">&#40;</span> LVCOLUMN <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><br />   memset<span style="color: #000000;">&#40;</span> lvcol, <span style="color: #000000;">0</span>, sizeof<span style="color: #000000;">&#40;</span> LVCOLUMN <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />   hb_retptr<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> void * <span style="color: #000000;">&#41;</span> lvcol <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:ktz7my2s] but it fail here [code=fw:ktz7my2s]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> InitTheListView<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   ::<span style="color: #000000;">oLVCol</span> := LVCOLUMN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #B900B9;">// LVCF_FMT     = col:fmt   -> LVCFMT_LEFT / LVCFMT_RIGHT / LVCFMT_CENTER</span><br />   <span style="color: #B900B9;">// LVCF_WIDTH   = col:cx    -> Pixel wide</span><br />   <span style="color: #B900B9;">// LVCF_TEXT    = col:pszText -> Data</span><br />   <span style="color: #B900B9;">// LVCF_SUBITEM = use Sub-Items</span><br />   ::<span style="color: #000000;">oLVCol</span>:<span style="color: #000000;">Mask</span> := hb_bitOr<span style="color: #000000;">&#40;</span>LVCF_FMT, LVCF_WIDTH, LVCF_TEXT, LVCF_SUBITEM <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">for</span> nCol := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> LEN<span style="color: #000000;">&#40;</span>::<span style="color: #000000;">aHeader</span><span style="color: #000000;">&#41;</span><br />      ::<span style="color: #000000;">oLVCol</span>:<span style="color: #000000;">pszText</span>  := ::<span style="color: #000000;">aHeader</span><span style="color: #000000;">&#91;</span>nCol<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>ID_HEADER<span style="color: #000000;">&#93;</span></div>[/code:ktz7my2s] [quote:ktz7my2s] Error description: Error BASE/1005 Message not found: LVCOLUMN:_PSZTEXT Args: [ 1] = O LVCOLUMN[/quote:ktz7my2s] Question : do i have to define a Method and HB_FUNC() for every Structure Member <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> [code=fw:ktz7my2s]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> pszText<span style="color: #000000;">&#40;</span> cValue <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> LVColumn<br />...<br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> LV_COLUMNPSZTEXT <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   int pszText = <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> LVCOLUMN * <span style="color: #000000;">&#41;</span> hb_parptr<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>->pszText;<br /><br />   <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! hb_pcount<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />      hb_retnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HB_LONG <span style="color: #000000;">&#41;</span> pszText <span style="color: #000000;">&#41;</span>;<br />   <span style="color: #00C800;">else</span><br />      <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> LVCOLUMN * <span style="color: #000000;">&#41;</span> hb_parptr<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>->pszText = <span style="color: #000000;">&#40;</span> char * <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>;<br /><br />   hb_retnl<span style="color: #000000;">&#40;</span> pszText <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /> </div>[/code:ktz7my2s] under Xbase++ i have access to all Member of Structure
how to use Member pszText cx & Co from LVCOLUMN Structure
hi, i got Warning [quote:4ilpcabo]Warning W8069 LVREPORT.prg 435: Nonportable pointer conversion in function HB_FUN_LV_COLUMNPSZTEXT[/quote:4ilpcabo] [code=fw:4ilpcabo]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> LV_COLUMNPSZTEXT <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   int pszText = <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> LVCOLUMN * <span style="color: #000000;">&#41;</span> hb_parptr<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>->pszText;</div>[/code:4ilpcabo] who can help me please with "C" Code of HB_FUNC( LV_COLUMNPSZTEXT )
how to use Member pszText cx & Co from LVCOLUMN Structure
next Problem [quote:2ldxipst]Error E2096 LVREPORT.prg 636: Illegal structure operation in function HB_FUN_LV_DISPINFO Error E2096 LVREPORT.prg 641: Illegal structure operation in function HB_FUN_LV_DISPINFO[/quote:2ldxipst] [code=fw:2ldxipst]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">634</span>?<span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> LV_DISPINFO <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">635</span>?<span style="color: #000000;">&#123;</span><br /><span style="color: #000000;">636</span>?   UINT item = <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> NMLVDISPINFOA * <span style="color: #000000;">&#41;</span> hb_parptr<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>->item;<br /><span style="color: #000000;">637</span>?<br /><span style="color: #000000;">638</span>?   <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! hb_pcount<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">639</span>?      hb_retnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HB_LONG <span style="color: #000000;">&#41;</span> item <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">640</span>?   <span style="color: #00C800;">else</span><br /><span style="color: #000000;">641</span>?      <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> NMLVDISPINFOA * <span style="color: #000000;">&#41;</span> hb_parptr<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>->item = <span style="color: #000000;">&#40;</span> UINT <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">642</span>?<br /><span style="color: #000000;">643</span>?   hb_retnl<span style="color: #000000;">&#40;</span> item <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">644</span>?<span style="color: #000000;">&#125;</span></div>[/code:2ldxipst]
how to use Member pszText cx & Co from LVCOLUMN Structure
hi, have found out that i have to use Member of Structure in HB_FUNC() as "C" Code like for LVITEMx [code=fw:1zxau8oi]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span> <span style="color: #000000;">&#40;</span> LISTVIEW_INSERTITEM <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   LV_ITEM LVI;<br />   HWND hWnd = <span style="color: #000000;">&#40;</span>HWND<span style="color: #000000;">&#41;</span> HMG_parnl <span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>;<br />   INT nRow  = <span style="color: #000000;">&#40;</span>INT<span style="color: #000000;">&#41;</span>  hb_parni <span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>;<br />   INT nColumnCount = <span style="color: #000000;">&#40;</span>INT<span style="color: #000000;">&#41;</span>  hb_parni <span style="color: #000000;">&#40;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span>;<br />   INT nCol;<br />   <br />   LVI.mask      = LVIF_TEXT;<br />   LVI.iItem     = nRow;<br />   LVI.iSubItem  = <span style="color: #000000;">0</span>;<br />   LVI.state     = <span style="color: #000000;">0</span>;<br />   LVI.stateMask = <span style="color: #000000;">0</span>;<br />   LVI.pszText   = <span style="color: #000000;">&#40;</span>TCHAR*<span style="color: #000000;">&#41;</span> HMG_parvc <span style="color: #000000;">&#40;</span><span style="color: #000000;">3</span>, <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>;<br />   LVI.iImage    = <span style="color: #000000;">0</span>;<br /><br />   ListView_InsertItem <span style="color: #000000;">&#40;</span>hWnd, &LVI<span style="color: #000000;">&#41;</span>;<br /><br />   <span style="color: #00C800;">for</span> <span style="color: #000000;">&#40;</span>nCol = <span style="color: #000000;">1</span> ; nCol < nColumnCount ; nCol++<span style="color: #000000;">&#41;</span><br />        ListView_SetItemText <span style="color: #000000;">&#40;</span>hWnd, nRow, nCol, <span style="color: #000000;">&#40;</span>TCHAR*<span style="color: #000000;">&#41;</span> HMG_parvc <span style="color: #000000;">&#40;</span><span style="color: #000000;">3</span>, nCol<span style="color: #000000;">+1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:1zxau8oi] so i have to call HB_FUNC() with Parameter and "right" Type ... hm btw. Prefix "HMG_" is "compatible" with 64 Bit, what under FiveWin <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> but how to pass Array and use a Loop to "fill" Member of Structure [code=fw:1zxau8oi]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">&#123;</span><br />   LV_COLUMN oLVCol ;<br />   <span style="color: #00C800;">for</span> <span style="color: #000000;">&#40;</span>nCol = <span style="color: #000000;">1</span> ; nCol < nColumnCount ; nCol++<span style="color: #000000;">&#41;</span><br />      <span style="color: #B900B9;">// how to use Array ?</span><br />     oLVCol.pszText  := aHeader<span style="color: #000000;">&#91;</span>nCol<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>ID_HEADER<span style="color: #000000;">&#93;</span>+ chr<span style="color: #000000;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />     oLVCol.cx       := aHeader<span style="color: #000000;">&#91;</span>nCol<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>ID_WIDTH <span style="color: #000000;">&#93;</span><br /><span style="color: #000000;">&#125;</span><br /> </div>[/code:1zxau8oi] p.s. why it is called LV_ITEM under harbour while Microsoft say LVITEMA / LVITEMW for Structure is there a List to "see" which Structure harbour use ?
how to use Member pszText cx & Co from LVCOLUMN Structure
hi, got a Solution [code=fw:whbx3ks1]<div class="fw" id="{CB}" style="font-family: monospace;">   AADD<span style="color: #000000;">&#40;</span> aHeader, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Name"</span>, <span style="color: #000000;">250</span>, LVCFMT_LEFT, <span style="color: #ff0000;">"C"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   AADD<span style="color: #000000;">&#40;</span> aHeader, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Size"</span>, <span style="color: #000000;">100</span>, LVCFMT_RIGHT, <span style="color: #ff0000;">"N"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   AADD<span style="color: #000000;">&#40;</span> aHeader, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Date"</span>, <span style="color: #000000;">80</span>, LVCFMT_RIGHT, <span style="color: #ff0000;">"D"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   AADD<span style="color: #000000;">&#40;</span> aHeader, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Time"</span>, <span style="color: #000000;">70</span>, LVCFMT_RIGHT, <span style="color: #ff0000;">"C"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   AADD<span style="color: #000000;">&#40;</span> aHeader, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Attr"</span>, <span style="color: #000000;">40</span>, LVCFMT_CENTER, <span style="color: #ff0000;">"C"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span></div>[/code:whbx3ks1] [code=fw:whbx3ks1]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">FOR</span> nCol := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> LEN<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aHeader</span> <span style="color: #000000;">&#41;</span><br />      nWidth := ::<span style="color: #000000;">aHeader</span><span style="color: #000000;">&#91;</span> nCol <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#91;</span> ID_WIDTH <span style="color: #000000;">&#93;</span><br />      cCaption := VAR2CHAR<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aHeader</span><span style="color: #000000;">&#91;</span> nCol <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#91;</span> ID_HEADER <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> + CHR<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />      nJustify := ::<span style="color: #000000;">aHeader</span><span style="color: #000000;">&#91;</span> nCol <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#91;</span> ID_ALIGN <span style="color: #000000;">&#93;</span><br /><br />      LV_ADDCOLUMN<span style="color: #000000;">&#40;</span> hWnd, nCol, nWidth, cCaption, nJustify <span style="color: #000000;">&#41;</span>          <br />   <span style="color: #00C800;">NEXT</span></div>[/code:whbx3ks1] [code=fw:whbx3ks1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> LV_ADDCOLUMN <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   LV_COLUMN COL;<br /><br />   COL.mask= LVCF_WIDTH | LVCF_TEXT | LVCF_FMT | LVCF_SUBITEM ;<br />   COL.cx= hb_parni<span style="color: #000000;">&#40;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span>;<br />   COL.pszText = <span style="color: #000000;">&#40;</span>TCHAR*<span style="color: #000000;">&#41;</span> hb_parc<span style="color: #000000;">&#40;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span>;<br />   COL.iSubItem=hb_parni<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span>;<br />   COL.fmt = hb_parni<span style="color: #000000;">&#40;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span> ;<br /><br />   ListView_InsertColumn <span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span>HWND<span style="color: #000000;">&#41;</span> hb_parnl <span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>, hb_parni<span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">-1</span>, &COL <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span></div>[/code:whbx3ks1]
how to use VK_F10 ?
hi, i can use o:bKeyDown to F2 - F9 and F11 i know VK:F12 can be Devugger, but how to get VK:F10 ... it does "open" Menu if exist ...
how to use WCOLOR.CH Constant with MENU / COLORSELECT ?
hi, i try to use COLOR_MENUHILIGHT [code=fw:3q0dq7v9]<div class="fw" id="{CB}" style="font-family: monospace;">   COLORSELECT COLOR_MENUHILIGHT , COLOR_MENUHILIGHT , CLR_WHITE</div>[/code:3q0dq7v9] this give be WHITE on BLACK <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> [code=fw:3q0dq7v9]<div class="fw" id="{CB}" style="font-family: monospace;">   COLORSELECT NumColor2RGB<span style="color: #000000;">&#40;</span> COLOR_MENUHILIGHT <span style="color: #000000;">&#41;</span>, NumColor2RGB<span style="color: #000000;">&#40;</span> COLOR_MENUHILIGHT <span style="color: #000000;">&#41;</span>, CLR_WHITE<br /><br /><span style="color: #00C800;">FUNCTION</span> NumColor2RGB<span style="color: #000000;">&#40;</span> nColor <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span> aRetVal := <span style="color: #000000;">&#123;</span> nRGBRed<span style="color: #000000;">&#40;</span> nColor <span style="color: #000000;">&#41;</span>, nRGBGreen<span style="color: #000000;">&#40;</span> nColor <span style="color: #000000;">&#41;</span>, nRGBBlue<span style="color: #000000;">&#40;</span> nColor <span style="color: #000000;">&#41;</span></div>[/code:3q0dq7v9] this give me a "light-Blue" Background but not what i expect what is the right Way to use Constant of WCOLOR.CH for COLORSELECT <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
how to use WCOLOR.CH Constant with MENU / COLORSELECT ?
hi, got it <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> [code=fw:3jlgl0eb]<div class="fw" id="{CB}" style="font-family: monospace;">  COLORSELECT GetSysColor<span style="color: #000000;">&#40;</span> COLOR_MENUHILIGHT <span style="color: #000000;">&#41;</span>, GetSysColor<span style="color: #000000;">&#40;</span> COLOR_MENUHILIGHT <span style="color: #000000;">&#41;</span> , GetSysColor<span style="color: #000000;">&#40;</span> COLOR_MENU <span style="color: #000000;">&#41;</span></div>[/code:3jlgl0eb] this will give Original Color of Windows OS for Menu
how to use WCOLOR.CH Constant with MENU / COLORSELECT ?
Jimmy, very good [code=fw:5dq4ky8g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Autor: &nbsp;Cristobal Navarro</span><br /><span style="color: #B900B9;">// Fecha: &nbsp;18/06/2015</span><br /><span style="color: #B900B9;">// Pruebas de Menus</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"wcolors.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> GWL_STYLE <span style="color: #000000;">-16</span><br /><br /><span style="color: #00D7D7;">#define</span> SM_TABLETPC &nbsp; &nbsp; &nbsp; <span style="color: #000000;">86</span><br /><span style="color: #00D7D7;">#define</span> SM_DIGITIZER &nbsp; &nbsp; &nbsp;<span style="color: #000000;">94</span><br /><span style="color: #00D7D7;">#define</span> SM_MAXIMUMTOUCHES <span style="color: #000000;">95</span><br /><span style="color: #00D7D7;">#define</span> SM_IMMENABLED &nbsp; &nbsp; <span style="color: #000000;">82</span><br /><br /><span style="color: #00D7D7;">#define</span> SM_CYMENUSIZE &nbsp; &nbsp; <span style="color: #000000;">55</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><span style="color: #00C800;">static</span> oWnd<br /><span style="color: #00C800;">static</span> oMru1<br /><span style="color: #00C800;">static</span> oMru2<br /><span style="color: #00C800;">Static</span> cColorPan<br /><br /><span style="color: #00C800;">Static</span> oFontMenu<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oBar, oBar1, oBar2<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cTitle, x<br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cFont &nbsp; := <span style="color: #ff0000;">"Segoe UI Symbol"</span> &nbsp;<span style="color: #B900B9;">//"Calibri"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cFontH &nbsp;:= <span style="color: #000000;">-14</span> &nbsp;<span style="color: #B900B9;">//-16 //-20 //-18 &nbsp;//-14 &nbsp;//-10 //-12</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> aFonts<br /><br />&nbsp; &nbsp;FW_SetUnicode<span style="color: #000000;">&#40;</span> .T. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;SetResDebug<span style="color: #000000;">&#40;</span> .T. <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> !IsWin8<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> .and. !IsWindows10<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cFont &nbsp; := <span style="color: #ff0000;">"Calibri"</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFontMenu <span style="color: #0000ff;">NAME</span> cFont <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">-14</span> WEIGHT <span style="color: #000000;">300</span><br /><br />&nbsp; cTitle := <span style="color: #ff0000;">" Menus: "</span> + <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> !Empty<span style="color: #000000;">&#40;</span> oFontMenu <span style="color: #000000;">&#41;</span>, oFontMenu:<span style="color: #000000;">cFaceName</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> +;<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> !Empty<span style="color: #000000;">&#40;</span> oFontMenu <span style="color: #000000;">&#41;</span>, Str<span style="color: #000000;">&#40;</span> oFontMenu:<span style="color: #000000;">nHeight</span> <span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">3</span>, <span style="color: #000000;">6</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">20</span>, <span style="color: #000000;">70</span> <span style="color: #0000ff;">MDI</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">TITLE</span> cTitle <span style="color: #0000ff;">MENU</span> MBuildMenu<span style="color: #000000;">&#40;</span> oWnd <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">COLOR</span> CLR_WHITE, CLR_WHITE <span style="color: #B900B9;">//RGB( 116, 149, 193 )</span><br />&nbsp; oWnd:<span style="color: #000000;">SetFont</span><span style="color: #000000;">&#40;</span> oFontMenu <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;SET <span style="color: #0000ff;">MESSAGE</span> <span style="color: #0000ff;">OF</span> oWnd <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"Prueba de Controles"</span> <span style="color: #0000ff;">FONT</span> oFontMenu ;<br />&nbsp; &nbsp; &nbsp; &nbsp;COLORS RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">10</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">10</span> <span style="color: #000000;">&#41;</span>, CLR_WHITE ; <span style="color: #B900B9;">// &nbsp;, RGB( 116, 149, 193 ) ; //RGB( 31, 117, 70 ) ;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;NOINSET CLOCK DATE KEYBOARD NOBORDER <span style="color: #000000;">2015</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">MAXIMIZED</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> MenuDlg<span style="color: #000000;">&#40;</span> oWnd <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">//Hb_GCall(.t.)</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">//CLEAR MEMORY</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">While</span> oFontMenu:<span style="color: #000000;">nCount</span> > <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; oFontMenu:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">Enddo</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> File<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"checkres.txt"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; FErase<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"checkres.txt"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;CheckRes<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</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;">function</span> MBuildMenu<span style="color: #000000;">&#40;</span> oW <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oMenu<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oMruConnections<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oMruDBFs<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cClrDegrIni, cClrDegrFin<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cClrSelIni , cClrSelFin , cClrSelTxt, cClrSelBor<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cClrMenu &nbsp; , cClrMenuTxt<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> oW &nbsp;:= oWnd<br /><br />&nbsp; &nbsp;cClrMenu &nbsp; &nbsp;:= CLR_RED<br />&nbsp; &nbsp;cClrMenuTxt := CLR_WHITE<br />&nbsp; &nbsp;cClrDegrFin := CLR_WHITE<br />&nbsp; &nbsp;cClrDegrIni := CLR_WHITE<br />&nbsp; &nbsp;cColorPan &nbsp; := CLR_GRAY <br />&nbsp; &nbsp;cClrSelFin &nbsp;:= CLR_HGRAY<br />&nbsp; &nbsp;cClrSelIni &nbsp;:= CLR_HGRAY<br />&nbsp; &nbsp;cClrSelTxt &nbsp;:= CLR_BLACK<br />&nbsp; &nbsp;cClrSelBor &nbsp;:= CLR_GRAY <br />&nbsp; &nbsp;<span style="color: #0000ff;">MENU</span> oMenu ;<br />&nbsp; &nbsp; &nbsp; COLORMENU &nbsp; RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, CLR_WHITE ;<br />&nbsp; &nbsp; &nbsp; COLORRIGHT &nbsp;CLR_WHITE, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; COLORLEFT &nbsp; RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, CLR_WHITE ; <span style="color: #B900B9;">//COLORBMP &nbsp;CLR_WHITE, RGB( 0, 0, 1 );</span><br />&nbsp; &nbsp; &nbsp; COLORSELECT GetSysColor<span style="color: #000000;">&#40;</span> COLOR_MENUHILIGHT <span style="color: #000000;">&#41;</span>, GetSysColor<span style="color: #000000;">&#40;</span> COLOR_MENUHILIGHT <span style="color: #000000;">&#41;</span> , GetSysColor<span style="color: #000000;">&#40;</span> COLOR_MENU <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; ; <span style="color: #B900B9;">// &nbsp; &nbsp; &nbsp;COLORSELECT CLR_BLUE, CLR_WHITE, CLR_RED ;</span><br />&nbsp; &nbsp; &nbsp; COLORSEPARATOR CLR_WHITE ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">FONT</span> oFontMenu NOBORDER <span style="color: #000000;">2013</span> <br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"NoClient"</span> <br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENU</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"IsTablet"</span> + <span style="color: #ff0000;">"..."</span> CHARICON <span style="color: #000000;">57696</span> <span style="color: #B900B9;">//ACTION MsgInfo( IsTactil() )</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Browse Properties NonClient"</span> CHECKED <span style="color: #B900B9;">//ACTION XBrowse(NonClient()) </span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Sample MRU Recent files"</span> <span style="color: #000000;">&#41;</span> CHARICON <span style="color: #000000;">57697</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MRU oMruDBFs ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FILENAME GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"APPDATA"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"<span style="color: #000000;">\F</span>iveDBU.ini"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SECTION &nbsp;<span style="color: #ff0000;">"Recent DBF files"</span> ; <span style="color: #B900B9;">//</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MESSAGE</span> &nbsp;FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Open this file"</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> &nbsp; &nbsp; <span style="color: #000000;">10</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ENDMENU</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SEPARATOR</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Change Color BLUE"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"..."</span> &nbsp;CHARICON <span style="color: #000000;">57698</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Sample MRU ADO connections"</span> <span style="color: #000000;">&#41;</span> CHARICON <span style="color: #000000;">57699</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MRU oMruConnections ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FILENAME GetEnv<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"APPDATA"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"<span style="color: #000000;">\F</span>iveDBU.ini"</span> ; &nbsp; &nbsp;<span style="color: #B900B9;">// .INI to manipulate</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SECTION &nbsp;FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Recent ADO connections strings"</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MESSAGE</span> &nbsp;FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Connect to this ADO database"</span> <span style="color: #000000;">&#41;</span> ; &nbsp; <span style="color: #B900B9;">// The message for all of them</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> &nbsp; &nbsp; <span style="color: #000000;">10</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ENDMENU</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SEPARATOR</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Change System Menu"</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"..."</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Prueba"</span> <span style="color: #000000;">&#41;</span> CHARICON <span style="color: #000000;">57695</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SEPARATOR</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> FWString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Exit"</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">ACTION</span> oWnd:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> CHARICON <span style="color: #000000;">57694</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ENDMENU</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Client"</span> <br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MENU</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"IsTablet"</span> + <span style="color: #ff0000;">"..."</span> CHARICON <span style="color: #000000;">57696</span> <span style="color: #B900B9;">//ACTION MsgInfo( IsTactil() )</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Browse Properties NonClient"</span> CHECKED <span style="color: #B900B9;">//ACTION XBrowse(NonClient()) </span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ENDMENU</span><br />&nbsp; &nbsp; &nbsp; oMenu:<span style="color: #000000;">AddEdit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #B900B9;">// { CLR_WHITE, CLR_BLACK, CLR_WHITE, CLR_WHITE, CLR_HGRAY, CLR_HGRAY, CLR_BLACK, CLR_GRAY } )</span><br />&nbsp; &nbsp; &nbsp; oMenu:<span style="color: #000000;">AddFile</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #B900B9;">// { CLR_YELLOW, CLR_BLACK, CLR_WHITE, CLR_WHITE, CLR_HGRAY, CLR_HGRAY, CLR_BLACK, CLR_GRAY } )</span><br />&nbsp; &nbsp; &nbsp; oMenu:<span style="color: #000000;">AddMdi</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; oMenu:<span style="color: #000000;">AddHelp</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Pruebas Menus"</span>, <span style="color: #ff0000;">"(c) Cristobal Navarro 2015"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">ENDMENU</span><br /><br /><span style="color: #00C800;">return</span> oMenu<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">Function</span> MenuDlg<span style="color: #000000;">&#40;</span> oW <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Local</span> oMenu<br />&nbsp;<br />&nbsp; <span style="color: #0000ff;">REDEFINE</span> SYSMENU oMenu <span style="color: #0000ff;">OF</span> oW <span style="color: #0000ff;">FONT</span> oFontMenu ;<br />&nbsp; &nbsp; &nbsp;COLORSELECT &nbsp;RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">51</span>, <span style="color: #000000;">153</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">51</span>, <span style="color: #000000;">153</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">&#41;</span>, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp;COLORBMP RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">240</span>, <span style="color: #000000;">240</span> <span style="color: #000000;">&#41;</span>, CLR_BLACK ;<br />&nbsp; &nbsp; &nbsp;COLORRIGHT CLR_BLACK, RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">240</span>, <span style="color: #000000;">240</span>, <span style="color: #000000;">240</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp;COLORSEPARATOR RGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">200</span>, <span style="color: #000000;">200</span>, <span style="color: #000000;">200</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">2013</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Primer Item"</span> CHARICON <span style="color: #000000;">57605</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Segundo Item"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> Len<span style="color: #000000;">&#40;</span> oW:<span style="color: #000000;">oSysMenu</span>:<span style="color: #000000;">aMenuitems</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> CHARICON <span style="color: #000000;">57696</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Tercer Item"</span> &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> Len<span style="color: #000000;">&#40;</span> oW:<span style="color: #000000;">oSysMenu</span>:<span style="color: #000000;">aMenuitems</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> CHARICON <span style="color: #000000;">57736</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SEPARATOR</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Reset Menu"</span> &nbsp;<span style="color: #0000ff;">ACTION</span> oMenu:<span style="color: #000000;">Reset</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;ENDSYSMENU<br /><br /><span style="color: #00C800;">Return</span> oMenu<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br />&nbsp;</div>[/code:5dq4ky8g]
how to write a string of string
Hi! A string "select a from "+ctable1+" where id='001' " how to write this as a string ? Regards! Shuming Wang
how to write a string of string
Shuming, I don't know if I understood correctly. Try this: [code=fw:3ji7dvf5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">&#91;</span><span style="color: #ff0000;">"select a from "</span>+ctable1+<span style="color: #ff0000;">" where id='001' "</span><span style="color: #000000;">&#93;</span></div>[/code:3ji7dvf5] EMG
how to write a string of string
You could try this :[code=fw:2kdyfeu7]<div class="fw" id="{CB}" style="font-family: monospace;">CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"select a from "</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"+ctable1+"</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" where id="</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">39</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"001"</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">39</span><span style="color: #000000;">&#41;</span>+SPACE<span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span></div>[/code:2kdyfeu7]
how to write a string of string
[quote="driessen":32f8l9mh]You could try this :[code=fw:32f8l9mh]<div class="fw" id="{CB}" style="font-family: monospace;">CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"select a from "</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"+ctable1+"</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" where id="</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">39</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"001"</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">39</span><span style="color: #000000;">&#41;</span>+SPACE<span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>+CHR<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span></div>[/code:32f8l9mh][/quote:32f8l9mh]For your information : CHR(34) = " CHR(39) = ' You can see what the result is by putting my code into MsgInfo(). Good luck
how to write a string of string
Thank Mr E.M.G. and Mr Michel D.! Shuming Wang
how use ShFullScreen
Hello Antonio how use ShFullScreen() for hide TaskBAr ? Thank in anticipation Maurizio PS any news about socket ?
how use ShFullScreen
I solve ShFullScreen(oWnd:hwnd,0x0020 ) On Windows Mobile works but not in Windows CE *#define SHFS_SHOWTASKBAR 0x0001 *#define SHFS_HIDETASKBAR 0x0002 *#define SHFS_SHOWSIPBUTTON 0x0004 *#define SHFS_HIDESIPBUTTON 0x0008 *#define SHFS_SHOWSTARTICON 0x0010 *#define SHFS_HIDESTARTICON 0x0020
html
how I can show a Html on a dialog ?
html
[b:37qzx6xz]found!!!!!![/b:37qzx6xz] Function Mostra_html(cHtml,cPath) Local ohtmlDlg Local oActiveX MemoWrit(cPath+"MiHtml.htm",chtml) DEFINE WINDOW ohtmlDlg TITLE "html test oActiveX := TActiveX():New( ohtmlDlg, "Shell.Explorer.2" ) ohtmlDlg:oClient = oActiveX // To fill the entire window surface oActiveX&#058;Do("Navigate2",cPath+"MiHtml.htm") ACTIVATE WINDOW ohtmlDlg RETUR NIL
html class
Fivewin have a class read a html file ? I not want use activex as this test Function Mostra_html(cHtml,cPath) Local ohtmlDlg Local oActiveX MemoWrit(cPath+"MiHtml.htm",chtml) DEFINE WINDOW ohtmlDlg TITLE "Mostra la licenza" oActiveX := TActiveX():New( ohtmlDlg, "Shell.Explorer.2" ) ohtmlDlg:oClient = oActiveX // To fill the entire window surface oActiveX&#058;Do("Navigate2",cPath+"MiHtml.htm") ACTIVATE WINDOW ohtmlDlg RETUR NIL
html class
Silvio, You can read it using MemoRead() the question is: what to do with it ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
html class
I wish insert on vistamenu instead ctext and I have many items as I send you the message I cannot use activex for each items
html class
Silvio, You may use a TUrlLink control for each element
html class
Yes of cours but i need yo write a text as.... Sample There are 6 orders on payment... And only the words 'oders' must open my function to show the orders I hope you understood me I cannot use urlink because it write all words as link
html class
[quote:2nahjyu9]And only the words 'oders' must open my function to show the orders [/quote:2nahjyu9] Please try [code=fw:2nahjyu9]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oURL := TURLLink<span style="color: #000000;">&#40;</span> ................. <span style="color: #000000;">&#41;</span><br />oURL:<span style="color: #000000;">SetText</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Orders"</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:2nahjyu9]
html class
Rao I explain you I thinked to create an area into a dialog or window This area is a "[b:1wi6lm0i]virtual bulletin board[/b:1wi6lm0i]" where you can pin and always see the most common and useful information, such as the company's bank details, the telephone numbers of the employees, the telephone numbers of the emergency providers, interesting internet links, etc. . [img:1wi6lm0i]https&#58;//s12&#46;postimg&#46;org/6z9owcr5p/image&#46;jpg[/img:1wi6lm0i] each items must have an image at left a text on the right the text can be normal text or text with link it can be made with vistamenu changed ctext command or add html or richedit memo [b:1wi6lm0i]I not have problem to make the normal and link text[/b:1wi6lm0i] I have a class [u:1wi6lm0i]to write a Html file[/u:1wi6lm0i] [b:1wi6lm0i]I have problem to insert it on vistamenu item[/b:1wi6lm0i] if you see this topic <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=34005&start=0&hilit=dashboard">viewtopic.php?f=3&t=34005&start=0&hilit=dashboard</a><!-- l --> antonio sad me to use vistamenu but the methd addlitem out a text with underfont and if I make addItem( cTextHtml) it make all my text (html) with underfont write also the command html
html class
Silvio, You have to modify Class TVistaMenu and TVistaMenuItem or create some new classes inspired on them
html class
Antonio, I'm trying to make it but I have two problems : 1) show the text 2) click on a symbol I insert on the end of item for the first point ( text ) I 'm trying to found a solution but it is hard the text is go out od the item ( see the picture) I explain for the [b:4xwf01tu]second point[/b:4xwf01tu] I add a data aBtnarray ::aBtnarray := C5Simbol( hDC, ::rcItemL1[1]+((::rcItemL1[3]-::rcItemL1[1])/2)-6,::rcItemL1[4] +2, .f., "u", .T. ) if draw a arrow at the end of item see the image ( red circle) it is visible when the user not is over the item [img:4xwf01tu]https&#58;//s10&#46;postimg&#46;org/cs74hl19l/mio&#46;jpg[/img:4xwf01tu] How I can make to click on it and open a popmenu ?
html class
Silvio, Use the function DrawText() as it draws the text inside a rectangle. Look for DrawText inside FWH/source/classes/*.prg Use a TBtnBmp for the arrow
html class
I tried to insert a btnbmp but it make error @ ::rcItem[1]+1, ::rcItem[3]-11 BTNBMP oBtnLeft SIZE 16, 16 OF Self oBtnLeft:hBitmap1 := LoadBitmap( 0, 32750 ) oBtnLeft:bAction := {|| Msginfo() } oBtnLeft:oFont := ::oWnd:oFont2:hFont I sent you test test [code=fw:1tossn6s]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />&nbsp; &nbsp;Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Work\errori\dashboard\TEST.Exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">Size</span>: <span style="color: #000000;">3</span>,<span style="color: #000000;">643</span>,<span style="color: #000000;">904</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r1703231115<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">17.12</span><br />&nbsp; &nbsp;C compiler version: <span style="color: #000000;">Borland</span>/Embarcadero C++ <span style="color: #000000;">7.0</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span>-bit<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Windows version: <span style="color: #000000;">6.2</span>, Build <span style="color: #000000;">9200</span> <br /><br />&nbsp; &nbsp;Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">0</span> secs <br />&nbsp; &nbsp;Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">01</span>/<span style="color: #000000;">25</span>/<span style="color: #000000;">18</span>, <span style="color: #000000;">10</span>:<span style="color: #000000;">59</span>:<span style="color: #000000;">05</span><br />&nbsp; &nbsp;Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1004</span> &nbsp;<span style="color: #0000ff;">Message</span> not found: <span style="color: #000000;">TDASHBOARDITEM</span>:<span style="color: #000000;">OFONT</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = O &nbsp; TDASHBOARDITEM<br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">ERROR</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>HBOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">OFONT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">306</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARDITEM:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1337</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">744</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TDASHBOARD<span style="color: #000000;">&#40;</span> <span style="color: #000000;">54</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #00C800;">DISPLAY</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TDASHBOARD:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1697</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3356</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> DIALOGBOXINDIRECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">296</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => ERRORDIALOG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">436</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>ERRORSYS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">23</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">ERROR</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>HBOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">OFONT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">306</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARDITEM:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1337</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">744</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TDASHBOARD<span style="color: #000000;">&#40;</span> <span style="color: #000000;">54</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #00C800;">DISPLAY</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TDASHBOARD:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1697</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3356</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> DIALOGBOXINDIRECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">296</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => ERRORDIALOG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">436</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>ERRORSYS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">23</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">ERROR</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>HBOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">OFONT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">306</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARDITEM:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1337</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">744</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TDASHBOARD<span style="color: #000000;">&#40;</span> <span style="color: #000000;">54</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #00C800;">DISPLAY</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TDASHBOARD:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1697</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3356</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> DIALOGBOXINDIRECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">296</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => ERRORDIALOG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">436</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>ERRORSYS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">23</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">ERROR</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>HBOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">OFONT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">306</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARDITEM:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1337</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">744</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TDASHBOARD<span style="color: #000000;">&#40;</span> <span style="color: #000000;">54</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #00C800;">DISPLAY</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TDASHBOARD:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1697</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3356</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> DIALOGBOXINDIRECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">296</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => ERRORDIALOG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">436</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>ERRORSYS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">23</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">ERROR</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>HBOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TDASHBOARDITEM:<span style="color: #000000;">OFONT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">BTNBMP</span>.PRG => TBTNBMP:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">306</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARDITEM:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1337</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">Source</span>\vistamnu.prg => TDASHBOARD:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">744</span> <span style="color: #000000;">&#41;</span><br /><br />System</div>[/code:1tossn6s]
html class
Sorry I saw on classes there is CLASS THtmlPage but not run ?
html class
Silvio, It is only an early prototype
html class
And with this? [code=fw:1969hfxx]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBtnLeft:<span style="color: #000000;">SetFont</span><span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oWnd</span>:<span style="color: #000000;">oFont2</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1969hfxx]
html class
same error
html documentation
Hello, I found this documentation yesterday. I think this is a very good documentation for the beginner. Best regards, Otto [url:11yry4x5]http&#58;//staff&#46;washington&#46;edu/weller/css/DOM&#46;html[/url:11yry4x5]
html report generator triathlon
Hello friends, We are thrilled to announce that Triathlon, our innovative software solution for report generation, has reached a major milestone with the implementation of the powerful WYSIWYG HTML web editor. Triathlon is now running in Webview2, which provides a faster and more secure browsing experience, with the HTML format being the format of the future for reports, Best regards, Otto [img:ln7x8h0u]https&#58;//mybergland&#46;com/fwforum/triathlonclip4&#46;jpg[/img:ln7x8h0u]
html report generator triathlon
wow! tell us more about this... will this been integrated to FWH ? when ?
html report generator triathlon
Hello friends, In this video you can see how to change the HTML files for online display with the desktop version and webview2. The HTML code is stored in a memo field in a DBF. Best regards, Otto [img:2u9ididy]https&#58;//mybergland&#46;com/fwforum/triathlonquotera&#46;gif[/img:2u9ididy]
html viewer
Fivewin have not a html class viewer as to show html files intoa dialog with no activex ( shell .explorer)
html viewer
[code=fw:1rw3j8q1]<div class="fw" id="{CB}" style="font-family: monospace;"><br />ShellExecute<span style="color: #000000;">&#40;</span> oWnd:<span style="color: #000000;">hWnd</span>, <span style="color: #ff0000;">"open"</span>, <span style="color: #ff0000;">"mypage.html"</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1rw3j8q1]
html viewer
Cris, Yes I Know it But I mean a class to show html everywhere Function Test() Local ohtml DEFINE DIALOG oDLG ohtml:Tclassehtmlviewer("page,html",oDlg) activate
html viewer
In FWH 18.03: * New function HtmlView( cURL, [cTitle] ): Displays url in a resizable dialog But it uses the ActiveX control
html viewer
I have problem with activex control because I wish insert it on window not mdi if I make a window Mdi I can insert the activex please as you saw it <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=35498">viewtopic.php?f=3&t=35498</a><!-- l -->
htmlhelp funcion ok... pero los otros no puedo probarlos.
Ya estoy creando mi ayuda en archivos chm que es el nuevo formato html de ayuda de windows. Para eso uso el HTML Help Workshop de Microsoft. Bueno, bonito y es gratis. Si necesitas un ejemplo de como hacer archivos de ayuda. <!-- m --><a class="postlink" href="http://www.mygnet.net/articulos/chm,help/568/">http://www.mygnet.net/articulos/chm,help/568/</a><!-- m --> Mi asunto es el siguiente: La función HtmlHelp() trabaja bien. En base al ejemplo HtmlHelp( 0, "c:\fwh\manual\fwclass.chm", 2, 0 ) Pero no se como usar HTMLHelpCtx() y HTMLHelpPopup(). No hay ejemplos disponibles. Toda ayuda será bien recibida. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Gracias Fernando
htmlhelp funcion ok... pero los otros no puedo probarlos.
Fernando, No las hemos probado, pero quizá por la declaración de los parámetros te sirva: DLL Function HTMLHelpCtx( ; hWnd As LONG, cChmFile As LPSTR, nCommand As LONG, cTopic As LPSTR ) ; AS LONG PASCAL From "HtmlHelpA" Lib "hhctrl.ocx" DLL Function HTMLHelpPopup( ; hWnd As LONG, cChmFile As LPSTR, nCommand As LONG, @sPopUp As LPSTR ) ; AS LONG PASCAL From "HtmlHelpA" Lib "hhctrl.ocx"
http method get
Hi all, I need to execute an http string like this: <!-- m --><a class="postlink" href="http://condominio.emessage.it/CheckAgent.aspx?Userid=pippo&Password=pluto">http://condominio.emessage.it/CheckAgen ... word=pluto</a><!-- m --> and obtain the result html code. How can I make this ? Thanks in advance
http method get
See <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=17194">viewtopic.php?f=6&t=17194</a><!-- l --> Regards, Alvaro
http method get
Hi, thank for your suggest. I tried but always return nil. Did I make something wrong ? #include "FiveWin.ch" static oWnd //----------------------------------------------------------------------------// function Main() local oBar DEFINE WINDOW oWnd TITLE "WebClient test" DEFINE BUTTONBAR oBar 3D OF oWnd DEFINE BUTTON OF oBar ACTION WebClient() ACTIVATE WINDOW oWnd return nil function WebClient() local oWebClient,cad, cstring cString:="GET <!-- m --><a class="postlink" href="http://condominio.emessage.it/CheckAgent.aspx?Userid=pippo&Password=pluto&Agente=Softwarexp">http://condominio.emessage.it/CheckAgen ... Softwarexp</a><!-- m --> HTTP/1.0"+CHR(13)+CHR(10)+"Host: <!-- m --><a class="postlink" href="http://condominio.emessage.it">http://condominio.emessage.it</a><!-- m -->"+chr(13)+chr(10) oWebClient := TWebClient():New() oWebClient:Connect( "condominio.emessage.it" ) oWebClient:bOnRead = { | cData | cad+=cData } oWebClient:oSocket:SendData( cString) msginfo(cad) return nil
http method get
[code=fw:58wulgws]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; ? GETURL<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://condominio.emessage.it/CheckAgent.aspx?Userid=pippo&Password=pluto"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> GETURL<span style="color: #000000;">&#40;</span> cUrl <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">LOCAL</span> cFile := <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span> cUrl, RAT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"/"</span>, cUrl <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">LOCAL</span> oUrl, oCli<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">LOCAL</span> lOk := .F.<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">IF</span> <span style="color: #ff0000;">"?"</span> $ cFile<br />&nbsp; &nbsp; &nbsp; &nbsp; cFile = <span style="color: #0000ff;">LEFT</span><span style="color: #000000;">&#40;</span> cFile, RAT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"?"</span>, cFile <span style="color: #000000;">&#41;</span> - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; BEGIN SEQUENCE<br />&nbsp; &nbsp; &nbsp; &nbsp; oUrl = TUrl<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> cUrl <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> EMPTY<span style="color: #000000;">&#40;</span> oUrl <span style="color: #000000;">&#41;</span>; <span style="color: #00C800;">BREAK</span>; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oCli = TIPClientHttp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> oUrl <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> EMPTY<span style="color: #000000;">&#40;</span> oCli <span style="color: #000000;">&#41;</span>; <span style="color: #00C800;">BREAK</span>; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !oCli:<span style="color: #000000;">Open</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>; <span style="color: #00C800;">BREAK</span>; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !oCli:<span style="color: #000000;">ReadToFile</span><span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span>; <span style="color: #00C800;">BREAK</span>; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; lOk = <span style="color: #ff0000;">"OK"</span> $ UPPER<span style="color: #000000;">&#40;</span> oCli:<span style="color: #000000;">cReply</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oCli:<span style="color: #000000;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> !lOk; FERASE<span style="color: #000000;">&#40;</span> cFile <span style="color: #000000;">&#41;</span>; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; END SEQUENCE<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">RETURN</span> lOk</div>[/code:58wulgws] EMG
http method get
Dear Mr.EMG, [list:h601zrrw]Error: Unresolved external '_HB_FUN_TURL' referenced from D:\HTTPGET.OBJ Error: Unresolved external '_HB_FUN_TIPCLIENTHTTP' referenced from D:\HTTPGET.OBJ * Linking errors * [/list:u:h601zrrw] Any specific lib to be linked ? Regards Anser
http method get
Ok, solved <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Thanks all for the support FUNCTION RUNURL( cUrl, cErr ,cDataToCheck) LOCAL oUrl, oCli LOCAL lOk := .F. LOCAL CRETURN:="" cErr = "" BEGIN SEQUENCE oUrl = TUrl():New( cUrl ) IF EMPTY( oUrl ); BREAK; ENDIF oCli = TIPClientHttp():New( oUrl ) IF EMPTY( oCli ); BREAK; ENDIF oCli:nConnTimeout = -1 IF !oCli:Open(); BREAK; ENDIF cErr = CVALTOCHAR( oCli:ReadAll() ) if cDataToCheck<>NIL if at(cDataToCheck,cErr)>0 lOk:=.t. endif else lOk = !EMPTY( oCli:cReply ) .AND. "OK" $ UPPER( oCli:cReply ) endif cReturn:=oCli:cReply() oCli:Close() END SEQUENCE RETURN lOk
http method get
Sorry, got the answer from here [url:2lcwd3i1]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=15409[/url:2lcwd3i1] Tip.Lib Regards Anser