topic
stringlengths
1
63
text
stringlengths
1
577k
1ª conferencia internacional de usuarios de Harbour y FWH
[b:2zamugw4]Julio 2017[/b:2zamugw4] [url:2zamugw4]http://www.bergland.info/allgemein/fivewin-seminar-july-2017/[/url:2zamugw4] [img:2zamugw4]https://bitbucket.org/fivetech/screenshots/downloads/sillian1.JPG[/img:2zamugw4]
1ª conferencia internacional de usuarios de Harbour y FWH
Coincidiendo con la feria internacional de teléfonía en Barcelona esta semana, mi gran amigo y cliente Back Nam Sam de Seul ha venido a Marbella dos dias a visitarme. Me ha comentado que irá a la conferencia de usuarios de FWH y Harbour de los Alpes y que además hará una presentación de su software de PTT (push to talk) para todos los asistentes. El servidor del sistema PTT está desarrollado integramente con Harbour. Van a asistir grandes expertos en muchas áreas (SQL, Browse, acceso a Google Docs, ADS, PTT, etc.) lo cual proporcionará interesantes sesiones técnicas y sobre todo es una oportunidad única de reunirnos todos los amigos y disfrutar de varios días juntos <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
1ª conferencia internacional de usuarios de Harbour y FWH
Lista actual de asistentes: * [b:d3pwmikp]Estamos gestionando Con Daniel García Gil que venga desde Venezuela[/b:d3pwmikp]. Lista actual de conferenciantes y asistentes: Cristobal Navarro Reinaldo Crespo Nageswararao Gunupudi Antonio Linares Otto Günther DTussman Jack Wilson Biel Philippe Jacquet Maurizio Tomas (Cybertel from Seoul) (two attendees)
1ª conferencia internacional de usuarios de Harbour y FWH
[url:t6hywlnj]https&#58;//groups&#46;google&#46;com/forum/#!topic/harbour-users/tXgmb0XZLTg[/url:t6hywlnj]
1ª conferencia internacional de usuarios de Harbour y FWH
TIEMPO LIBRE during the INTERNATIONAL CONFERENCE ... please visit [url:rymn4pe7]http&#58;//www&#46;bergland&#46;info/xharbour-2017-international-conference-20170703-20170705/#leisure[/url:rymn4pe7] We will be at the most iconic spots of our beautiful Alpine region. Kind regards Ruth (sorry...I can´t write in Spanish.)
1ª conferencia internacional de usuarios de Harbour y FWH
[img:idzwbknd]http&#58;//i65&#46;tinypic&#46;com/2ps4lf4&#46;jpg[/img:idzwbknd]
1ª conferencia internacional de usuarios de Harbour y FWH
[b:2g6ua17w]OFFICIALLY CONFIRMED[/b:2g6ua17w] The [b:2g6ua17w][size=150:2g6ua17w][x]HARBOUR 2017 INTERNATIONAL CONFERENCE[/size:2g6ua17w][/b:2g6ua17w] will take place at Sillian (Austria) from 3rd to 5th of July 2017 - including a leisure programm in the world heritage region of the Dolomites. Who will be speaking at the [x]HARBOUR 2017 INTERNATIONAL CONFERENCE? [list:2g6ua17w]Antonio Linares, CEO FiveTech Software S.L. [/list:u:2g6ua17w] [list:2g6ua17w]CA G. Nageswara Rao, BSc, FCA [/list:u:2g6ua17w] [list:2g6ua17w]Reinaldo Crespo[/list:u:2g6ua17w] [list:2g6ua17w]Cristobal Navarro (FiveTech development team) [/list:u:2g6ua17w] [img:2g6ua17w]http&#58;//www&#46;bergland&#46;info/fivewin/team_kl&#46;jpg[/img:2g6ua17w]
1ª conferencia internacional de usuarios de Harbour y FWH
Estimados; una consulta. no me queda claro el idioma que se usará durante el seminario. En caso que no se pueda en español, tendremos documentación impresa, aunque sea en inglés al llegar al seminario? Saludos Fernando Espinoza A.
1ª conferencia internacional de usuarios de Harbour y FWH
Dear friends, the language could be English - using handouts in English and Spanish - what do you think? Kind regards Ruth
1ª conferencia internacional de usuarios de Harbour y FWH
Eso sería muy conveniente y necesario. Saludos
1ª conferencia internacional de usuarios de Harbour y FWH
Dear friends, the official T-Shirt for the conference is available now. Please leave a comment or contact me (<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->) if you want to get one. The sizes are S, M, L, XL and XXL. Kind regards Ruth [img:22ehclr9]http&#58;//www&#46;bergland&#46;info/fivewin/tshirt&#46;jpg[/img:22ehclr9]
1ª conferencia internacional de usuarios de Harbour y FWH
Dear friens from Spain, maybe you want to join Antonio on his flight from MADRID to MUNICH on Sunday, 2nd of July. [img:2wqkdf3d]http&#58;//bergland&#46;info/fivewin/madrid_munich_flight&#46;jpg[/img:2wqkdf3d] Please book your flight very soon - we will then organize the transfer from MUNICH to SILLIAN (hotel). Kind regards Ruth
1ª conferencia internacional de usuarios de Harbour y FWH
[size=150:2lbecw4c]Request Participants[/size:2lbecw4c] [u:2lbecw4c][size=150:2lbecw4c]Indicate your Preferred Topics[/size:2lbecw4c][/u:2lbecw4c] We plan to restructure the topics and contents for discussion in the seminar to match the profiles and preferences of the participants. We request the participants attending the seminar to please help us by filling up a simple survey at this link: <!-- m --><a class="postlink" href="https://goo.gl/forms/sxCZqjWdHFnMyr5T2">https://goo.gl/forms/sxCZqjWdHFnMyr5T2</a><!-- m --> Image of the sample survey screen: [url=https&#58;//imageshack&#46;com/i/pnrGNmV4p:2lbecw4c][img:2lbecw4c]http&#58;//imagizer&#46;imageshack&#46;us/v2/xq90/923/rGNmV4&#46;png[/img:2lbecw4c][/url:2lbecw4c] Indicate your preferences in the scale of 0 to 3 0 : Not interested 1 : Brief introduction : 30 minutes is enough 2 : Like Broad coverage : 60 minutes 3 : Prefer indepth discussion: 90 minutes
1ª conferencia internacional de usuarios de Harbour y FWH
<!-- m --><a class="postlink" href="https://winhotel.space/videohtml5/index.prg">https://winhotel.space/videohtml5/index.prg</a><!-- m -->
2 XBROWSEs on a window
I want to create two xbrowses with two different dbfs in a dialog or a window divided by a horizontal splitter so that when I resize the window or the dialog the procedure must resize also the xbrowses and the splitter there is an sample test to create it, please ? Some can help me to create it please
2 XBROWSEs on a window
Silvio , See c:\fwh\samples\testSP*.PRG SALUDOS..
2 XBROWSEs on a window
sorry but not see xbrowses and ....then my problem is another I use a Main window and on it a dialog with style nor 4 on this dialog i have two xbrowses one on top and one on bottom and one splitter horizontal between xbrowses when I resize the main window it not resize the xbrowses look it please : [b:1ix2tl58]first[/b:1ix2tl58] [img:1ix2tl58]http&#58;//img38&#46;imageshack&#46;us/img38/6548/62967622&#46;jpg[/img:1ix2tl58] [b:1ix2tl58]second[/b:1ix2tl58] [img:1ix2tl58]http&#58;//img24&#46;imageshack&#46;us/img24/6927/32468117&#46;jpg[/img:1ix2tl58] [b:1ix2tl58]third[/b:1ix2tl58] [img:1ix2tl58]http&#58;//img27&#46;imageshack&#46;us/img27/333/12842010&#46;jpg[/img:1ix2tl58]
2 XBROWSEs on a window
Hello Silvio, I started a Test and it looks quite good. It works perfect. It is not easy, to do what You need. Is this the Solution, You are looking for ?. I still have to adjust the 2 Browsers ( Height ) to the Splitter-Position for a complete Sample ( like You can see in the Screenshot ). What I do : 1. I create a Main-Window ( MDI ) 2. A MDIChild with a embedded Dialog. The Main-Window with a Dialog and 2 included browsers with a horizontal Splitter. [img:33hq4xwj]http&#58;//www&#46;pflegeplus&#46;com/pictures/splitter1&#46;jpg[/img:33hq4xwj] Resizing the Main-Window also resizes Dialog and Browser : [img:33hq4xwj]http&#58;//www&#46;pflegeplus&#46;com/pictures/splitter2&#46;jpg[/img:33hq4xwj] I can resize the Dialog inside the Main-Window. The Browsers are also resized. [img:33hq4xwj]http&#58;//www&#46;pflegeplus&#46;com/pictures/splitter3&#46;jpg[/img:33hq4xwj] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
2 XBROWSEs on a window
perhaps you not understand me .... I have a main window [b:3hhv43v6]NO MDI[/b:3hhv43v6] On this main window I open a [b:3hhv43v6]Dialog ::nStyle = nOR( WS_CHILD, 4 )[/b:3hhv43v6] On this dialog I want insert two [b:3hhv43v6]xbrowses[/b:3hhv43v6] There is an horizontal splitter between the xbrowses each xbrowses have ::left = 120 because on right I must insert a vmenu
2 XBROWSEs on a window
Hello Silvio, to control [color=#FF0000:1w61co2d]Resizing from the Main-Window[/color:1w61co2d], it works only with MDI, otherwise You will notice the Problems You posted. To resize the Dialog together with the Main-Window, works only with this Solution. Your Post what You asked for : I use a Main window and on it a dialog with style nor 4 on this dialog i have two xbrowses one on top and one on bottom and one splitter horizontal between xbrowses when I [color=#FF0000:1w61co2d]resize the main window [/color:1w61co2d]it not [color=#FF0000:1w61co2d]resize the xbrowses [/color:1w61co2d] [img:1w61co2d]http&#58;//www&#46;pflegeplus&#46;com/pictures/splitter1&#46;jpg[/img:1w61co2d] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
2 XBROWSEs on a window
uwe, on your picture I see a Main window mdi and a window child on it I use a tfsdi mdified to create the dialog and it not run on MDI
2 XBROWSEs on a window
Silvio, the Browsers included inside a normal Dialog. The Child-Window is only the Container for the Dialog. Maybe the Code can help a bit for testing : [code=fw:2gbtuyxv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Splitter.ch"</span><br /><br /><span style="color: #00C800;">static</span> oWnd<br /><span style="color: #00C800;">static</span> oLbx1, oLbx2, oHSplit1<br /><span style="color: #00D7D7;">#define</span> COLOR_BTNFACE &nbsp; <span style="color: #000000;">15</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> cTitle := <span style="color: #ff0000;">"Testing Splitter on Dialog in Child-Window"</span><br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">50</span>, <span style="color: #000000;">50</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">650</span>, <span style="color: #000000;">700</span> <span style="color: #0000ff;">PIXEL</span> ;<br /><span style="color: #0000ff;">TITLE</span> cTitle <span style="color: #0000ff;">MDI</span><br /><br />SET <span style="color: #0000ff;">MESSAGE</span> <span style="color: #0000ff;">OF</span> oWnd <span style="color: #0000ff;">TO</span> cTitle KEYBOARD CLOCK DATE NOINSET<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> BuildChild<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;">// ---------- Container for the Dialog ----------</span><br /><br /><span style="color: #00C800;">FUNCTION</span> BuildChild<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> oChild<br />   <br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oChild <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"A Child Window / Dialog"</span> <span style="color: #0000ff;">MDICHILD</span>  <span style="color: #0000ff;">MENU</span> TMenu<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 />      <span style="color: #0000ff;">COLOR</span> <span style="color: #000000;">0</span>, GetSysColor<span style="color: #000000;">&#40;</span> COLOR_BTNFACE <span style="color: #000000;">&#41;</span><br />      <br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oChild ;<br />      <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #0000ff;">Dialog</span><span style="color: #000000;">&#40;</span> oChild <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;">// ------- Dialog embedded inside the Child-Window -----------------------------</span><br /><br /><span style="color: #00C800;">FUNCTION</span> <span style="color: #0000ff;">Dialog</span><span style="color: #000000;">&#40;</span>oChild<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> oDlg<br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">80</span>, <span style="color: #000000;">50</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">600</span>, <span style="color: #000000;">500</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"A Dialog Box"</span>  <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oWnd<br /><br /><span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">1</span><br />USE EJEMPLO1.DBF<br /><br />@ <span style="color: #000000;">10</span>,<span style="color: #000000;">15</span> <span style="color: #0000ff;">LISTBOX</span> oLbx1 FIELDS <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">115</span>,<span style="color: #000000;">150</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg<br /><br /><span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">2</span><br />USE EJEMPLO2.DBF<br /><br />@ <span style="color: #000000;">160</span>,<span style="color: #000000;">15</span> <span style="color: #0000ff;">LISTBOX</span> oLbx2 FIELDS <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">115</span>,<span style="color: #000000;">150</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg<br /><br />@ <span style="color: #000000;">155</span>,<span style="color: #000000;">15</span> SPLITTER oHSplit1 ;<br />            <span style="color: #0000ff;">HORIZONTAL</span> ;<br />            PREVIOUS CONTROLS oLbx1 ;<br />            HINDS CONTROLS oLbx2 ;<br />            TOP MARGIN <span style="color: #000000;">20</span> ;<br />            BOTTOM MARGIN <span style="color: #000000;">20</span> ;<br />            <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">450</span>, <span style="color: #000000;">4</span> <span style="color: #0000ff;">PIXEL</span> ;<br />            <span style="color: #0000ff;">OF</span> oDlg ;<br />            _3DLOOK ;<br />            <span style="color: #0000ff;">UPDATE</span><br /><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg ;<br /><span style="color: #0000ff;">NOWAIT</span> ;<br /><span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> ChangeParent<span style="color: #000000;">&#40;</span> oDlg, oChild <span style="color: #000000;">&#41;</span><br />      <br />oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>   <br />oChild:<span style="color: #000000;">bResized</span> = <span style="color: #000000;">&#123;</span> || oLbx1:<span style="color: #000000;">SetSize</span><span style="color: #000000;">&#40;</span> oChild:<span style="color: #000000;">nWidth</span>, oChild:<span style="color: #000000;">nHeight</span> / <span style="color: #000000;">2</span> + <span style="color: #000000;">40</span> <span style="color: #000000;">&#41;</span>,;<br />                                    oLbx2:<span style="color: #000000;">SetSize</span><span style="color: #000000;">&#40;</span> oChild:<span style="color: #000000;">nWidth</span>, oChild:<span style="color: #000000;">nHeight</span> / <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />oChild:<span style="color: #000000;">SetSize</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">600</span>, <span style="color: #000000;">500</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//  Dialog-Size</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> ChangeParent<span style="color: #000000;">&#40;</span> oDlg, oChild <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> n<br />   <br /><span style="color: #00C800;">FOR</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">aControls</span> <span style="color: #000000;">&#41;</span><br />      SetParent<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">hWnd</span>, oChild:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br />      AAdd<span style="color: #000000;">&#40;</span> oChild:<span style="color: #000000;">aControls</span>, oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />      oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">oWnd</span> = oChild<br /><span style="color: #00C800;">NEXT</span><br />   <br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:2gbtuyxv] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
2 Bitmap o Mas en un Boton
Amigo nuevamente les pido su ayda, como hago para que un boton cambie de bitmap cuando le doy click, Por ejemplo Mesa Libre - Mesa Ocupada - Mesa Cancelada algo asi Gracias
2 Bitmap o Mas en un Boton
[code=fw:3b1c1ead]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">ID</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">RESOURCE</span> <span style="color: #ff0000;">"No"</span>, <span style="color: #ff0000;">"Yes"</span> NOBORDER ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oBtn:<span style="color: #000000;">Toggle</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, MsgBeep<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:3b1c1ead] Saludos.
2 Diccionario de datos ( ADS )
Buenos Días a todos Una consulta Tengo dos diccionario de datos abiertos, pero mi consulta es como puedo cambiarme de diccionario, ya que en los dos diccionario hay una tabla "clientes", como lo digo que abra clientes del diccionario 2? Saludos Patricio
2 Diccionario de datos ( ADS )
Resuelto... [code:2o0d0p97]if AdsConnect60&#40; cServidor, nConeccion, cUsuario, cPass,, @hConnection &#41; if !AdsConnect60&#40; cServidor, nConeccion, cUsuario, cPass,, @hConnection2 &#41; return&#40; &#46;f&#46; &#41; endif else return&#40; &#46;f&#46; &#41; endif AdsConnect&#40; hConnection &#41; use &#46;&#46;&#46; &#46;&#46;&#46; AdsConnect&#40; hConnection2&#41; use&#46;&#46; &#46;&#46;&#46; [/code:2o0d0p97] Espero que alguien le sirva Saludos Patricio
2 Diccionario de datos ( ADS )
Patricio, buenas tardes. oye una pregunta sobre lo que comentas de abrir 2 dd estoy haciendo pruebas y se supone que ya se conecta a los 2 dd pero resulta que las tablas se llaman igual y no me deja abrir abra alguna forma de abrirlas. Saludos.
2 Diccionario de datos ( ADS )
Hola Javier Debes seleccionar el diccionario antes de abrir [code=fw:312q4zlq]<div class="fw" id="{CB}" style="font-family: monospace;">adsConnection<span style="color: #000000;">&#40;</span> hConnection2 <span style="color: #000000;">&#41;</span> <br />sele <span style="color: #000000;">0</span> ;  use cliente <span style="color: #00C800;">NEW</span> <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"CLI01"</span> SHARED<br /><br />adsConnection<span style="color: #000000;">&#40;</span> hConnection1 <span style="color: #000000;">&#41;</span> <br />sele <span style="color: #000000;">0</span> ;  use cliente <span style="color: #00C800;">NEW</span> <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"CLI02"</span> SHARED<br /><br />CLI01-><span style="color: #000000;">&#40;</span> wBrowse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />CLI02-><span style="color: #000000;">&#40;</span> wBrowse<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />dbCloseAll<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /> </div>[/code:312q4zlq]
2 Diccionario de datos ( ADS )
Patricio. Como siempre, se agradece estos tip. salu2 carlos vargas
2 Diccionario de datos ( ADS )
Patricio, muchas gracias. Voy a probar y veremos como funciona. Saludos.
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
Estimados: alguien me puede ayudar con este error Error: Unresolved external '_HB_FUN_HHASKEY' referenced from C:\FWH\LIB\FIVEH.LIB|VALBLANK Error: Unresolved external '_HB_FUN_HB_DECODE' referenced from C:\FWH\LIB\FIVEH.LIB|XBROWSE Si cambio a un FWH anterior que tengo no me lo genera. Muchas gracias FWH 11.04, Borland bcc 582, Harbour (de Fivetech) Saludos Ruben Fernandez ---------------------------------------- Si incluyo estas funciones todo anda ok..ESTA BIEN? FUNCTION HB_DECODE() Return .F. FUNCTION HHASKEY() Return .F. ----------------------------------------------------------
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
You need to add these libraries also to your link script&#058; hbct.lib xhb.lib
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
Ruben, El hecho de poner estas funciones, aras que engañe al enlazador, però te causara lugo problemas en el programa al no realizar lo que realmente se pretende. Añade las librerias q te dice el colega Nag...
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
Gracias Rao, gracias Carles. Se solucionó. No le encontraba la vuelta, pero siempre esta el foro. GRACIAS. Saludos
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
Hola, estuve leyendo el post, aunque no tengo esta version, solo como cultura general los busque en mis carpetas lib's y no las encontre, donde las encontraron ? Estas son las libs que mencionan hbct.lib xhb.lib Saludos LF
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
Saludos son librerias de harbour
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
Gracias Daniel.
2 Errores en FWH 11.04 Borland y Harbour SOLUCIONADO
Gracias Daniel, quizas por eso no las encontre ya que uso xHarbour Saludos LF
2 Listboxes browsing different parts of the same Database
I remember seeing a SAMPLE that used 2 listboxes to display different parts of the same database. I can't find it. Can anyone tell me what its called? Would one use oDATABASE objects for this? [code:2b3w0img]Select DEFECTS DATABASE oDBF_DEFECTS oDBF_DEFECTS&#58;GoTop&#40;&#41; oListBoxSection&#58;SetoDbf&#40; oDBF_DEFECTS &#41; oListBoxSection&#58;cAlias = oDBF_DEFECTS&#58;cAlias #xtranslate oDBF_DEFECTS&#58;DEFECTS&#58; => oDBF_DEFECTS&#58; ADD COLUMN TO BROWSE oListBoxSection DATA oDBF_DEFECTS&#58;DEFECTS&#58;SECTION HEADER "Section" OEM ALIGN LEFT DATABASE oDBF_DEFECTS2 oDBF_DEFECTS&#58;GoTop&#40;&#41; oListBoxSection2&#58;SetoDbf&#40; oDBF_DEFECTS2 &#41; oListBoxSection2&#58;cAlias = oDBF_DEFECTS2&#58;cAlias #xtranslate oDBF_DEFECTS2&#58;DEFECTS&#58; => oDBF_DEFECTS2&#58; ADD COLUMN TO BROWSE oListBoxSection2 DATA oDBF_DEFECTS2&#58;DEFECTS&#58;SECTION HEADER "Section" OEM ALIGN LEFT[/code:2b3w0img]
2 Listboxes browsing different parts of the same Database
To display diferent records from same dbf, you must open the DBF two times with dferent alias.
2 Listboxes browsing different parts of the same Database
Ollie, >To display diferent records from same dbf, you must open the DBF two times with dferent alias. And with my TData class you don't have to deal with aliases. You would just create two database objects and use them. No dealing with SELECT statements either. Best is to create a defects class. [code:2wih376c]class TDefects method new&#40;&#41; endclass method new&#40;&#41; class TDefects super&#58;new&#40;,"defects"&#41; &#58;&#58;use&#40;&#41; if &#58;&#58;used&#40;&#41; addIndex&#40;"defect1"&#41; addIndex&#40;"defect2"&#41; &#58;&#58;setOrder&#40;1&#41; &#58;&#58;gotop&#40;&#41; endif return self[/code:2wih376c] OK, now you can just open two copies of the database: [code:2wih376c]oDefects1&#58;= TDefects&#40;&#41;&#58;new&#40;&#41; oDefects2&#58;= TDefects&#40;&#41;&#58;new&#40;&#41;[/code:2wih376c] And then build the browses: [code:2wih376c]@ 0,0 oLbx1 fields oDefects1&#58;date, oDefects1&#58;descrip; headers "Date","Description"; alias oDefects1&#58;cAlias @0,0 oLbx2 fields oDefects2&#58;date, oDefects2&#58;descrip; headers "Date","Description"; alias oDefects2&#58;cAlias[/code:2wih376c] Simple! James
2 Problems with TFolderex and FWH11.03
Hi, with TFolderex I've got 2 problems in displaying: 1) The last character of each of the say-items on the folder is missing. All resources are stored in a .rc-file. This was not happening with the fwh10.09 I used before. And it isn't happening in fwh11.03 with TFolder (look at the red marking lines in the screenshots) (This problem is new with FWH11.03) (and behind the say-items, there is enough space for painting another 2-3 characters, I checked it in my resources) 2) It seems it isn't possible anymore to disable say-items on a folder (whereas it's no problem to do at a normal dialog). Look at the red x-marks in the screenshots. (This behaviour was the same in fwh10.09) The dialogs on the folders of TFolderex and TFolder are exactly the same ones TFolderEx: [img:fassx4ds]http&#58;//www&#46;ctosoftware&#46;de/images/stories/fivetech/folderex&#46;jpg[/img:fassx4ds] TFolder: [img:fassx4ds]http&#58;//www&#46;ctosoftware&#46;de/images/stories/fivetech/folder_normal&#46;jpg[/img:fassx4ds]
2 Problems with TFolderex and FWH11.03
Hello it's already fixed [url:3pn36oiv]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?p=112702#p112702[/url:3pn36oiv] try download again FWH
2 Problems with TFolderex and FWH11.03
[quote="Daniel Garcia-Gil":8731d4xy]Hello it's already fixed [url:8731d4xy]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?p=112702#p112702[/url:8731d4xy] try download again FWH[/quote:8731d4xy] Thanks, obviously problem 1) is fixed. But what about disabling a say on tfolderex?
2 Problems with TFolderex and FWH11.03
Just downloaded the newest fwh11.03, but the problem still exists. (the tfoldex.prg in my \source-directory still has 2010-12-18 as it's date) It looks, both my problems still exist... Any other suggestions?
2 Problems with TFolderex and FWH11.03
Hola [code=fw:pnzlkbws]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#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 />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oWnd<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oFld<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"TFolderex - Testing -"</span><br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp;@ <span style="color: #000000;">3</span>, <span style="color: #000000;">3</span> FOLDEREX oFld <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">ADJUST</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">PROMPT</span> &nbsp;<span style="color: #ff0000;">"&Social"</span> ;<span style="color: #B900B9;">//, "&OS" , "&Games", "&Movies", "&Email", "Mo&nths", "Se&tting", "E&xit";</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOP <br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br />&nbsp; &nbsp; &nbsp; <br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br />&nbsp;</div>[/code:pnzlkbws]
2 Problems with TFolderex and FWH11.03
yo probe por recursos <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> salu2
2 Problems with TFolderex and FWH11.03
Hello gkuhnert to current fivewin version you can set FALSE the dialog transparence sample [code=fw:2pm4zusf]<div class="fw" id="{CB}" style="font-family: monospace;">oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lTransparent</span> = .F.</div>[/code:2pm4zusf] to next version will be fix
2 Problems with TFolderex and FWH11.03
daniel ya que estamos con tfolderex, pudes hacer la prueba de un folder con un solo page por lo menos en la version de dic/2010 falla. ya se que no es logico un folder de un page. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> salu2 carlos vargas
2 Problems with TFolderex and FWH11.03
Daniel, estoy usando FolderEx, y creo un arreglo antes de abrir el dialogo, en ese arreglo cargo los prompts del folder, el caso es que puede ser de 1 a 20, y cuando es solo 1 prompt la clase envia un error, esto lo hago desde recursos, con codigo si funciona, hay alguna solucion? gracias pak.o
2 Problems with TFolderex and FWH11.03
Carlos, ya que vamos usando la folderex, claro que no suena lógico un folder de una pestaña, pero mi proceso asi lo requiere, aparte que tiene excelente pinta y me gusta, entonces le hice un pequeño engaño al folderex para cuando me queda solo 1 pestaña, a ver si te parece la idea, a mi me funcionó y me solucionó el problema mientras esperemos y se corrija la clase... ahi va si mi arreglo es de solo 1 registro, le agrego uno mas sin nombre, luego ya creado el folder lo oculto y nomas aparece 1 pestaña, en codigo me quedo asi: se me paso utilizo una variable logica para saber si el arreglo es de solo 1 registro: lUno := .F. IF LEN(aPrompts) == 1 AADD( aPrompts, "" ) lUno := .T. ENDIF DEFINE DIALOG oDls .....bla bla bla oFolder := TFolderEx():Redefine(100,oDls,aDialogs,,aPrompts,40,,5) IF lUno oFolder:aEnable := { .T., .F. } oFolder:aVisible := { .T., .F. } ENDIF ACTIVATE DIALOG oDls asi m ero y me va excelente, jejeje pequeño truco salu2 pak.o
2 Questions MDI / Outlook2003
Hello from Germany, During the testing of the new DB-Tools, 2 small things i would like to change. 1 When you create a MDI - Window, there is menue Childs Window Help Is it possible, to disable it ? 2. In Outlook2003 i get a ugly black part above the buttons, where normaly should be a Child-Dialog when i open a extern Dialog (Focus lost). Is it possible, to get a background-color for the black part ? In the moment, the 1. Button on top of the Button-list is a <Dummy-button> with a blank child. I just do SetOption(1), before i carry on with the selected function. In this way the background is filled. [img:3qyj4z08]http&#58;//www&#46;pflegeplus&#46;com/pictures/outlook2&#46;jpg[/img:3qyj4z08] Thank you <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> Uwe
2 Questions MDI / Outlook2003
There are two ways First : DEFINE WINDOW oWnd MDI MENU TMenu():New() Menubar itself will not appear Second: DEFINE WINDOW oWnd MDI MakeMenu() .... func makemenu local omenu MENU omenu 2007 MENUITEM "" DISABLED ENDMENU return omenu Now a blank menubar appears
2 Questions MDI / Outlook2003
We can not see your image. Can you post the correct link please ?
2 años intentando ordenar y tree y no da.
No hay forma de ordenarlo, y el souce es complicado seguirlo no esta comentado.
2 años intentando ordenar y tree y no da.
Te has planteado reordenar los datos y reconstruir el tree ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
2 años intentando ordenar y tree y no da.
si, y al momento de eliminar la rama que necesito ordenar tuve inconvenientes. La idea era solo eliminar la rama que necesitaba ordenar y no todo el arbol, por eso estoy empezando desde cero y despues acloplarlo a la app que necesito.
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Buenas foro quisiera hacer dos consultas: 1) Entre a trabajar en una nueva empresa que tiene un sistema en clipper (que es un desastre de programación y diseño), como tengo que mantenerlo hasta que empiecen la migración (que seguro llevara años si es que se hace), queria saber que habia pasado con la pagina de harbour? Porque aparece hace meses caida? Sigue desde otra pagina? Los proyectos siguen avanzando o quedaron muertos? Esto mas que nada porque a la persona que reemplazo va a otra empresa y tiene que mantener un sistema en clipper y le recomende harbour, el no quiere aprender nuevos lenguajes si no seguir con este, por eso queria saber si le recomendaba bajar harbour o si se pasara a alguno de los otros como xharbour, mini gui, etc. 2) Me traje de un viejo laburo unos fuentes con funciones y al querer compilarlo con harbour me salto error porque no reconocia el comando "constructor" agregue "hbclass.ch" y me lo reconocio pero ahora me saltan errores en varias lineas y pude determinar que es con el comando new del contructor, les paso un ejemplo: #include "class(y).ch" #include "inkey.ch" #include "setcurs.ch" #include "set.ch" #include "hbclass.ch" create class GenBrowse from TBrowse export: [b:1yadww2k] instvar autoEdit[/b:1yadww2k] instvar appendMode instvar aTBcampo instvar vConsulta endclass constructor [u:1yadww2k]new [/u:1yadww2k](nTop, nLeft, nBottom, nRight), (nTop, nLeft, nBottom, nRight) ::headSep := "???" ::colSep := " ? " IF ISCOLOR() ::setColor( "N/W, N/BG, B/W, B/BG, B/W, B/BG, R/W, B/R" ) ELSE ::setColor("W/N, N/W, W/N, N/W, W+/N,N/W ,B+, U " ) // ENDIF 1 2 3 4 5 6 7 8 ENDIF ::colBlockNum := { |x| x := IF( VALTYPE( x ) == "C", VAL( x ), x ), ; if( x < 0, { 7, 8 }, { 5, 6 } ) } ::colBlockAlfa := {|| {3,4} } ::colBlockDate := {|| {3,4} } ::vConsulta := 0 ::aTbCampo := {} ::vTbDbase := .F. ::skipAgrega := .F. El error me salta en la linea que resalte "instvar autoEdit", porque no me reconoce la instrucción "new", alguno sabra si me falta agregar alguna ch mas para tener al constructor trabajado bien? Saludos.
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Comenta esta línea: // #include "class(y).ch" y cambia "instvar" por "data" Harbour está muy vivo. Esta es la página oficial de Harbour ahora: [url:1mgunixw]https&#58;//github&#46;com/harbour/core[/url:1mgunixw]
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Más bien esta: <!-- m --><a class="postlink" href="https://harbour.github.io/">https://harbour.github.io/</a><!-- m --> Harbour está más fuerte que nunca <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Hola Antonio, muchas gracias por responderme tan rapido. Avanzo la compilación pero ahora me tira el siguiente mensaje: Lines 1213, Functions/Procedures 3 Generating C source output to 'obj\B_ROCOLU.c'... Done. hbmk2: Compiling... hbmk2: Linking... "p03".exe obj/B_ABROW.o:B_ABROW.c:(.data+0x68): undefined reference to `HB_FUN_GENBROWSE' obj/B_ABROW.o:B_ABROW.c:(.data+0x188): undefined reference to `HB_FUN_ABROWSE_NEW' obj/B_ROCOLU.o:B_ROCOLU.c:(.data+0x108): undefined reference to `HB_FUN_ROCOLUMN_NEW' collect2: ld returned 1 exit status hbmk2: Error: Running linker. 1 c:\harbour3\comp\mingw\bin\gcc.exe obj/proc03.o ........ En el fuente B_GBROW.PRG esta creando la clase GenBrowse del TBrowse, habrá que cambiar alguna linea? //#include "class(y).ch" #include "inkey.ch" #include "setcurs.ch" #include "set.ch" #include "hbclass.ch" create class GenBrowse from TBrowse export: data autoEdit data appendMode data aTBcampo data vConsulta Muchas gracias. Saludos.
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Estas enlazando B_GBROW.obj en tu EXE ?
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Entiendo que si, aca esta el archivo hbp con el cual compilo el sistema. El mensaje que me salta es con los fuentes que estan marcados en negrita. Inicio archivo hbp ---> -o"p03" # Compila solo los fuentes modificados. -inc #-mt #-gtwvg #libreria grafica #-gui #libreria grafica #-rebuild #-trace -info -prgflag=-m -ic:\harbour3\include;c:\harbour3\comp\mingw\include;E:\clipper\INCLUDE -ldflag=-Wl,--allow-multiple-definition #-lc:\harbour3\lib\win\mingw\libhbwin.a -lc:\harbour3\lib\win\mingw\libhbct.a -lc:\harbour3\lib\win\mingw\libhbclipsm.a -lc:\harbour3\lib\win\mingw\libxhb.a #-lc:\harbour3\lib\win\mingw\libhbziparc.a #-lc:\harbour3\lib\win\mingw\libhbmzip.a #-lc:\harbour3\lib\win\mingw\libhbnetio.a -workdir=obj #Lista de PRG's proc03.prg ext\func.prg FUNCGENE\SOMBRA.PRG FUNCGENE\F_SELEC2.PRG #FUNCGENE\F_SELEC3.PRG FUNCGENE\FUNCGENE.PRG [b:1l9do0cm]BROWSE\B_GBROW.PRG BROWSE\B_ABROW.PRG BROWSE\B_ABROW.PRG BROWSE\B_ROCOLU.PRG BROWSE\B_RWCOLU.PRG[/b:1l9do0cm] <-- Fin Archivo hbp La instruccion en el batch que llama al hbp es la siguiente en el batch: hbmk2 %1.hbp -lc:\harbour3\lib\win\mingw\libhbdebug.a -prgflag=-b
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Comprueba si se genera el fichero B_GBROW.obj ó B_GBROW.o
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Buenas Antonio, chequee y me genero tanto el .c como el .o Probe cambiando el nombre de funciones y de fuentes y aún así aparece. Cosa de mandinga. <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> Slds.
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Lo que yo haría en tu lugar sería construir un fichero make propio y asi controlar 100% la construcción del EXE. Hay alguna razón en especial por la que tengas que usar MinGW ? Borland es mucho más amigable y ya tenemos ficheros make que podemos proporcionarte de ejemplo para que asi estés operativo cuanto antes.
2 consultas - 1) Sigue harbour? 2) Constructor y new.
La realidad es que me base todo en lo que me traje de una empresa. Como logre compilar programas chicos y claros, segui en esa línea. Si hay otros caminos que me permitan acortar o disfrutar mas del viaje, vamos para adelante. Por favor, cuando te sea posible pasame los archivos make. El directorio con el harbour3 es el mismo que uso desde esa epoca no lo actualice y las librerias no las conozco aún para que sirve cada una, al haber entrado a un nuevo trabajo me divido entre como mantener un sistema en el que debo arreglar manualmente datos cada 2x3, entre que me enseñan para mantenter otro sistema en php, mysql y javascript y entre mis deseos de conocer a harbour, así que como veras estoy para usar camisa de fuerza ya. jajajajaja <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
2 consultas - 1) Sigue harbour? 2) Constructor y new.
Aqui tienes uno para Borland: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=29272&hilit=borland+makefile#p165094">viewtopic.php?f=6&t=29272&hilit=borland+makefile#p165094</a><!-- l --> y aqui otro para Microsoft Visual Studio: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=28959&p=163012&hilit=microsoft+makefile#p162896">viewtopic.php?f=6&t=28959&p=163012&hilit=microsoft+makefile#p162896</a><!-- l -->
2 data rows in one cell from Xbrowse
In my dbf I have 12 fields with colornames 12 fields with pictures (belong to the colornames) color1 : Black Pic1 : black.jpg color2 : Green pic2 : green.jpg .... until 12 (1-12) In Xbrowse I show the pictures and the filename is also included. Is it possible that also the colornaam from the field color1 is shown into the cel where the picture is show. cell : Black foto itself black.jpg [code=fw:2txtra5e]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">for</span> i = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">12</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cPic = <span style="color: #ff0000;">"pic"</span>+alltrim<span style="color: #000000;">&#40;</span>str<span style="color: #000000;">&#40;</span>i<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WITH OBJECT:&cpic<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">bStrImage</span> &nbsp; &nbsp; := <span style="color: #000000;">&#123;</span> || <span style="color: #ff0000;">"d:<span style="color: #000000;">\p</span>ictures<span style="color: #000000;">\o</span>rigineel<span style="color: #000000;">\"</span>+alltrim(webshop->&cPic) }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :oDataFont &nbsp; &nbsp; := oFontXS<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :nDataStrAlign := AL_CENTER + AL_BOTTOM<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :nDataBmpAlign := AL_CENTER<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :aImgRect &nbsp; &nbsp; &nbsp;:= { nil, nil, -15, nil }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;next<br /></span></div>[/code:2txtra5e]
2 data rows in one cell from Xbrowse
[quote:2ursl8mi]12 fields with colornames 12 fields with pictures (belong to the colornames) [/quote:2ursl8mi] Fields? Does the DBF has 12 + 12 = 24 fields? Do you want to show two fields ( color,image) in each xbrowse column? Total 12 columns? How many records?
2 data rows in one cell from Xbrowse
The dbf has indeed 12 + 12 fields = 24 pic1,pic2,...pic12 and color1,color2,...color12 As below, xbrowse can show the filename below the picture, because the filename is in the field ex. pic1 = blank.jpg but the color name is insite the field color1 and match pic1 for the file ... I was able to show the colornames in the footer corresponding the picture, but that is for the selected row. This will help me, but maybe Xbrowse can also put the colorname insite the cell as the Top In this picture you zee a field : Kleuren where colornames are show lik "Zwart, Gray, Blue ,etc" but this field is not used for this. The 12 fields color1->12 are not shown in the browse (At this point also not selected as DATA) [img:1xonj43o]https&#58;//www&#46;maveco&#46;be/fivewin/webpic&#46;jpg[/img:1xonj43o]
2 data rows in one cell from Xbrowse
Hello Mark, you can use webview2. best regards, Otto [img:3dk3ava7]https&#58;//mybergland&#46;com/fwforum/webviewmark&#46;gif[/img:3dk3ava7]
2 data rows in one cell from Xbrowse
Otto, Thanks, but I stick with FW as it is. I'm able to do almost anything I want with FW, so no need for extra's in my case .... The program is also only for local use.
2 footer line with separated 2 footer row
Dear All, I need to separated 2 footer rows. The picture shows 2 lines in footer but it is not nice in 1 row. How can I separate footer to 2 rows. [url=https&#58;//postimages&#46;org/:36f0xz79][img:36f0xz79]https&#58;//i&#46;postimg&#46;cc/s2ZVdFkf/Footer2lines&#46;png[/img:36f0xz79][/url:36f0xz79][url=https&#58;//postimages&#46;org/:36f0xz79]pic host[/url:36f0xz79] Thanks in advance,
2 footer line with separated 2 footer row
What you have done is the best possible now.
2 footer line with separated 2 footer row
Dear Master Rao, I've got it, Thank you so much.
2 footer line with separated 2 footer row
Dear Master, I try another way. I think, it looks better now. [url=https&#58;//postimg&#46;cc/DmZ6p07Q:3epmjuov][img:3epmjuov]https&#58;//i&#46;postimg&#46;cc/3rjqR06q/Footer2-Rows&#46;png[/img:3epmjuov][/url:3epmjuov]
2 footer line with separated 2 footer row
Good. Please share how did you do it.
2 footer line with separated 2 footer row
Dear Master Rao, I make 2 XBrowse, 1 for records and another 1 for totals. [quote="nageswaragunupudi":3bjphmcx]Good. Please share how did you do it.[/quote:3bjphmcx] [code=fw:3bjphmcx]<div class="fw" id="{CB}" style="font-family: monospace;">*--------------------------*<br />Procedure ShowStat<span style="color: #000000;">&#40;</span> cComInt <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> oDlg, oBrw, oBtn, oSay, oCbx, oLbx, oFnt<br /><span style="color: #00C800;">local</span> aYears, dStartDate, cYear, x, aStat, aSums<br /><br />cYear := <span style="color: #ff0000;">'All '</span><br />aYears:= <span style="color: #000000;">&#123;</span><span style="color: #ff0000;">'All '</span><span style="color: #000000;">&#125;</span><br /><br />dStartDate := READDB<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'fostat'</span>,<span style="color: #ff0000;">'stt_date'</span>,,<span style="color: #ff0000;">'stt_date'</span>,,,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">for</span> x := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0000ff;">year</span><span style="color: #000000;">&#40;</span>date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>-<span style="color: #0000ff;">year</span><span style="color: #000000;">&#40;</span>dStartDate<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">+1</span><br />     aadd<span style="color: #000000;">&#40;</span> aYears, str<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">year</span><span style="color: #000000;">&#40;</span>date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>-<span style="color: #000000;">&#40;</span>x<span style="color: #000000;">-1</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">4</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">next</span><br /><br />aStat := GetStat<span style="color: #000000;">&#40;</span> cComInt, cYear <span style="color: #000000;">&#41;</span><br />aSums := GetSumStat<span style="color: #000000;">&#40;</span> aStat, cYear <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">if</span> !empty<span style="color: #000000;">&#40;</span>aStat<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><br /><br />    oFnt := TFont<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> MEMVAR->aFonts<span style="color: #000000;">&#91;</span><span style="color: #000000;">14</span><span style="color: #000000;">&#93;</span>,, MEMVAR->aFonts<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">+1</span>, .F., .F., <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">700</span>, .F., .F., .F., <span style="color: #000000;">222</span>, <span style="color: #000000;">3</span>, <span style="color: #000000;">2</span>, <span style="color: #000000;">1</span>, , <span style="color: #000000;">34</span> <span style="color: #000000;">&#41;</span><br /><br />    <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">600</span>, <span style="color: #000000;">1240</span> <span style="color: #0000ff;">TITLE</span> rtrim<span style="color: #000000;">&#40;</span>MEMVAR->COM9:<span style="color: #000000;">gst_last</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">' Yearly Statistic'</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">FONT</span> MEMVAR->oFont<br />    <br />        oDlg:<span style="color: #000000;">lHelpIcon</span> := .F.<br />    <br />        @  <span style="color: #000000;">7</span>, <span style="color: #000000;">8</span> <span style="color: #0000ff;">SAY</span> oSay <span style="color: #0000ff;">PROMPT</span> TE<span style="color: #000000;">&#40;</span><span style="color: #000000;">0791</span>,<span style="color: #ff0000;">'??'</span>,<span style="color: #ff0000;">'Year'</span><span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">25</span>, <span style="color: #000000;">13</span> <span style="color: #0000ff;">PIXEL</span> <br />        <br />        @  <span style="color: #000000;">5</span>,<span style="color: #000000;">35</span> <span style="color: #0000ff;">COMBOBOX</span> oCbx <span style="color: #0000ff;">VAR</span> cYear <span style="color: #0000ff;">ITEMS</span> aYears <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">30</span>, <span style="color: #000000;">100</span> <span style="color: #0000ff;">PIXEL</span> ;<br />                  <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">CHANGE</span> <span style="color: #000000;">&#40;</span>aStat := GetStat<span style="color: #000000;">&#40;</span> cComInt, cYear <span style="color: #000000;">&#41;</span>, aSums := GetSumStat<span style="color: #000000;">&#40;</span> aStat, cYear <span style="color: #000000;">&#41;</span>, ;<br />                                 oLbx:<span style="color: #000000;">SetArray</span><span style="color: #000000;">&#40;</span> aSums <span style="color: #000000;">&#41;</span>, oLbx:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oLbx:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span>.T.<span style="color: #000000;">&#41;</span>, ;<br />                                 oBrw:<span style="color: #000000;">SetArray</span><span style="color: #000000;">&#40;</span> aStat <span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span>.T.<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />                                 <br /><br />        @ <span style="color: #000000;">263</span>,<span style="color: #000000;">2</span> <span style="color: #0000ff;">XBROWSE</span> oLbx <span style="color: #0000ff;">OF</span> oDlg ;<br />                  ARRAY aSums ;<br />                  COLUMNS <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span>, <span style="color: #000000;">3</span>, <span style="color: #000000;">4</span>, <span style="color: #000000;">5</span>, <span style="color: #000000;">6</span>, <span style="color: #000000;">7</span>, <span style="color: #000000;">8</span>, <span style="color: #000000;">9</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">11</span>, <span style="color: #000000;">12</span>, <span style="color: #000000;">13</span>, <span style="color: #000000;">14</span>, <span style="color: #000000;">15</span>, <span style="color: #000000;">16</span> ;<br />                  COLSIZES <span style="color: #000000;">50</span>, <span style="color: #000000;">50</span>, <span style="color: #000000;">60</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">100</span> ;<br />                  <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">616</span>, <span style="color: #000000;">36</span> ;<br />                  JUSTIFY  <span style="color: #000000;">2</span>, <span style="color: #000000;">2</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> ;<br />                  <span style="color: #0000ff;">PIXEL</span> ;<br />                  <span style="color: #0000ff;">FONT</span> oFnt ;<br />                  NOBORDER ;<br />                  <span style="color: #0000ff;">WHEN</span> .F. ;<br />                  <span style="color: #0000ff;">PICTURE</span> ,,,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,;<br />                                 <span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span> <br />                <br />                  oLbx:<span style="color: #000000;">lHeader</span> := .F.                     <br /><br />                  xBrStyles<span style="color: #000000;">&#40;</span> oLbx <span style="color: #000000;">&#41;</span><br />                  <br />                  oLbx:<span style="color: #000000;">nRowHeight</span> := <span style="color: #000000;">34</span><br />                  <br />                  oLbx:<span style="color: #000000;">bClrSel</span> := oLbx:<span style="color: #000000;">bClrStd</span><br />                  <br />                  oLbx:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />    <br />        @ <span style="color: #000000;">21</span>, <span style="color: #000000;">2</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">OF</span> oDlg ;<br />                  ARRAY aStat ;<br />                  COLUMNS <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span>, <span style="color: #000000;">3</span>, <span style="color: #000000;">4</span>, <span style="color: #000000;">5</span>, <span style="color: #000000;">6</span>, <span style="color: #000000;">7</span>, <span style="color: #000000;">8</span>, <span style="color: #000000;">9</span>, <span style="color: #000000;">10</span>, <span style="color: #000000;">11</span>, <span style="color: #000000;">12</span>, <span style="color: #000000;">13</span>, <span style="color: #000000;">14</span>, <span style="color: #000000;">15</span>, <span style="color: #000000;">16</span> ;<br />                  HEADERS TE<span style="color: #000000;">&#40;</span><span style="color: #000000;">0791</span>,<span style="color: #ff0000;">'??'</span>,<span style="color: #ff0000;">'Year'</span><span style="color: #000000;">&#41;</span>, TE<span style="color: #000000;">&#40;</span><span style="color: #000000;">0371</span>,<span style="color: #ff0000;">'??????????'</span>,<span style="color: #ff0000;">'Market'</span><span style="color: #000000;">&#41;</span>, TE<span style="color: #000000;">&#40;</span><span style="color: #000000;">0542</span>,<span style="color: #ff0000;">'??????'</span>,<span style="color: #ff0000;">'Type'</span><span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">'Jan'</span>, <span style="color: #ff0000;">'Feb'</span>, <span style="color: #ff0000;">'Mar'</span>, <span style="color: #ff0000;">'Apr'</span>, <span style="color: #ff0000;">'May'</span>, <span style="color: #ff0000;">'Jun'</span>, <span style="color: #ff0000;">'Jul'</span>, <span style="color: #ff0000;">'Aug'</span>, <span style="color: #ff0000;">'Sep'</span>, <span style="color: #ff0000;">'Oct'</span>, <span style="color: #ff0000;">'Nov'</span>, <span style="color: #ff0000;">'Dec'</span>, TE<span style="color: #000000;">&#40;</span><span style="color: #000000;">0355</span>,<span style="color: #ff0000;">'??????'</span>,<span style="color: #ff0000;">'Total'</span><span style="color: #000000;">&#41;</span> ;<br />                  COLSIZES <span style="color: #000000;">50</span>, <span style="color: #000000;">50</span>, <span style="color: #000000;">60</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">75</span>, <span style="color: #000000;">100</span> ;<br />                  <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">616</span>, <span style="color: #000000;">243</span> ;<br />                  JUSTIFY  <span style="color: #000000;">2</span>, <span style="color: #000000;">2</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> ;<br />                  <span style="color: #0000ff;">PIXEL</span> ;<br />                  NOBORDER ;<br />                  <span style="color: #0000ff;">PICTURE</span> ,,,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,;<br />                                 <span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span>,<span style="color: #ff0000;">'@Z 99,999,999'</span><br />                  <br />              <br />                  oBrw:<span style="color: #000000;">bLClicked</span> := <span style="color: #000000;">&#123;</span>| nRow, nCol, nFlags| iif<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">nAt</span>><span style="color: #000000;">3</span> .and. oBrw:<span style="color: #000000;">nAt</span><<span style="color: #000000;">16</span>, GetDetails<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">nArrayAt</span>, oBrw:<span style="color: #000000;">nAt</span>, aStat, cComInt <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />                  <br />                  xBrStyles<span style="color: #000000;">&#40;</span> oBrw <span style="color: #000000;">&#41;</span><br />                  <br />                  oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</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;">CENTER</span> ;<br />                <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">&#40;</span>oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />    <br />end<br /><span style="color: #00C800;">return</span> <br /> </div>[/code:3bjphmcx]
2 impresoras conetadas
buenos días, compañeros: Tengo 2 impresoras conectadas y perfectamente instalada en mismo PC (Una laser fomato A4 y otra pequeña para hacer etiquetas de precios). Como predeterminada, segun windows, siempre tengo la Lase formato A4. Desde el programa, cuando imprimo a una u otra, lo hago así: [code=fw:1jrcwc2x]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">PRINT</span> oPrn <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Etiquetas"</span> <span style="color: #0000ff;">to</span> alltrim<span style="color: #000000;">&#40;</span>cImpEtiqueta<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">PRINT</span> oPrn <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"Factura"</span> <span style="color: #0000ff;">to</span> alltrim<span style="color: #000000;">&#40;</span>cImpA4<span style="color: #000000;">&#41;</span><br /> </div>[/code:1jrcwc2x] El problema está en que si tengo como predeterminada A4 y mando a etiquetas, el formato de las etiquetas me descuadra por completo. Si establezco como predeterminada la de etiquetas, la impresión es correcta. ¿Como cambio el predeterminado desde el propio programa en tiempo de ejecución o qué otra solución tendría esto? Gracias. LORENZO.
2 impresoras conetadas
Mira aqui: [url:2ezjt0m6]http&#58;//fivewin&#46;com&#46;br/index&#46;php?/topic/24782-relat%C3%B3rio-desconfigurado/#comment-275074[/url:2ezjt0m6] Saludos.
2 impresoras conetadas
puedes probar con esto: [code=fw:3nvxgz6o]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SetDefaultPrinter<span style="color: #000000;">&#40;</span> cImpEtiqueta <span style="color: #000000;">&#41;</span><br /><br />... <br />...<br />...<br /><br />SetDefaultPrinter<span style="color: #000000;">&#40;</span> cImpA4 <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:3nvxgz6o] en mi caso, lo único que encuentro de esta instrucción es que demora al iniciar la impresora default
2 issues oBrw:report() and MsgInfo() etc
oBrw:report()1. Trying to print a browse using oBrw:report() get an error message: 2. msgAlert(), msgInfo() etc not centered. How can I get them centered.Thanks in advance.[code:2o0e73xj] Error description&#58; Error BASE/1111 Argument error&#58; LEN Args&#58; &#91; 1&#93; = U Stack Calls =========== Called from&#58; => LEN&#40;0&#41; Called from&#58; => TRCOLUMN&#58;STABILIZE&#40;0&#41; Called from&#58; => &#40;b&#41;STABILIZE&#40;0&#41; Called from&#58; => AEVAL&#40;0&#41; Called from&#58; => TREPORT&#58;STABILIZE&#40;0&#41; Called from&#58; => TREPORT&#58;ACTIVATE&#40;0&#41; Called from&#58; => TXBROWSE&#58;REPORT&#40;4282&#41; Called from&#58; &#46;\JBROWSE&#46;PRG => TOEXITPRINT&#40;6112&#41; Called from&#58; &#46;\JBROWSE&#46;PRG => &#40;b&#41;PLBROW&#40;1342&#41; Called from&#58; => TBUTTON&#58;CLICK&#40;0&#41; Called from&#58; => TBUTTON&#58;HANDLEEVENT&#40;0&#41; Called from&#58; &#46;\source\classes\WINDOW&#46;PRG => _FWH&#40;0&#41; Called from&#58; => SENDMESSAGE&#40;0&#41; Called from&#58; => TDIALOG&#58;COMMAND&#40;0&#41; Called from&#58; => TWINDOW&#58;HANDLEEVENT&#40;0&#41; Called from&#58; => TDIALOG&#58;HANDLEEVENT&#40;0&#41; Called from&#58; => DIALOGBOX&#40;0&#41; Called from&#58; => TDIALOG&#58;ACTIVATE&#40;0&#41; Called from&#58; &#46;\JBROWSE&#46;PRG => PLBROW&#40;1567&#41;[/code:2o0e73xj]
2 issues oBrw:report() and MsgInfo() etc
1. The browse should be active while report is being run.2. bStrData, if not nil, should evaluate to a valid character expression. If bStrData is nil bEditValue should evaluate to a non-nil expression. ( Such problem should not arise if we do not directly code bStrData and use xbrowse command syntax only.)
2 issues oBrw:report() and MsgInfo() etc
NageswaraRao:Since i'm new to xbrowse. How would you convert this code: [code:1lclh3pf] ADD COLUMN to xBrowse oBrw ; DATA &#123;|| if&#40;gl->title == repli&#40;'-', 30&#41;, repli&#40;' ' , 30&#41;, ; if&#40;gl->title == repli&#40;'=', 30&#41;, repli&#40;' ', 30&#41;, ; if&#40;gl->account == "2053" &#46;or&#46; gl->account == "2514"&#46;or&#46; gl->account == "2632", repli&#40;' ', 30&#41;, ; if&#40;gl->account == "2733", repli&#40;' ', 30&#41;, ; if&#40;gl->account == "2833" &#46;or&#46; gl->account == "2933", repli&#40;' ', 30&#41;, ; if&#40;gl->account == "2998" &#46;or&#46; gl->account == "3355", repli&#40;' ', 30&#41;, ; if&#40;gl->account == "3485" , repli&#40;' ', 30&#41;, ; trans&#40;eval&#40;bty13&#41;, '999,999,999'&#41; &#41;&#41;&#41;&#41;&#41;&#41;&#41; &#125;; SIZE 71 RIGHT HEADER cOne COLOR CLR_BLACK,CLR_WHITE [/code:1lclh3pf]
2 issues oBrw:report() and MsgInfo() etc
This code is equivalent to your code[code:1w23l5cy] ADD TO oBrw DATA ; If&#40; gl->title = '-' &#46;or&#46; gl->title = '=' &#46;or&#46; ; gl->account $ '2053,2514,2632,2733,2833,2933,2998,3355,3485', ; 0, Eval&#40; bty13 &#41; &#41; ; PICTURE '@Z 999,999,999' ; SIZE 71 ; HEADER cone ; RIGHT ; // not necessary&#46; XBrowse automatically right justifies numerics COLOR CLR_BLACK,CLR_WHITE // required only if different from browse colors [/code:1w23l5cy]
2 issues oBrw:report() and MsgInfo() etc
Thank you for the code. it certainly is more efficient then what I've been using.My original problem has not been solved. I get the following error message when I attempt to print using oBrw:report(). Antonios suggestion.[code:18eu1byu]Error description&#58; Error BASE/1111 Argument error&#58; LEN Args&#58; &#91; 1&#93; = U Stack Calls =========== Called from&#58; => LEN&#40;0&#41; Called from&#58; => TRCOLUMN&#58;STABILIZE&#40;0&#41; Called from&#58; => &#40;b&#41;STABILIZE&#40;0&#41; Called from&#58; => AEVAL&#40;0&#41; Called from&#58; => TREPORT&#58;STABILIZE&#40;0&#41; Called from&#58; => TREPORT&#58;ACTIVATE&#40;0&#41; Called from&#58; => TXBROWSE&#58;REPORT&#40;4282&#41; Called from&#58; &#46;\JBROWSE&#46;PRG => TOEXITPRINT&#40;6112&#41; Called from&#58; &#46;\JBROWSE&#46;PRG => &#40;b&#41;PLBROW&#40;1342&#41; Called from&#58; => TBUTTON&#58;CLICK&#40;0&#41; Called from&#58; => TBUTTON&#58;HANDLEEVENT&#40;0&#41; Called from&#58; &#46;\source\classes\WINDOW&#46;PRG => _FWH&#40;0&#41; Called from&#58; => SENDMESSAGE&#40;0&#41; Called from&#58; => TDIALOG&#58;COMMAND&#40;0&#41; Called from&#58; => TWINDOW&#58;HANDLEEVENT&#40;0&#41; Called from&#58; => TDIALOG&#58;HANDLEEVENT&#40;0&#41; Called from&#58; => DIALOGBOX&#40;0&#41; Called from&#58; => TDIALOG&#58;ACTIVATE&#40;0&#41; Called from&#58; &#46;\JBROWSE&#46;PRG => PLBROW&#40;1567&#41;[/code:18eu1byu]In your post you said:[quote:18eu1byu] 1. The browse should be active while report is being run. 2. bStrData, if not nil, should evaluate to a valid character expression. If bStrData is nil bEditValue should evaluate to a non-nil expression. ( Such problem should not arise if we do not directly code bStrData and use xbrowse command syntax only.)[/quote:18eu1byu] Frankly I'm lost. All code has been change and still get error message. Also could yo explain what you mean [quote:18eu1byu] 1. The browse should be active while report is being run. [/quote:18eu1byu]I the oBrw is active. Not closed until after the print which doesn't occur because of the error message. Thanks for you help. It is greatly appreciated.
2 issues oBrw:report() and MsgInfo() etc
Some columns of browse must be creating problems. Hope you know that you can hide any column at runtime by right clicking on header.First hide all columns except the first column and run the report. If it works, unhide second column and run report. Like that unhide each column and run the report. You know which column definition is creating the problem. We shall then examine how that column is coded
2 issues oBrw:report() and MsgInfo() etc
Removed all but one. Same error message. All columns coded using the code you sent.
2 issues oBrw:report() and MsgInfo() etc
Mr Hag>My original problem has not been solved. I get the following error message when I attempt to print using oBrw:report(). Antonios suggestion.>We get this error if cHeader of any column is NIL. Please assign some character value to all headers and then try again.Mr Antonio is requested provide a suitable fix to avoid runtime error when any header is nil
2 issues oBrw:report() and MsgInfo() etc
NageswaraRao:Yes that was the problem. Had a cHeader nil. Presently I'm checkin on how to control font size and number of pages to print. I'm printing in landscape with a 15 column browse which gives me a page to print to wide for page error.And it seems to print 6 extra pages which are not needed. Haven't been able to find info yet.TYHanks for the help. Its a real help.Harvey
2 issues oBrw:report() and MsgInfo() etc
Rao,Fixed, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
2 issues oBrw:report() and MsgInfo() etc
Using oBrw:report() which prints fine. But I can't find out how to set a font size and limit number of pages to print. I'm printing in landscape with a 15 column browse which gives me a page "print to wide for page" error. And it seems to print 6 extra pages which are not needed. Haven't been able to find info yet.Need some help.
2 issues oBrw:report() and MsgInfo() etc
Mr.Antonio,Can you please post here the fix, so that I can update my fwh 8.08 ?Thanks,- Ramesh Babu P
2 items: What is a good resource editor? Collor resource dia
1. I'am a Borland Workshop use and need to move on to a 32 bit editor. Any suggestons?2. How do you get great color in a resource dialog. ukoenig screens are great. How is this done using dialogs from resources?
2 items: What is a good resource editor? Collor resource dia
Harvey,1. ResEdit: (free) <!-- m --><a class="postlink" href="http://www.resedit.net/">http://www.resedit.net/</a><!-- m --> PellesC (free) <!-- m --><a class="postlink" href="http://www.smorgasbordet.com/pellesc/">http://www.smorgasbordet.com/pellesc/</a><!-- m --> VSX (Microsoft) free <!-- m --><a class="postlink" href="http://forums.fivetechsoft.com/viewtopic.php?t=9572">http://forums.fivetechsoft.com/viewtopic.php?t=9572</a><!-- m -->
2 lignes headres en twbrowse
Est-il possible d'avoir 2 lignes de titres ds aHeaders en utilisant la classe TwBrowse si oui comment merci beaucoup
2 preguntas 2
1 - Al compilar con el nvo. FiveWin (Agosto 2013) 64 bits. sale este error [code=fw:1z7ur0du]<div class="fw" id="{CB}" style="font-family: monospace;">Compiling...<br />Harbour <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>Rev. <span style="color: #000000;">18881</span><span style="color: #000000;">&#41;</span><br />Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1999</span><span style="color: #000000;">-2013</span>, http:<span style="color: #B900B9;">//harbour-project.org/</span><br />Compiling <span style="color: #ff0000;">'Ex_Dbf01.prg'</span> and generating preprocessed output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Ex_Dbf01.ppo'</span>...<br />Lines <span style="color: #000000;">4815</span>, Functions/Procedures <span style="color: #000000;">4</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Ex_Dbf01.c'</span>... Done.<br />_______________________________________________________________________________<br />Microsoft <span style="color: #000000;">&#40;</span>R<span style="color: #000000;">&#41;</span> C/C++ Optimizing Compiler Version <span style="color: #000000;">16.00</span><span style="color: #000000;">.30319</span><span style="color: #000000;">.01</span> <span style="color: #00C800;">for</span> x64<br />Copyright <span style="color: #000000;">&#40;</span>C<span style="color: #000000;">&#41;</span> Microsoft Corporation.  All rights reserved.<br /><br />Ex_Dbf01.c<br />_______________________________________________________________________________<br />FiveHC64.lib<span style="color: #000000;">&#40;</span>RICHEDIT.obj<span style="color: #000000;">&#41;</span> : <span style="color: #000000;">error</span> LNK2019: <span style="color: #000000;">unresolved</span> external symbol hb_extIsNil referenced in <span style="color: #00C800;">function</span> HB_FUN_RELOADAS<br />RTF<br />Ex_Dbf01.exe : <span style="color: #000000;">fatal</span> error LNK1120: <span style="color: #000000;">1</span> unresolved externals<br />* Linking errors *<br />Presione una tecla para continuar . . .</div>[/code:1z7ur0du] ...alguien sabe que pasa ??? 2 - La función DbfToExcel() en que librería esta ??? Funciona en 64bits ??? Desde ya muchísimas gracias. Un gran abrazo
2 preguntas 2
Miguel Angel, 1. Estamos comprobando que pueda ocurrir, tal vez tengamos que publicar un Harbour 64 bits más actualizado. Vamos a intentar resolverlo hoy. 2. La función esta en database.prg y debería funcionar bien en 64 bits, pero vamos a probarla y te lo confirmamos: function FW_DbfToExcel( cFieldList, bFor, bWhile, nNext, nRec, lRest )
2 preguntas 2
Miguel Angel, te acabo de enviar las librerias más actualizadas de FWH 64 probadas con Visual Studio 2012 Express. Aqui estan funcionando correctamente. Espero el resultado de tus pruebas, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->