topic
stringlengths
1
63
text
stringlengths
1
577k
kb of Image
How I can show with a say the kb of a image ( load from getfile() ) ?
kb of Image
Something like that? [code=fw:fzuz2x1v]<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 /><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>   nSize, oWnd, oFont<br />        <br />        nSize := <span style="color: #0000ff;">ROUND</span><span style="color: #000000;">&#40;</span> FSIZE<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"C:<span style="color: #000000;">\p</span>rova.bmp"</span> <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">1024</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</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;">1</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">20</span>, <span style="color: #000000;">50</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Testing"</span><br />        <br />        @ <span style="color: #000000;">10</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">SAY</span> ALLTRIM<span style="color: #000000;">&#40;</span> STR<span style="color: #000000;">&#40;</span> nSize <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" KB"</span> <span style="color: #0000ff;">OF</span> oWnd <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">60</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">COLOR</span> <span style="color: #ff0000;">"N/W*"</span><br />               <br />        <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd                <br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:fzuz2x1v]
kb of Image
YES mAX THANKS... When I load the mage the name of the file is not refresh please run this test [code=fw:30b377j5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"constant.ch"</span><br /><br /><span style="color: #00C800;">STATIC</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>,oChk<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span><br /><span style="color: #00C800;">STATIC</span> cNameImage,dDateModImage,nSizeImage<br /><span style="color: #00C800;">STATIC</span> oImage<br /><br /><br /><span style="color: #00C800;">Function</span> TEST<span style="color: #000000;">&#40;</span>cfile<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span>  oDlg<br />   <span style="color: #00C800;">Local</span>  oBar<br />   <span style="color: #00C800;">Local</span>  nBottom   := <span style="color: #000000;">35</span><br />   <span style="color: #00C800;">Local</span>  nRight    := <span style="color: #000000;">110</span><br />   <span style="color: #00C800;">Local</span>  nWidth :=  <span style="color: #0000ff;">Max</span><span style="color: #000000;">&#40;</span> nRight * DLG_CHARPIX_W, <span style="color: #000000;">180</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span>  nHeight := nBottom * DLG_CHARPIX_H<br />   <span style="color: #00C800;">LOCAL</span>  lSetAlpha := .t.<br /><br />   <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> cfile <span style="color: #000000;">&#41;</span> .and. File<span style="color: #000000;">&#40;</span> cfile <span style="color: #000000;">&#41;</span><br />          cNameImage:= cfile<br />   <span style="color: #00C800;">ELSE</span><br />        cNameImage:= Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">160</span><span style="color: #000000;">&#41;</span><br />        nSizeImage:= <span style="color: #000000;">0</span><br />        dDateModImage := ctod<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"  /  /  "</span><span style="color: #000000;">&#41;</span><br />     <span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg  <span style="color: #0000ff;">SIZE</span> nWidth, nHeight    ;<br />                      <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Immagine"</span><br /><br /><br /><br />    @ <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #0000ff;">IMAGE</span> oImage <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">350</span>, <span style="color: #000000;">150</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SCROLL</span><br /><br />   oImage:<span style="color: #0000ff;">Progress</span><span style="color: #000000;">&#40;</span> .f. <span style="color: #000000;">&#41;</span><br /><br /><br /><br />    @ <span style="color: #000000;">160</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Nome file       :"</span>  <span style="color: #0000ff;">of</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">50</span>,<span style="color: #000000;">10</span>  <span style="color: #0000ff;">PIXEL</span><br />    @ <span style="color: #000000;">180</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Dimensioni      :"</span>  <span style="color: #0000ff;">of</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">50</span>,<span style="color: #000000;">10</span>  <span style="color: #0000ff;">PIXEL</span><br />    @ <span style="color: #000000;">210</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Ultima modifica :"</span>  <span style="color: #0000ff;">of</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">50</span>,<span style="color: #000000;">10</span>  <span style="color: #0000ff;">PIXEL</span><br />    @ <span style="color: #000000;">160</span>,<span style="color: #000000;">60</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span>  cNameImage          <span style="color: #0000ff;">of</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">50</span>,<span style="color: #000000;">10</span>  <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span><br />    @ <span style="color: #000000;">180</span>,<span style="color: #000000;">60</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span>  nSizeImage          <span style="color: #0000ff;">of</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">50</span>,<span style="color: #000000;">10</span>  <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span><br />    @ <span style="color: #000000;">210</span>,<span style="color: #000000;">60</span> <span style="color: #0000ff;">SAY</span> oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">PROMPT</span>  dDateModImage       <span style="color: #0000ff;">of</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">50</span>,<span style="color: #000000;">10</span>  <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span><br /><br />     @ <span style="color: #000000;">210</span>,<span style="color: #000000;">200</span> <span style="color: #0000ff;">BUTTON</span> OBTN <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"SELECT IMAGE"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">45</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">OF</span> OdLG  <span style="color: #0000ff;">ACTION</span> GetImage<span style="color: #000000;">&#40;</span> oImage <span style="color: #000000;">&#41;</span>   <span style="color: #0000ff;">PIXEL</span><br /><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">function</span> GetImage<span style="color: #000000;">&#40;</span> oImage <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> gcFile := cGetFile<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Bitmap (*.bmp)| *.bmp|"</span> +         ;<br />                             <span style="color: #ff0000;">"DIB   (*.dib)| *.dib|"</span> +          ;<br />                             <span style="color: #ff0000;">"PCX   (*.pcx)| *.pcx|"</span>  +         ;<br />                             <span style="color: #ff0000;">"JPEG  (*.jpg)| *.jpg|"</span> +          ;<br />                             <span style="color: #ff0000;">"GIF   (*.gif)| *.gif|"</span>  +         ;<br />                             <span style="color: #ff0000;">"TARGA (*.tga)| *.tga|"</span> +          ;<br />                             <span style="color: #ff0000;">"RLE   (*.rle)| *.rle|"</span> +          ;<br />                             <span style="color: #ff0000;">"All Files (*.*)| *.*"</span>             ;<br />                            ,<span style="color: #ff0000;">"Please select a image file"</span>, <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> gcFile <span style="color: #000000;">&#41;</span> .and. File<span style="color: #000000;">&#40;</span> gcFile <span style="color: #000000;">&#41;</span><br />      oImage:<span style="color: #000000;">LoadBmp</span><span style="color: #000000;">&#40;</span> gcFile <span style="color: #000000;">&#41;</span><br /><br /><br />        cNameImage     := alltrim<span style="color: #000000;">&#40;</span>gcFile<span style="color: #000000;">&#41;</span><br />        nSize := <span style="color: #0000ff;">ROUND</span><span style="color: #000000;">&#40;</span> FSIZE<span style="color: #000000;">&#40;</span> gcFile <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">1024</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />        nSizeImage     :=   ALLTRIM<span style="color: #000000;">&#40;</span> STR<span style="color: #000000;">&#40;</span> nSize <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" KB"</span><br />        dDateModImage  := FDATE<span style="color: #000000;">&#40;</span>gcFile<span style="color: #000000;">&#41;</span><br />         oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span>:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />         oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />         oSay<span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>:<span style="color: #0000ff;">refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">endif</span><br /><br /><br /><br /> </div>[/code:30b377j5] NOW i CAN SEE THE NAME BUT MIDDLE
kb of Image
SORRY i RESOLVED SORRY [b:2v53r579]THIS IS THE RESULT [/b:2v53r579] [img:2v53r579]http&#58;//img823&#46;imageshack&#46;us/img823/2655/00b8&#46;jpg[/img:2v53r579]
key selling arguments - mod harbour
How are you going to make things easy? How are you going to save them time? How are you going to save them money? As marketers, dbf-support is the unique selling point for mod harbour! And with a mapped drive, you have a power solution. You can access your remote files as if it is on your local disk using Windows Explorer, macOS Finder, and all of your software. No need for myPHPAdmin! - you work with your familiar dBase editor.You can work with your desktop program, like in the local network. I'm so excited. A mapped drive, DBF files, a dbf-editor, and a mod harbor web page have the potential to attack WORDPRESS. Data maintenance with the dbf editor is simple and ingenious and, above all, fast. No overhead. No learning curve. [img:18bkgirt]https&#58;//mybergland&#46;com/fwforum/netdrive&#46;gif[/img:18bkgirt]
key selling arguments - mod harbour
Dear Otto, Time to start organizing the next Harbour + mod_harbour conference at Sillian <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
key shortcut
Antonio, In this current version of the fwhx 2.7 when I am in any field as example in this of the Descricao and do I type any shortcut as example Alt+C the cursor is in the field of the shortcut doesn't return how before automatically in I finish it focus, will that be gotten right? [img:13oql0yz]http&#58;//www&#46;sysfar&#46;com&#46;br/temp/telaprod&#46;jpg[/img:13oql0yz] Clemerson
key shortcut
Clemerson, Do you mean that the focus from the GET goes to the pushbutton ?
key shortcut
Please try this sample. Is it ok ? [code:35yrqtqj] #include "Fivewin&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL oDlg LOCAL cVar &#58;= SPACE&#40; 30 &#41; DEFINE DIALOG oDlg @ 1, 1 GET cVar @ 3, 3 BUTTON "&OK" ACTION MsgInfo&#40; "action" &#41; ACTIVATE DIALOG oDlg; CENTER RETURN NIL [/code:35yrqtqj]
key shortcut
Antonio, He didn't give right, the focus was in BUTTON. [img:2hzyyp2m]http&#58;//www&#46;sysfar&#46;com&#46;br/temp/tela2&#46;jpg[/img:2hzyyp2m] Clemerson
key shortcut
[quote="Antonio Linares":8anwttmb]Clemerson, Do you mean that the focus from the GET goes to the pushbutton ?[/quote:8anwttmb] did this, in the versions previous of the fwhx go back to GET when it uses shortcut ALT+????
key virtual board
I created a virtual keyboard but ( I found a test sample of Gabo on spanol forum [b:2ci31ewy] BUT I have a problem:[/b:2ci31ewy] look : [img:2ci31ewy]http&#58;//img836&#46;imageshack&#46;us/img836/4272/keybtouch&#46;jpg[/img:2ci31ewy] for each get I must open the virtual keyboard but when I open the keyboard virtual I must insert the word I pressed into get of virtual keyboard instead I want it must insert the key I pressed directly on the get of the dialog as it make with osk of windows ( the osk not have a get but run on every get) for each buttons I use ACTION (MsgBeep(), oGetTexto:SetFocus(), oGetTexto:KeyChar(ASC("Q")) ) where oGetTexto is the get of virtual keyboard how I can to make it ?
keyboard clear buffer
Hello <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=33093&p=194872&hilit=keyboard+clear#p194872">viewtopic.php?f=3&t=33093&p=194872&hilit=keyboard+clear#p194872</a><!-- l --> to break a combination of < DO WHILE > and < FOR NEXT > with < RETURN > I'm using [color=#0000FF:3fxd64ol]IF LASTKEY() = 13 IF MsgYesNo("Exit from topic collect ?", "EXIT" ) nPage := nPages + 10 // < do while > break lBreak := .T. // < for next > break ENDIF ENDIF[/color:3fxd64ol] at the end I call -> CLEARKEYBOARD() the break [color=#0000FF:3fxd64ol]only works once[/color:3fxd64ol] because the keybord-buffer still shows 13 At the end of the function I test with [color=#0000FF:3fxd64ol]MsgAlert( LASTKEY(), "Lastkey" ) still shows 13[/color:3fxd64ol] any idea <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> [code=fw:3fxd64ol]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"windows.h"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"hbapi.h"</span><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> CLEARKEYBOARD <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />MSG stMsg = <span style="color: #000000;">&#123;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#125;</span>;<br /><br />HWND hWnd = <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>;<br /><br /><span style="color: #00C800;">while</span><span style="color: #000000;">&#40;</span> PeekMessage<span style="color: #000000;">&#40;</span> &stMsg, hWnd, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><br />hb_ret<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDUMP <br /> </div>[/code:3fxd64ol] regards Uwe <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
keyboard clear buffer
Uwe, Try it this way [code=fw:1owtcaj5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">while</span><span style="color: #000000;">&#40;</span> PeekMessage<span style="color: #000000;">&#40;</span> &stMsg, hWnd, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   TranslateMessage<span style="color: #000000;">&#40;</span> &stMsg <span style="color: #000000;">&#41;</span>;         <br />   DispatchMessage<span style="color: #000000;">&#40;</span> &stMsg <span style="color: #000000;">&#41;</span>;  <br /><span style="color: #000000;">&#125;</span><br /> </div>[/code:1owtcaj5]
keyboard clear buffer
Antonio, lastkey() still shows 13 instead of clear I found another solution for the break and added __keyboard( "A" ) // 65 lastkey() = 65 [code=fw:1kxa4ov3]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br />...<br />        <span style="color: #00C800;">IF</span> LASTKEY<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> = <span style="color: #000000;">13</span><br />             <span style="color: #00C800;">IF</span> MsgYesNo<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Exit from topic collect ?"</span>, <span style="color: #ff0000;">"EXIT"</span> <span style="color: #000000;">&#41;</span><br />                  nPage := nPages + <span style="color: #000000;">10</span> <span style="color: #B900B9;">// forces the exit from DO WHILE</span><br />                  lBreak := .T. <span style="color: #B900B9;">// forces the exit from FOR NEXT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; __keyboard<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"A"</span> <span style="color: #000000;">&#41;</span><br />             <span style="color: #00C800;">ENDIF</span><br />       <span style="color: #00C800;">ENDIF</span><br />       nPage++<br />       <span style="color: #00C800;">IF</span> nPage > nPages<br />            EXIT<br />       <span style="color: #00C800;">ENDIF</span><br />   <span style="color: #00C800;">ENDDO</span><br />   <span style="color: #00C800;">IF</span> lBreak = .T.<br />       EXIT<br />    <span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">NEXT</span> nTopic<br /><br /> </div>[/code:1kxa4ov3] regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
keyseek
Hola. Tengo la siguiente funcion asociada a un list box: olbx:bKeyDown:={|nKey|KeySeek(nKey,olbx)}y la funcion keyseek: Function KeySeek(nKey,olbx)SET SOFTSEEK ON IF nKey = 8 // Reset on BackSpace Key oString := "" go top olbx:Upstable() ELSE IF (nKey = 32) .OR. (nKey = 46) .OR. (nKey = 45) .OR. (nKey = 196) .OR. (nKey > 64 .AND. nKey < 91) .OR. (nKey > 39 .AND. nKey < 60) // Check for valid keys ONLY oString := oString + UPPER(Chr(nKey)) DbSeek(oString) olbx : Refresh() ENDIF ENDIFSET SOFTSEEK OFFRETURN NILfunciona pero no para los siguientes caracteres (entre otros): - y . (guion medio y punto). ¿que puede ser? probe con un msgstop mostrando char(nkey), y tecleando varios caracteres, y cuando presiono -, me tira que el nkey es 189 y chr(189) imprime ½, ¿¿¿me explico???Con el punto (.) pasa algo parecido: tecleo el punto, y me dice que el nkey es 190, y chr(190) es ¾.¿tienen idea que puede estar pasando?Gracias. Uso FWH 803
keyseek
Diego,Que font usas ? Y que configuración de teclado en Windows usas ?
keyseek
Hola, Antonio. Sabes, esto del keyseek ya lo solucione. Me podras contestar el otro msg??? el de poder editar gets como en el word. Ahora si hago clic sobre el get, no tengo que poner insert, y ademas, el cursor, si pico en algun lugar en el final, se para automaticamente justo detraz de la ultima palabra. Gracias. Atte.
keyseek
Diego,> esto del keyseek ya lo solucione. Cómo lo solucionastes ? te agradecemos si compartes con todos la solución, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->> Me podras contestar el otro msg???Cual es ?
kiosk mode
Dear Antonio, I remember that you showed on SLACK how to run a mod harbour program in kiosk mode on PC. Unfortunately, I no longer have access to SLACK. Can you please post again how to do it? Best regards Otto
kiosk mode
Dear Otto, > kiosk mode on PC Could you post a screenshot of what you mean ? thanks
kiosk mode
Dear Antonio, start chrome --new-window --app=https://winhotel.space/formular/index.html --window-position=100,100 --window-size=1200,600 It is not really the same you showed us - maybe it was electron. But this works for me. Best regards, Otto [img:1zw002an]https&#58;//mybergland&#46;com/fwforum/winhotelmod1&#46;gif[/img:1zw002an]
kiosk mode
Dear Antonio, Can you please help me? How can you notify the browser that the "APP" has been closed. How to update the browser? Do I have to use a timer? Best regard, Otto
kiosk mode
Dear Otto, is this what you mean ? [url:3bn3jxw0]https&#58;//stackoverflow&#46;com/questions/2584124/javascript-register-window-tab-closing-event-before-window-tab-close[/url:3bn3jxw0] If so, it seems as a little javascript is required: [code=fw:3bn3jxw0]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">window</span>.onbeforeunload = <span style="color: #00C800;">function</span> <span style="color: #000000;">&#40;</span>e<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />&nbsp; <span style="color: #0000ff;">var</span> e = e || <span style="color: #0000ff;">window</span>.event;<br /><br />&nbsp; <span style="color: #B900B9;">// For IE and Firefox</span><br />&nbsp; <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>e<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp; e.returnValue = <span style="color: #ff0000;">'Any string'</span>;<br />&nbsp; <span style="color: #000000;">&#125;</span><br /><br />&nbsp; <span style="color: #B900B9;">// For Safari</span><br />&nbsp; <span style="color: #00C800;">return</span> <span style="color: #ff0000;">'Any string'</span>;<br /><span style="color: #000000;">&#125;</span>;</div>[/code:3bn3jxw0]
kiosk mode
Dear Otto, Are you looking to launch a mod_harbour app from a FWH app ? You could use ShellExecute() to go to a URL Please show a diagram or explanation, thanks
kiosk mode
Dear Antonio, Many Thanks. I don't understand how you can then query the value in FIVEWIN. I have to call the mod harbor APP using a bat file. I installed the APP as a PWA, but I have not yet found out how to start the APP from FIVEWIN. Best regards, Otto [code=fw:cw9o2w15]<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: #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 />   <span style="color: #00C800;">local</span> oDlg, lExit := .f., oBtn<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;">5</span>, <span style="color: #000000;">5</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">15</span>, <span style="color: #000000;">40</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"A Dialog Box"</span><br /><br />          @ <span style="color: #000000;">3</span>,<span style="color: #000000;">4</span> ;<br />      <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&END"</span> ;<br />        <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</span>, <span style="color: #000000;">12</span> ;<br />      <span style="color: #0000ff;">ACTION</span>  <span style="color: #000000;">&#40;</span> lExit := .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 />          <span style="color: #0000ff;">OF</span> oDlg<br /><br /><br />   @ <span style="color: #000000;">3</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">BUTTON</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&Run"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</span>, <span style="color: #000000;">12</span> ;<br />      <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> waitrun<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"c:<span style="color: #000000;">\t</span>est<span style="color: #000000;">\f</span>ormular.bat"</span>, <span style="color: #000000;">0</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;">VALID</span> lExit<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><br /> </div>[/code:cw9o2w15] formular.bat [code=fw:cw9o2w15]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cd\<br />cd C:\Windows\System32<br />REM window-position=y col,x row  <br />start chrome --new-<span style="color: #0000ff;">window</span> --app=https:<span style="color: #B900B9;">//... --window-position=600,300  --window-size=1500,730</span><br /> </div>[/code:cw9o2w15] [img:cw9o2w15]https&#58;//mybergland&#46;com/fwforum/app&#46;jpg[/img:cw9o2w15]
kiosk mode
Dear Antonio, I do not find out how to pass the parameters: [code=fw:pk03n7rn]<div class="fw" id="{CB}" style="font-family: monospace;">--new-<span style="color: #0000ff;">window</span> --app=https:<span style="color: #B900B9;">//wintest.com/formular/index.html --window-position=600,300  --window-size=1500,730</span><br /> </div>[/code:pk03n7rn] Without parameter, Chrome opens. [code=fw:pk03n7rn]<div class="fw" id="{CB}" style="font-family: monospace;">     <br />     @ <span style="color: #000000;">3</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">BUTTON</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"&R u n"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</span>, <span style="color: #000000;">12</span> ;<br />      <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span>  ShellExecute<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span>, <span style="color: #ff0000;">'Open'</span>, <span style="color: #ff0000;">"https://wintest.com/formular/index.html"</span>  , <span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span> <br /><br /> </div>[/code:pk03n7rn] >Are you looking to launch a mod_harbour app from a FWH app ? I would like to launch a mod harbour app from a FWH EXE. Best regards, Otto
kiosk mode
Dear Antonio, Please see the video. [url:1u9pagzs]https&#58;//mybergland&#46;com/fwforum/callmodharbourfromwinhotel&#46;mp4[/url:1u9pagzs] Next step, I will save the changes made inside the form with AJAX. How can I notify my xBrowse that the record changed? That is my problem. Best regards, Otto
kiosk mode
I would say that a timer is a solution, but Mr. Rao surely knows a better way of doing it
know an array
I have a dbf and save the records on a array with conditions saving only the number of invoice (n) if I created an array type AaDd(aSilvio, {n}) if I would like to know if a number (n) has been inserted into that array more than once, how should I know?
know an array
Hello, you could try something like this: [code=fw:fb70y21d]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />   nIterations := <span style="color: #000000;">0</span><br />   <br />   nPos := aScan<span style="color: #000000;">&#40;</span>aArray, <span style="color: #000000;">&#123;</span>|x| x<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>==nFac<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">do</span> <span style="color: #00C800;">while</span> nPos><span style="color: #000000;">0</span><br />      nIterations++<br />      nPos := aScan<span style="color: #000000;">&#40;</span>aArray, <span style="color: #000000;">&#123;</span>|x| x<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>==nFac<span style="color: #000000;">&#125;</span>, nPos<span style="color: #000000;">+1</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">enddo</span><br /><br /> </div>[/code:fb70y21d]
know an array
thanks I wish search on rooms the room number 13 have two bookings I made [code=fw:2pjf9grm]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> ControlloMulti<span style="color: #000000;">&#40;</span>aMultiplePre,nNumero,nStatus,cGuest ,cTypeDay<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> t<br />   <span style="color: #00C800;">Local</span> lReturn :=.f.<br />   <span style="color: #00C800;">Local</span> nTimes:= <span style="color: #000000;">0</span><br />   <span style="color: #00C800;">Local</span> nIterations:=<span style="color: #000000;">0</span><br />   <span style="color: #00C800;">Local</span>   nPos := aScan<span style="color: #000000;">&#40;</span>aMultiplePre, <span style="color: #000000;">&#123;</span>|x| x<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>==nNumero<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">do</span> <span style="color: #00C800;">while</span> nPos><span style="color: #000000;">0</span><br />      nIterations++<br />      nPos := aScan<span style="color: #000000;">&#40;</span>aMultiplePre, <span style="color: #000000;">&#123;</span>|x| x<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>==nNumero<span style="color: #000000;">&#125;</span>, nPos<span style="color: #000000;">+1</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">enddo</span><br /><br />   <span style="color: #00C800;">IF</span>  nIterations ><span style="color: #000000;">1</span><br />      AaDd<span style="color: #000000;">&#40;</span>aPreMulti,<span style="color: #000000;">&#123;</span>nNumero,nStatus,cGuest ,cTypeDay <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />     lReturn :=.t.<br />  <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span>  lReturn<br /> </div>[/code:2pjf9grm] the problem is I see only one booking and not all for a room sample on room 13 I have two bookings but the function show me this [img:2pjf9grm]https&#58;//s15&#46;postimg&#46;cc/xiac3t8ij/test&#46;png[/img:2pjf9grm]
know an array
Now I correct with [code=fw:1x6nr20x]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> ControlloMulti<span style="color: #000000;">&#40;</span>aMultiplePre,nNumero,nStatus,cGuest ,cTypeDay<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> t<br />   <span style="color: #00C800;">Local</span> lReturn :=.f.<br />   <span style="color: #00C800;">Local</span> nTimes:= <span style="color: #000000;">0</span><br />   <span style="color: #00C800;">Local</span> nIterations:=<span style="color: #000000;">0</span><br />   <span style="color: #00C800;">Local</span>   nPos := aScan<span style="color: #000000;">&#40;</span>aMultiplePre, <span style="color: #000000;">&#123;</span>|x| x<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>==nNumero<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><br /><br /><br />   <span style="color: #00C800;">do</span> <span style="color: #00C800;">while</span> nPos><span style="color: #000000;">0</span><br />      nIterations++<br />      nPos := aScan<span style="color: #000000;">&#40;</span>aMultiplePre, <span style="color: #000000;">&#123;</span>|x| x<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>==nNumero<span style="color: #000000;">&#125;</span>, nPos<span style="color: #000000;">+1</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">enddo</span><br /><br />   <span style="color: #00C800;">IF</span>  nIterations >=<span style="color: #000000;">2</span><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>aMultiplePre<span style="color: #000000;">&#41;</span><br />         <span style="color: #00C800;">IF</span>  aMultiplePre<span style="color: #000000;">&#91;</span>n<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = nNumero<br />             AaDd<span style="color: #000000;">&#40;</span>aPreMulti,<span style="color: #000000;">&#123;</span>nNumero,nStatus,cGuest ,cTypeDay <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />             lReturn :=.t.<br />   <span style="color: #00C800;">Endif</span><br />   <span style="color: #00C800;">next</span><br />  <span style="color: #00C800;">endif</span><br /><br />   <span style="color: #00C800;">return</span> lReturn</div>[/code:1x6nr20x] [b:1x6nr20x] and it show now the two bookings for room 13 [/b:1x6nr20x] [img:1x6nr20x]https&#58;//s15&#46;postimg&#46;cc/8g37da2fv/test&#46;png[/img:1x6nr20x] [b:1x6nr20x]but it is correct ?[/b:1x6nr20x]
lAllowColSizing ? - xBrowse
How can I stop [i:1ls3x7ep]Cols [/i:1ls3x7ep]from resizing? Thanks in advance Otto
lAllowColSizing ? - xBrowse
Otto, [url:2yt3s5w7]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=18539#p97122[/url:2yt3s5w7]
lAllowColSizing ? - xBrowse
Hello Bayron, Thank you. I know about lAllowRowSizing but I search an equivalent for columns. Best regards, Otto
lAllowColSizing ? - xBrowse
Hello Otto: [quote="Otto":39oskxbi]I know about lAllowRowSizing but I search an equivalent for columns.[/quote:39oskxbi] I think you need to prevent each column for resizing using data lAllowSizing. Try this: AEval( oBrw:aCols, {|oCol|oCol:lAllowSizing := .t. } ) Best regards.
lAllowColSizing ? - xBrowse
[quote="mmercado":2a8kmttg]AEval( oBrw:aCols, {|oCol|oCol:lAllowSizing := .t. } )[/quote:2a8kmttg] Sorry: AEval( oBrw:aCols, {|oCol|oCol:lAllowSizing := [color=#FF0000:2a8kmttg].F.[/color:2a8kmttg] )
lAllowColSizing ? - xBrowse
Dear Manuel, Thank you so much for your help. Best regards, Otto
lBtnTransparent no funciona en una Window
[quote="horacio":2lipgrxa]Francisco, aquí el código de los gets [code=fw:2lipgrxa]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@  <span style="color: #000000;">24</span> + n, <span style="color: #000000;">200</span> + p <span style="color: #0000ff;">Get</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>  <span style="color: #0000ff;">Var</span> aDatos<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>  <span style="color: #0000ff;">Size</span>  <span style="color: #000000;">50</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">Picture</span> <span style="color: #ff0000;">'@!'</span> <span style="color: #0000ff;">Of</span> oDlg <span style="color: #0000ff;">Pixel</span> <span style="color: #0000ff;">Font</span> oFont1 <span style="color: #0000ff;">Action</span> MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'aqui'</span> <span style="color: #000000;">&#41;</span> bitmap <span style="color: #ff0000;">'C:<span style="color: #000000;">\R</span>es<span style="color: #000000;">\o</span>pen.bmp'</span><br /><br />@ <span style="color: #000000;">116</span> + n, <span style="color: #000000;">050</span> + p <span style="color: #0000ff;">Get</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">Var</span> aDatos<span style="color: #000000;">&#91;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">Size</span> <span style="color: #000000;">200</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">Picture</span> <span style="color: #ff0000;">'@!'</span> <span style="color: #0000ff;">Of</span> oDlg <span style="color: #0000ff;">Pixel</span> <span style="color: #0000ff;">Font</span> oFont1 <span style="color: #0000ff;">Action</span> MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'aqui'</span> <span style="color: #000000;">&#41;</span> bitmap <span style="color: #ff0000;">'C:<span style="color: #000000;">\R</span>es<span style="color: #000000;">\o</span>pen.bmp'</span><br />oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#93;</span>  : <span style="color: #000000;">lBtnTransparent</span> := .t.<br /> </div>[/code:2lipgrxa] Gracias Saludos[/quote:2lipgrxa] Horacio, me parece que al oGet[ 3 ] le falta definir la transparencia: oGet[ 3 ]  : lBtnTransparent := .t.
lBtnTransparent no funciona en una Window
Francisco, lo que mostré en la imagen es como se ve en un dialogo, con y sin transparencias. En una window si definis el button como transparente no lo hace ( como el Get[ 11 ] en el post anterior ). Mira el código que adjunte en el primer post. Gracias Saludos
lBtnTransparent no funciona en una Window
Horacio, Lo he probado en una ventana y en un diálogo y la única diferencia que observo es en el borde del boton dentro del GET. Que efecto es el que se supone tiene en uno que no tiene en el otro ?
lBtnTransparent no funciona en una Window
Gracias Antonio por tu respuesta. Supongo que los controles funcionan de la misma manera sea un dialogo o en una ventana. En el caso de la ventana si pongo la data lBtnTransparent := .t. o lBtnTransparent := .f. no hace nada, cosa que no ocurre en un dialogo. Saludos
lBtnTransparent no funciona en una Window
Horacio, Puedes poner una captura de pantalla de cómo se ve en el diálogo ? gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
lBtnTransparent no funciona en una Window
Antonio, en el tercer post de este hilo hay un link a una imagen de un dialogo. Gracias Saludos
lBtnTransparent no funciona en una Window
Horacio, Ok, gracias, no me habia fijado <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Voy a revisarlo...
lBtnTransparent no funciona en una Window
Horacio, Pruébalo asi: [code=fw:37c4ffh3]<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: #B900B9;">//----------------------------------------------------------------------------//</span><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> oWnd<br />&nbsp; &nbsp; <span style="color: #00C800;">Local</span> oGet<br />&nbsp; &nbsp; <span style="color: #00C800;">Local</span> cVar := Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">100</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style="color: #0000ff;">Define</span> <span style="color: #0000ff;">window</span> oWnd<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">Get</span> oGet <span style="color: #0000ff;">Var</span> cVar <span style="color: #0000ff;">Size</span> <span style="color: #000000;">300</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">Of</span> oWnd <span style="color: #0000ff;">Pixel</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;">'aqui'</span> <span style="color: #000000;">&#41;</span> BITMAP <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\f</span>older.bmp"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; oGet:<span style="color: #000000;">lBtnTransparent</span> := .t. <br />&nbsp; &nbsp; &nbsp; &nbsp; oGet:<span style="color: #000000;">oBtn</span>:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oGet:<span style="color: #000000;">CreateButton</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #0000ff;">Activate</span> <span style="color: #0000ff;">window</span> oWnd<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">Return</span> <span style="color: #000000;">0</span></div>[/code:37c4ffh3]
lBtnTransparent no funciona en una Window
Hola colegas, aquí adjunto el código donde se puede ver el ¿ bug ? [code=fw:3g3lloal]<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: #B900B9;">//----------------------------------------------------------------------------//</span><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> oWnd<br />&nbsp; &nbsp; <span style="color: #00C800;">Local</span> oGet<br />&nbsp; &nbsp; <span style="color: #00C800;">Local</span> cVar := Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">100</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <span style="color: #0000ff;">Define</span> <span style="color: #0000ff;">Window</span> oWnd <br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span> <span style="color: #0000ff;">Get</span> oGet <span style="color: #0000ff;">Var</span> cVar <span style="color: #0000ff;">Size</span> <span style="color: #000000;">300</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">Of</span> oWnd <span style="color: #0000ff;">Pixel</span> <span style="color: #0000ff;">Action</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'aqui'</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oGet : <span style="color: #000000;">lBtnTransparent</span> := .t.<br /><br />&nbsp; &nbsp; <span style="color: #0000ff;">Activate</span> <span style="color: #0000ff;">Window</span> oWnd<br />&nbsp; &nbsp; <span style="color: #00C800;">Return</span> <span style="color: #000000;">0</span><br />&nbsp;</div>[/code:3g3lloal] Alguna solución ?. Muchísimas gracias Saludos
lBtnTransparent no funciona en una Window
[code=fw:2snhtc5p]<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: #00C800;">STATIC</span> oWnd<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> oGet<br />&nbsp; &nbsp;<span style="color: #00C800;">Local</span> cVar := Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">100</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;SetGetColorFocus<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;SkinButtons<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp;<span style="color: #0000ff;">Define</span> <span style="color: #0000ff;">Window</span> oWnd<br />&nbsp; &nbsp; <br />&nbsp; &nbsp;@ <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span> <span style="color: #0000ff;">Get</span> oGet <span style="color: #0000ff;">Var</span> cVar <span style="color: #0000ff;">Size</span> <span style="color: #000000;">300</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">Of</span> oWnd <span style="color: #0000ff;">Pixel</span> ;<br />&nbsp; &nbsp; &nbsp; bitmap <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\o</span>n.bmp"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&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;">'aqui me gusta'</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oGet:<span style="color: #000000;">lBtnTransparent</span> := .T. <span style="color: #B900B9;">// transparent button get</span><br />&nbsp; &nbsp;oGet:<span style="color: #000000;">lAdjustBtn</span> &nbsp; &nbsp; &nbsp;:= .T. &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Button Get Adjust</span><br />&nbsp; &nbsp;oGet:<span style="color: #000000;">nClrTextDis</span> &nbsp; &nbsp; := CLR_WHITE <span style="color: #B900B9;">// Color text disable status</span><br />&nbsp; &nbsp;oGet:<span style="color: #000000;">nClrPaneDis</span> &nbsp; &nbsp; := CLR_BLUE &nbsp;<span style="color: #B900B9;">// Color Pane disable status</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">Activate</span> <span style="color: #0000ff;">Window</span> oWnd<br /><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">Nil</span><br />&nbsp;</div>[/code:2snhtc5p] 
lBtnTransparent no funciona en una Window
karinha, gracias por responder. Adjunto una imagen para que se vea más claro el error. Los gets están montados sobre un dialogo. <!-- m --><a class="postlink" href="http://i62.tinypic.com/25sy6bs.jpg">http://i62.tinypic.com/25sy6bs.jpg</a><!-- m --> Alguna idea ?. Gracias
lBtnTransparent no funciona en una Window
Esta página da web não está disponível. Esta página web no está disponible. Cual és tu versión del FiveWin? En FWH13.06 para mi, está mui bién. Saludos.
lBtnTransparent no funciona en una Window
Que raro, pico en el link y aquí funciona. Uso FWH14.11 Saludos
lBtnTransparent no funciona en una Window
Horacio, podés hacer un copy/paste de la parte de tu código en que definís los dos GET... ACTION?
lBtnTransparent no funciona en una Window
Francisco, aquí el código de los gets [code=fw:2833wkpy]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@  <span style="color: #000000;">24</span> + n, <span style="color: #000000;">200</span> + p <span style="color: #0000ff;">Get</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>  <span style="color: #0000ff;">Var</span> aDatos<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span>  <span style="color: #0000ff;">Size</span>  <span style="color: #000000;">50</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">Picture</span> <span style="color: #ff0000;">'@!'</span> <span style="color: #0000ff;">Of</span> oDlg <span style="color: #0000ff;">Pixel</span> <span style="color: #0000ff;">Font</span> oFont1 <span style="color: #0000ff;">Action</span> MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'aqui'</span> <span style="color: #000000;">&#41;</span> bitmap <span style="color: #ff0000;">'C:<span style="color: #000000;">\R</span>es<span style="color: #000000;">\o</span>pen.bmp'</span><br /><br />@ <span style="color: #000000;">116</span> + n, <span style="color: #000000;">050</span> + p <span style="color: #0000ff;">Get</span> oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">Var</span> aDatos<span style="color: #000000;">&#91;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">Size</span> <span style="color: #000000;">200</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">Picture</span> <span style="color: #ff0000;">'@!'</span> <span style="color: #0000ff;">Of</span> oDlg <span style="color: #0000ff;">Pixel</span> <span style="color: #0000ff;">Font</span> oFont1 <span style="color: #0000ff;">Action</span> MsgAlert<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'aqui'</span> <span style="color: #000000;">&#41;</span> bitmap <span style="color: #ff0000;">'C:<span style="color: #000000;">\R</span>es<span style="color: #000000;">\o</span>pen.bmp'</span><br />oGet<span style="color: #000000;">&#91;</span> <span style="color: #000000;">11</span> <span style="color: #000000;">&#93;</span>  : <span style="color: #000000;">lBtnTransparent</span> := .t.<br /> </div>[/code:2833wkpy] Gracias Saludos
lBtnTransparent no funciona en una Window
Gracias Antonio por tu sugerencia, funciona perfectamente. Saludos
lDiscolors para Radio
Saludos amigos del Foro. Cuando hacemos un Disable() a un control get (por ejemplo), el mismo se ve "apagado", eso lo soluciono con oGet:lDiscolors:=.f. y se ve del color normal. Necesito hacer lo mismo con un control Radio. ¿Hay alguna manera?
lDiscolors para Radio
Buén dia. Que yo sepa, no és posible. Regards, saludos.
lDiscolors para Radio
[quote="karinha":8m950cs0]Buén dia. Que yo sepa, no és posible. Regards, saludos.[/quote:8m950cs0] Hola joao, gracias por la informacion. De no ser posible habra que "imitarlo" pero seria bueno se tomara en cuenta para las proximas actualizaciones de FW. Igual con otros controles como el combobox.
lDiscolors para Radio
hi, have not try to disable a RADIO Button yet, but if you want (any) Color you need to disable Windows Thema [code=fw:335gwfgz]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; SetWindowTheme<span style="color: #000000;">&#40;</span> hWnd, <span style="color: #ff0000;">""</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span></div>[/code:335gwfgz]
lDiscolors para Radio
[quote="Jimmy":r0ytgqgf]hi, have not try to disable a RADIO Button yet, but if you want (any) Color you need to disable Windows Thema [code=fw:r0ytgqgf]<div class="fw" id="{CB}" style="font-family: monospace;">   SetWindowTheme<span style="color: #000000;">&#40;</span> hWnd, <span style="color: #ff0000;">""</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span></div>[/code:r0ytgqgf][/quote:r0ytgqgf] Jimmy, show this via a complete example. When( .F. ) --> Disable() will not be "lit", show me I'm wrong, PLS. Jimmy, muestra esto a través de un ejemplo completo. When(.F.) --> Disable() no esté "encendido", muéstrame que estoy equivocado, por favor. Regards, saludos.
lDiscolors para Radio
hi, [quote="karinha":3j6iwpj3]Jimmy, show this via a complete example. When( .F. ) --> Disable() will not be "lit", show me I'm wrong, PLS. [/quote:3j6iwpj3] as i say : have not try to disable a RADIO Button yet
lDiscolors para Radio
[quote="Jimmy":11n84r6s]hi, [quote="karinha":11n84r6s]Jimmy, show this via a complete example. When( .F. ) --> Disable() will not be "lit", show me I'm wrong, PLS. [/quote:11n84r6s] as i say : have not try to disable a RADIO Button yet[/quote:11n84r6s] Jimmy, [code=fw:11n84r6s]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;<span style="color: #B900B9;">// 1024_768 y 1280_768 ativos, por enquanto. Processo demorado pra kcte.</span><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">RADIO</span> oRadMenu <span style="color: #0000ff;">VAR</span> nOpcRadioTela &nbsp;<span style="color: #0000ff;">ID</span> <span style="color: #000000;">201</span>, <span style="color: #000000;">202</span>, <span style="color: #000000;">203</span>, <span style="color: #000000;">204</span>, <span style="color: #000000;">205</span>, &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">206</span>, <span style="color: #000000;">207</span>, <span style="color: #000000;">208</span>, <span style="color: #000000;">209</span>, <span style="color: #000000;">210</span>, <span style="color: #000000;">211</span>, <span style="color: #000000;">212</span>, <span style="color: #000000;">213</span>, <span style="color: #000000;">214</span>, <span style="color: #000000;">215</span>, <span style="color: #000000;">216</span> <span style="color: #0000ff;">OF</span> oDlgConf <span style="color: #0000ff;">UPDATE</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// ESTA EM: RESOLUC.TXT y RESOTELA.DBF -> 12/04/2021 - Joao.</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">// ATIVO POR ENQUANTO...</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"RESOLUÇÃO: 1024 x 768"</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">7</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">// ATIVO POR ENQUANTO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">8</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"RESOLUÇÃO: 1280 x 768"</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">9</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">11</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">12</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">13</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">14</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">15</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">16</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Disable</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// DESABILITA O RADIO</span><br /><br />&nbsp; &nbsp;oRadMenu:<span style="color: #000000;">SetFont</span><span style="color: #000000;">&#40;</span> oFnt <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:11n84r6s] Regards, saludos.
lDiscolors para Radio
Ver Jimmy: No puedo "iluminar" las RADIOS que están apagadas. See Jimmy: I can't "brighten" the RADIOS that are off. [url:ul3jg5dn]https&#58;//imgur&#46;com/p8Naj9k[/url:ul3jg5dn] [img:ul3jg5dn]https&#58;//i&#46;imgur&#46;com/p8Naj9k&#46;png[/img:ul3jg5dn] Regards, saludos.
lDisplayZeros : FOR Mr Rao
the lDisplayZeros run ok on xbrowse but when I made oBrowse:report it print the zeros ...why ?
lDisplayZeros : FOR Mr Rao
You are right. I think we need to take care of this.
lDisplayZeros : FOR Mr Rao
I 'm seein pdreport.prg I think we must modify it (from 111 - 147 line) or add command for not shoe zeros
lEditCol
Hi, Where can I find out more about this lEditCol. Thanks
lEditCol
Acwoo, Please review samples\fwBrow.prg
lEditCol
Thanks for the reply (FwBrow.prg) function EditRecord( oLbx ) local i local cVar local cAlias := oLbx:cAlias for i := 1 to 4 cVar = ( cAlias )->( FieldGet( i ) ) if ! oLbx:lEditCol( i + 1, @cVar,, { || Validate() } ) exit endif ( cAlias )->( FieldPut( i , cVar ) ) next return nil In FWH2.4, if cVar is an numeric field, it is accepted by @cVar, but in FWH7.11, I have to change cVar to a string before it is accepted by @cVar. How do I solve this problem. Thanks
lEditCol
Acwoo, > I have to change cVar to a string before it is accepted by @cVar. Do you get an error if you don't do it ?
lEditCol
Thanks for the help > I have to change cVar to a string before it is accepted by @cVar. >Do you get an error if you don't do it ? Yes. Error description: Error BASE/1099 Argument error: STR Thanks
lEditCol
Acwoo, Please post the error calls stack, thanks
lEditCol
Thanks for your help Application =========== Path and name: C:\abc\test.exe (32 bits) Size: ********* bytes Time from start: 0 hours 0 mins 13 secs Error occurred at: 09/12/07, 09:14:44 Error description: Error BASE/1099 Argument error: STR Args: [ 1] = U Stack Calls =========== Called from: => STR(0) Called from: => TCLIPGET:_PICTURE(1345) Called from: => TWBROWSE:LEDITCOL(0) Called from: .\test1.prg => EDITOPENBAL(3439) Called from: .\test1.prg => (b)GLPRLYBA(3320) Called from: => TWINDOW:KEYDOWN(0) Called from: => TCONTROL:KEYDOWN(0) Called from: => TWBROWSE:KEYDOWN(0) Called from: => TWINDOW:HANDLEEVENT(0) Called from: => TWBROWSE:HANDLEEVENT(0) Called from: .\source\classes\WINDOW.PRG => _FWH(0) Called from: => DIALOGBOXINDIRECT(0) Called from: => TDIALOG:ACTIVATE(0) Called from: .\test1.prg => GLPRLYBA(3377) Called from: .\ec.prg => (b)BUILDMENU2(2582) Called from: => TMENU:COMMAND(0) Called from: => TWINDOW:COMMAND(0) Called from: => TWINDOW:HANDLEEVENT(0) Called from: .\source\classes\WINDOW.PRG => _FWH(0) Called from: => WINRUN(0) Called from: => TWINDOW:ACTIVATE(0) Called from: .\test.prg => MAIN(146) Thanks
lEditCol
Acwoo, Please modify source\classes\wbrowse.prg line 802 this way and try it again, thanks: [code:12vi4fy1] if ! Empty&#40; cPicture &#41; oGet&#58;oGet&#58;Picture = cPicture endif [/code:12vi4fy1]
lEditCol
Thanks a lot. It Works! Thanks
lEditCol for xBrowse
Hi, In tcbrowse I use lEditCol( nCol, uVar, cPicture, bValid, nClrFore, nClrBack, cMsg, cError ) .Can anyone create the same method for xBrowse? Thank you A.S.K
lEditCol y bValid
Siempre sale del campo y salta al siguiente campo. Evalua el bloque pero no tiene en cuenta el valor retornado. Tambien lSigo siempre es .T.[code:2h462i52]bValid &#58;= &#123;|| &#46;F&#46; &#125; lSigo &#58;= oBro&#58;lEditcol&#40; 2, @uDato, '@!', bValid &#41; [/code:2h462i52] [code:2h462i52]bValid &#58;= &#123;|| ProvExi&#40;@uDato&#41; &#125; lSigo &#58;= oBro&#58;lEditCol&#40;1, @uDato, '@!', bValid&#41;[/code:2h462i52]
lEditCol y bValid
He tenido que modificar el metodo lEditCol de TWBrowse() para que valide y no salga del campo con un valor erroneo.De:[code:1oubueg3]@ 10, 0 BUTTON oBtn PROMPT "" ACTION &#40; oDlg&#58;End&#40;&#41;, lOk &#58;= &#46;t&#46; &#41; OF oDlg DEFAULT[/code:1oubueg3] A: [code:1oubueg3]@ 10, 0 BUTTON oBtn PROMPT "" ACTION &#40; lOk &#58;= oGet&#58;lValid&#40;&#41;, if&#40;lOk, oDlg&#58;End&#40;&#41;,&#41; &#41; OF oDlg DEFAULT[/code:1oubueg3]¿Es normal esto?
lFastEdit en xBrowse
Estimados Tengo un Browse con FastEdit Con éste código hace búsqueda por DESCRIPCION del producto cuando el usuario no sabe el NRO de PRODUCTO [code=fw:1rypopia]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; oCol:=oBrw:<span style="color: #000000;">AddCol</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oCol:<span style="color: #000000;">bStrData</span> &nbsp;:= <span style="color: #000000;">&#123;</span> || DETMP->NRO_PRODUC<span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;oCol:<span style="color: #000000;">nHeadStrAlign</span> := AL_CENTER<br />&nbsp; &nbsp;oCol:<span style="color: #000000;">cHeader</span> &nbsp; := <span style="color: #ff0000;">"Producto"</span><br />&nbsp; &nbsp;oCol:<span style="color: #000000;">nWidth</span>:=<span style="color: #000000;">68</span><br />&nbsp; &nbsp;oCol:<span style="color: #000000;">AddResource</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'Boton-F2'</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;oCol:<span style="color: #000000;">nBtnBmp</span> := <span style="color: #000000;">1</span><br />&nbsp; &nbsp;oCol:<span style="color: #000000;">nEditType</span> := <span style="color: #000000;">5</span> <br />&nbsp; &nbsp;oCol:<span style="color: #000000;">bEditBlock</span> &nbsp; &nbsp;:= <span style="color: #000000;">&#123;</span> |nRow,nCol,oCol| <span style="color: #000000;">&#40;</span>BuscaProd<span style="color: #000000;">&#40;</span>nRow,nCol<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <br />&nbsp; &nbsp;oCol:<span style="color: #000000;">bOnPostEdit</span> := <span style="color: #000000;">&#123;</span>|o, v, n| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span>!lbdr,DETMP->NRO_PRODUC:=v, <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;oCol:<span style="color: #000000;">bEditValid</span>:=<span style="color: #000000;">&#123;</span>| oGet, oCol| Items-><span style="color: #000000;">&#40;</span> dBSeek<span style="color: #000000;">&#40;</span> oGet:<span style="color: #000000;">Value</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iif<span style="color: #000000;">&#40;</span> Items-><span style="color: #000000;">&#40;</span> Eof<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#40;</span> MsgStop<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Codigo de Producto Errado."</span>,<span style="color: #ff0000;">"Error"</span> <span style="color: #000000;">&#41;</span>, .f. <span style="color: #000000;">&#41;</span>, ,.T. <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span> <br />&nbsp;</div>[/code:1rypopia] [img:1rypopia]https&#58;//200&#46;58&#46;169&#46;10/acr/items1&#46;png[/img:1rypopia] Elige el PRODUCTO cuando retorna pierde el FastEdit. Si el usuario sabe el NRO y lo introduce no lo agarra lo obliga a pulsar ENTER [img:1rypopia]https&#58;//200&#46;58&#46;169&#46;10/acr/items2&#46;png[/img:1rypopia] Gracias por la ayuda
lFastEdit en xBrowse
Adhemar, Estamos revisándolo
lFastEdit en xBrowse
[quote:1s9pug6e]bEditBlock This codeblock should return the new value to be assigned if the column value is to be changed or should return NIL if no change is to be made. The codeblock may not directly modify the column value[/quote:1s9pug6e] Este codeblock debe retornar el nuevo valor para ser asignado si el valor de la columna va a cambiarse ó debe devolver NIL si no hay que hacer un cambio. El codeblock no debe modificar el valor de la columna directamente
lFastEdit en xBrowse
Gracias Antonio por responder Para salir del paso he hecho ésto y funciona, claro que no debería ser así. [code=fw:10ovuy41]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">bChange</span>:=<span style="color: #000000;">&#123;</span>|| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span>lBdr,<span style="color: #000000;">&#40;</span>oBrw:<span style="color: #000000;">GoLeftMost</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,SysWait<span style="color: #000000;">&#40;</span>.<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span> ,__KeyBoard<span style="color: #000000;">&#40;</span>Chr<span style="color: #000000;">&#40;</span><span style="color: #000000;">13</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>,__KeyBoard<span style="color: #000000;">&#40;</span>Chr<span style="color: #000000;">&#40;</span><span style="color: #000000;">27</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />&nbsp;</div>[/code:10ovuy41]
lFocused and bLostFocus
Hi to all, obviously <lFocused> is not set when bLostFocus is executed: [code=fw:10ynwmvm]<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 />   <span style="color: #00C800;">LOCAL</span> oDlg<br />   <span style="color: #00C800;">LOCAL</span> oGet<br />   <span style="color: #00C800;">LOCAL</span> cGet := <span style="color: #ff0000;">"test"</span><br />   <span style="color: #00C800;">LOCAL</span> oCheck2<br />   <br />   SetCancel<span style="color: #000000;">&#40;</span> .T. <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;">size</span> <span style="color: #000000;">400</span>, <span style="color: #000000;">400</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"A Dialog Box"</span><br /><br />   @  <span style="color: #000000;">2</span>,  <span style="color: #000000;">2</span> <span style="color: #0000ff;">GET</span> oGet <span style="color: #0000ff;">VAR</span> cGet <span style="color: #0000ff;">OF</span> oDlg<br />   oGet:<span style="color: #000000;">bLostFocus</span> := <span style="color: #000000;">&#123;</span> || Show_Focus<span style="color: #000000;">&#40;</span> oDlg, oGet, cGet <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />   <br />   @  <span style="color: #000000;">3</span>,  <span style="color: #000000;">2</span> <span style="color: #0000ff;">CHECKBOX</span> oCheck2 <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"This is  a second CHECKBOX"</span> <span style="color: #0000ff;">OF</span> oDlg<br /><br />   @  <span style="color: #000000;">5</span>,  <span style="color: #000000;">4</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Ok"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   @  <span style="color: #000000;">5</span>, <span style="color: #000000;">15</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Cancel"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</span>, <span style="color: #000000;">12</span> <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</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<br />   <br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Show_Focus<span style="color: #000000;">&#40;</span> oDlg, oGet, cGet <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">LOCAL</span> i<br />   <span style="color: #00C800;">LOCAL</span> lReturn := .F.<br /><br />   i := AScan<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">aControls</span>, <span style="color: #000000;">&#123;</span> | o | o:<span style="color: #000000;">lFocused</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">IF</span> i > <span style="color: #000000;">0</span><br />     nMsgBox<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Dialog element '"</span> + oDlg:<span style="color: #000000;">aControls</span><span style="color: #000000;">&#91;</span> i <span style="color: #000000;">&#93;</span> :<span style="color: #000000;">cCaption</span> + <span style="color: #ff0000;">"' has the focus"</span>  <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ELSE</span><br />    nMsgBox<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Can't determin focus!"</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">RETURN</span> lReturn</div>[/code:10ynwmvm] The above code always returning 'Can't determin focus!' If it's easily to implement, I would appreciate to have the same behavior in bLostFocus as in bValid!
lFocused and bLostFocus
Frank, Please change this line this way: i := AScan( oDlg:aControls, { | o | o:lFocused } ) to i := AScan( oDlg:aControls, { | o | o:hWnd == GetFocus() } )
lFocused and bLostFocus
perfect, thank you
lGetBar
Hola buenos días, necesito utilizar el filtro en xBrowse ::oBrw:lGetBar := .t. y solo me muestra esto: no me muestra el GET Agradezco cualquier ayuda. [img:3613oo6e]http&#58;//samvt&#46;com&#46;ar/imagesfw/lGetBar&#46;jpg[/img:3613oo6e] Saludos Marcelo
lGetBar
fwh\samples\xbgetbar.prg
lGetBar
Hola Rao, si eso fue lo primero que hice. Lo compilo y funciona bien, no se porque no me anda en el sistema que estoy haciendo Gracias por contestar Saludos
lGetBar
Hola buenas tardes, comento que logre hacer funcionar los filtros, lo unico que me falta es poder ejecutar una cierta tarea despues de cambiar una opcion del combo. [code=fw:2i8rimqu]<div class="fw" id="{CB}" style="font-family: monospace;">::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bBarGetValid</span> := ::<span style="color: #000000;">validoRubro</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br />::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bBarGetChange</span> := ::<span style="color: #000000;">validoRubro</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:2i8rimqu] Cualquiera de las dos opciones que uso solo entra al inicio, luego al cambiar una opcion del combo no ingresa a ese metodo Espero que me puedan ayudar con esto, y ya me quedaria como queria. Saludos
lGetBar
Setting oBrw:lGetBar to .t. or .f. only toggles display of the bar. To make the Gets work, we should first prepare the Gets for the required columns. This is simple [code=fw:1sqg571d]<div class="fw" id="{CB}" style="font-family: monospace;">oCol:<span style="color: #000000;">uBarGetVal</span> := <blankvalue_of the datatype></div>[/code:1sqg571d] You need to do this for those columns for which you want the Gets to work. Once you assign this, XBrowse constructs Gets for these columns when initializing the browse. Optionally you can also provide a picture. [code=fw:1sqg571d]<div class="fw" id="{CB}" style="font-family: monospace;">oCol:<span style="color: #000000;">cBarGetPic</span> := <picture></div>[/code:1sqg571d] Assuming that the field Marca is character type length 20 You can do [code=fw:1sqg571d]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">Marca</span>:<span style="color: #000000;">uBarGetVal</span> := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">20</span><span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1sqg571d]
lGetBar
Hola Rao, genial ahora si me muestra los gets ja pequeño detalle no lo habia visto. Puedo en lugar de poner un boton para que haga el filtro, a traves de un evento de cambio filtrar, osea ese get tiene ese evento? y a los gets se los puede tratar en algunos casos como un combo? Gracias de antemano saludos Marcelo
lGetBar
[code=fw:kfy8diij]<div class="fw" id="{CB}" style="font-family: monospace;">oCol:<span style="color: #000000;">aBarGetList</span>: &nbsp; <span style="color: #00C800;">If</span> you assign an array <span style="color: #0000ff;">combobox</span> will be displayed<br />oCol:<span style="color: #000000;">bBarGetValid</span>: &nbsp;<span style="color: #000000;">You</span> can take <span style="color: #0000ff;">action</span> <span style="color: #0000ff;">when</span> the user completes the entry<br />oCol:<span style="color: #000000;">cBarGetBmp</span>: &nbsp; &nbsp;<span style="color: #000000;">bmp</span> file <span style="color: #0000ff;">name</span> <span style="color: #0000ff;">to</span> show <span style="color: #0000ff;">button</span> <span style="color: #0000ff;">on</span> the <span style="color: #0000ff;">get</span><br />oCol:<span style="color: #000000;">bBarGetAction</span>: <span style="color: #0000ff;">Button</span> <span style="color: #0000ff;">action</span><br />oCol:<span style="color: #000000;">bBarGetChange</span>: <span style="color: #000000;">as</span> it means<br />&nbsp;</div>[/code:kfy8diij] We kept improving bargets. I am not sure how many of the above work in 18.03. Please try the above datas
lGetBar
Muchas gracias Rao, pruebo y comento. Una pregunta se puede usar un combo en lugar de un get? Saludos
lGetBar
Perdon ahi lei que si, voy a probar Gracias
lGetBar
Saludos, podrias colocar una imagen con xbrowse y combo box.? crei no era posible, gracias... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
lGetBar
[img:1t0by0kv]http&#58;//samvt&#46;com&#46;ar//imagesfw/xBrwFilter&#46;jpg[/img:1t0by0kv] [code=fw:1t0by0kv]<div class="fw" id="{CB}" style="font-family: monospace;"><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">lGetBar</span>   := .t.<br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">nGetBarHeight</span>:=<span style="color: #000000;">33</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">15</span><span style="color: #000000;">&#41;</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">20</span><span style="color: #000000;">&#41;</span><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aBarGetList</span> := ::<span style="color: #000000;">aMarca</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">40</span><span style="color: #000000;">&#41;</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">30</span><span style="color: #000000;">&#41;</span><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aBarGetList</span> := ::<span style="color: #000000;">aRubro</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">25</span><span style="color: #000000;">&#41;</span> <br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aBarGetList</span> := ::<span style="color: #000000;">aTipoArt</span><br /><br /> </div>[/code:1t0by0kv]
lGetBar
Como ven en la imagen tengo varios combos, al seleccionar un rubro, necesito actualizar el combo de marcas y cambia su contenido de acuerdo al rubro que seleccione, la sentencia sql ya la hice y el array lo actualizo, pero al volver asignar ese array a la lista no me lo muestra, no lo actualiza con los nuevos valores. ::oBrw:aCols[3]:aBarGetList := ::aMarca Agradezco si me puedes ayudar Gracias Marcelo
lGetBar
I have not seen it, but is it possible to have a range in a Getbar ? Ex. like this > 500 or > 250 .and. < 1500 or If a City has only 2 Chars As it will show all with As into the city name. Maybe a way that we can see only if it has AS. like =="AS"
lGetBar
En la imagen que muestro hay un importe el del precio, pero no le puse filtro pero se me paso la idea de que en algun momento pueda necesitar eso del rango de numeros. Creo que no se puede por lo que vi y si se puede no se como es Saludos
lGetBar
[quote="Marcelo Roggeri":1colsptj][img:1colsptj]http&#58;//samvt&#46;com&#46;ar//imagesfw/xBrwFilter&#46;jpg[/img:1colsptj] [code=fw:1colsptj]<div class="fw" id="{CB}" style="font-family: monospace;"><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">lGetBar</span>   := .t.<br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">nGetBarHeight</span>:=<span style="color: #000000;">33</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">15</span><span style="color: #000000;">&#41;</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">20</span><span style="color: #000000;">&#41;</span><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aBarGetList</span> := ::<span style="color: #000000;">aMarca</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">40</span><span style="color: #000000;">&#41;</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">30</span><span style="color: #000000;">&#41;</span><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aBarGetList</span> := ::<span style="color: #000000;">aRubro</span><br /><br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">uBarGetVal</span>  := Space<span style="color: #000000;">&#40;</span><span style="color: #000000;">25</span><span style="color: #000000;">&#41;</span> <br />                ::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">aBarGetList</span> := ::<span style="color: #000000;">aTipoArt</span><br /><br /> </div>[/code:1colsptj][/quote:1colsptj] Muy buena la imagen, es lo que ando buscando, gracias, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->