topic
stringlengths
1
63
text
stringlengths
1
577k
xBrowse error with 16.01 and resource
Let's work with your example, and let me answer your question: 1) The array was a suggested solution ( from an example or otherwise ) and has been in place for 10 to 15 years. That's how long this format has been working. It makes no difference if I comment it out. 2) The code works fine with FWH 15.12. In fact I...
xBrowse error with 16.01 and resource
[quote:koqvuyip]4) The failure can be isolated to the oCol:AddResource( "CM1") function. If I comment out the others, it still dies with AddResource( ). Also, please remember this is a problem that arose with 16.01 and was not there in 15.12. [/quote:koqvuyip] 1) Can you please try setting oBrw:lGDIP := .f., immediat...
xBrowse error with 16.01 and resource
Setting lGDIP := .f. resolves the problem in that case, and it works as expected. I'm seeing a couple of other places where I have problems and I will see if that resolves it. I will email you all three bitmaps. Tim
xBrowse error with 16.01 and resource
The problem also occurs with SetCheck() and is resolved with lGDIP := .f. That requires a lot of recoding to add that throughout. NEW DISCOVERY: I found this problem occurs when building the program with xBuilder ( xHarbour.com ). It works correctly when building with Harbour and MSVC 2013. Most of my testing is ...
xBrowse error with 16.01 and resource
[quote:3j8orfmr]That requires a lot of recoding to add that throughout. [/quote:3j8orfmr] We do not expect you to do that. We'll make it a lot easier. Just please wait a little. We tested with bcc7 and xharbour too.
xBrowse error with 16.01 and resource
Thanks for sharing your bitmaps. We tested there are no issues with bcc7 with xharbour or bcc7 or msvc with Harbour. The problem is narrowed down to the xhb version you are using. We would be interested in knowing the experience of other xhb users. We may keep improving fwh in future too and at the same time we need t...
xBrowse error with 16.01 and resource
Thanks for working on this. I think a lot of people still use xHB commercial. In my case, it is the very latest solid build they have provided, so it is current. This problem can be isolated to the GDI+ changes made in 16.01. 15.12 does not have the problem. Yes, it is specific to the xHarbour commercial build whi...
xBrowse error with 16.01 and resource
Tim, I sent you yesterday the new libs for testing with xhb.com Are they ok ? thanks
xBrowse error with 16.01 and resource
I emailed you right away that it still does not work Sent from my iPhone using Tapatalk
xBrowse evitar el dialogo popup al capturar un string largo
Buen día foro, tengo un detalle con xbrowse, al capturar en una columna con un varchar(200), en automático se abre una ventana pop para la captura del texto, como si fuera un memo; Se puede evitar la ventana, es decir, que la captura sea directamente sobre la columna del xbrowse ? Joel Andujo de antemano gracias FWH ...
xBrowse evitar el dialogo popup al capturar un string largo
Please set [code=fw:r52l66y2]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oCol:<span style="color: #000000;">cDataType</span> := <span style="color: #ff0000;">"C"</span><br />oCol:<span style="color: #000000;">nDataLen</span>  := <span style="color: #000000;">200</span><br /> </div>[/code:r52l66y2] ...
xBrowse evitar el dialogo popup al capturar un string largo
Excellent Mr. Nages, thank you !! I use ADO. have a nice day Joel Andujo
xBrowse evitar el dialogo popup al capturar un string largo
Please also set: [code=fw:3h872esf]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCol:<span style="color: #000000;">bEditValue</span> &nbsp; := <span style="color: #000000;">&#123;</span> |x| <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;...
xBrowse evitar el dialogo popup al capturar un string largo
Okay Mr. Nages, I make the change and I look forward to the next update. Regards. Joel Andujo
xBrowse extension
Dear Mr. Rao, I did some tests with changing the paint method. Before I go ahead I would like to ask if you think this could be implemented as a general feature? I think it would be fine to have flexibility in painting horizontal and vertical lines. Please see attached screenshot. Here I don’t paint the line between s...
xBrowse extension
Dear Mr. Rao, As a workaround I found a very easy solution for my problem. I check Header caption in the paint method. If I don't want the vertical line I add a space to the caption. This way if I use a space at the end of the Header no vertical line is drawn. Best regards, Otto [code=fw:2k4ogvti]<div class="fw" id="{...
xBrowse faster with less colums
I wonder if Xbrowse is faster with less colums ? I use a app with 25 cols and 300.000 records. every colom has a index tag. I use orderscope for filtering. Speeds slows down while using I could reduce the amount of cols (Will Xbrowse become faster ?) I could split the data in a 2 or 3 folder system, so less data o...
xBrowse faster with less colums
I suggest you test the speed of the same browse with only two or three columns and see. Please also share your experience with us.
xBrowse faster with less colums
Ok will do that. BTW : If we use colors for indicating some conditions like oBrw:bron:bClrStd := { || showcolors(oBrw:bron:Value) } will this function run all records of the database or only them that are visibel in Xbrowse
xBrowse faster with less colums
This codeblock is evaluated while painting every visible cell. Evaluated only for cells visible on the screen. Assume you have a browse with 20 columns and 300,000 rows but on the screen we see 10 columns and 40 rows. When full refresh is called, xbrowse evaluates all relevant codeblocks for 40 x 10 = 400 cells and p...
xBrowse faster with less colums
This clears things up. Thanks. I only use Dbf and CDX, and initial speed is pretty ok. but using the program ( setting values in Barget and scoping for the correct data ) the program slows down until i finaly can get a cup of coffee and when I return, its ready... <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gi...
xBrowse faster with less colums
[quote:3lbz8zun]program slows down until i finaly can get a cup of coffee and when I return, its ready.[/quote:3lbz8zun] This is too bad. It can not be like this. Size of 300,000 records is nothing. We can not comment unless we get into the exact code. Do you have too many deleted records? In that case the performanc...
xBrowse faster with less colums
This is the code i'm working on and try to uptimize... You see a lot of rems ( // ) because of tests Most used and slowing the process down = the button Set filter calling the function Setfilter Maybe you can have a look at bad object/code ? Would be very nice. [code=fw:24a1ptjc]<div class="fw" id="{CB}" style...
xBrowse faster with less colums
[quote="nageswaragunupudi":2zvzbu8p][quote:2zvzbu8p]program slows down until i finaly can get a cup of coffee and when I return, its ready.[/quote:2zvzbu8p] This is too bad. It can not be like this. Size of 300,000 records is nothing. We can not comment unless we get into the exact code. Do you have too many deleted ...
xBrowse faster with less colums
Just to see : I mostly use the buttons : Hide getbar setfilter Clear filter [img] <!-- m --><a class="postlink" href="http://maveco.be/fivewin/fwtest.jpg">http://maveco.be/fivewin/fwtest.jpg</a><!-- m --> [/img]
xBrowse faster with less colums
SET FILTER TO !DELETED() is optimized if you have an index tag on the expression DELETED() We recommend [code=fw:10x8j5g4]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> DELETED<span style="color: #000000;">&#40;</span><...
xBrowse fieldname
Hello , Is it possible in xBrowse have the field name ( not the cHeader) of the column when i click on the header ? Regards Maurizio
xBrowse fieldname
Maurizio, The problem is that the data in the column may, or may not, be a field. Only a codeblock is stored in bStrData. You could try adding the fieldname (in a codeblock) to either bLClickHeader of bRClickHeader. E.G.: oBrw:aCols:[3]:bLClickHeader:= {|| "Address" } Regards, James
xBrowse fieldname
Add it to the column's cargo.
xBrowse fieldname
if we create xbrowse with COLUMNS clause, in the recent versions of xbrowse, oCol:cExpr stores the expression. Example: [code=fw:3i7ko37j]<div class="fw" id="{CB}" style="font-family: monospace;">@ <span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> <span style="color: #0000ff;">XBROWSE</span...
xBrowse flipping
If you captured the thumb on the vertical scrollbar (e.g. in Excel) and move it up or down, the browser flipping easy. If doing this in xBrowse, the scrolling is not very good. How can I fix it ?
xBrowse flipping
Are you referring to this? In Excel, when we move vertical scroll bar up and down, all the contents of the sheet also scroll at the same time. Do you mean it does not happen in XBrowse? Is that your issue? If so, please read this. if we set oBrw:lVThumbTrack := .t. ( default .f. ) the contents of the screen scroll a...
xBrowse flipping
Mr. Rao, thank you for your reply ! It was that I asked
xBrowse footer counting on cell / field-condition ?
Hello, I want to show 2 totals on Footer 1. counting records where nValue > 0 2. counting records where not empty string NO value counter only counting valid records on condition 1 and 2 ! regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
xBrowse footer counting on cell / field-condition ?
[code=fw:1rec2spd]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nFooterType</span> := AGGR_COUNT<br ...
xBrowse footer counting on cell / field-condition ?
Mr. Rao, I included the lines but returns in all cases 0 <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> maybe there is still something else to be checked <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --...
xBrowse footer counting on cell / field-condition ?
This is a working sample: [code=fw:ftjoh1s4]<div class="fw" id="{CB}" style="font-family: monospace;">  USE CUSTOMER <span style="color: #00C800;">NEW</span> SHARED<br />   SET FILTER <span style="color: #0000ff;">TO</span> RECNO<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> < <spa...
xBrowse footer counting on cell / field-condition ?
Mr. Rao, I moved to the end [color=#0000FF:ahfazmji]:MakeTotals() [/color:ahfazmji] :CreateFromCode() END before it was defined somewhere in the middle now the values are visible <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> But there is still another problem :...
xBrowse footer counting on cell / field-condition ?
I modified my sample above. Please see the revised sample. I added a right-click action which keeps the value of Age increasing by one. You can see that the totals also get changed. Now the question is why this is not working for you. You are making changes to DBF directly and xbrowse does not know that you changed t...
xBrowse footer counting on cell / field-condition ?
This is very usefull. In my Xbrowse I have lot's of row that are deleted, but I don't want them to be removed. (I need to see them somethimes) I have SET DELETED ON on top of Prog. Can you show the code to display deleted count ? To toggle between showing the deleted or not deleted records, I have to set a Filter f...
xBrowse footer counting on cell / field-condition ?
Marc, Yes that is the reason I wanted to add the footer-infos. I'm just working on the needed changes using Rao's sample. works great <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> It shows if there are still any marked as deleted records I'm using a extra field ( in...
xBrowse footer counting on cell / field-condition ?
Uwe, Will this kind of extra's slow down the browse performance on huge databases (200.000 recs)?
xBrowse footer counting on cell / field-condition ?
Marc, tested with 200000 records and counted without problems. regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
xBrowse footer counting on cell / field-condition ?
I noticed a problem counting < deleted > after a < [color=#FF0000:1cyz55xg]PACK[/color:1cyz55xg] > The deleted value is still visible ( must be reset to 0 ) a value of 2 is used for deleted to show the image I added [color=#0000FF:1cyz55xg]oBrw:aCols[3]:bFooter := { || 0 }[/color:1cyz55xg] after < PACK > the footer...
xBrowse footer counting on cell / field-condition ?
[quote:3gu57dbp]I noticed a problem counting < deleted > after a PACK The deleted value is still visible ( must be reset to 0 ) [/quote:3gu57dbp] Because XBrowse does not know that you Packed. If you take actions like this inform XBrowse to recalculate totals afresh. [code=fw:3gu57dbp]<div class="fw" id="{CB}" style="...
xBrowse footer counting on cell / field-condition ?
Mr. Rao, thank You very much it is working now. I didn't think about < oBrw:MakeTotals() > because it was defined on xBrowse-init. It means it must be called in case of any new-calculation like < PACK >. I will prepare a new download-link to show the changes. regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_big...
xBrowse footer picture
Hi all, I've a problem with the picture clause of footers in my xBrowse. My code : [code=fw:1giyojl5]<div class="fw" id="{CB}" style="font-family: monospace;">   WITH OBJECT oBrwPos<br />      :<span style="color: #000000;">bChange</span>          := <span style="color: #000000;">&#123;</span> || aBtn<span style="colo...
xBrowse footer picture
Look this: [url:r6xgiq7k]https&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=37938&p=226804[/url:r6xgiq7k] Regards, saludos.
xBrowse footer picture
:aCols[ 3 ]:nFooterType := :aCols[ 5 ]:nFooterType := AGGR_SUM Is this also hapening when you just use 1 of them ? :aCols[ 5 ]:nFooterType := AGGR_SUM and if you made 2 different with object oBrwpos and obrw....
xBrowse footer picture
[quote="karinha":1sbl4t5c]Look this: [url:1sbl4t5c]https&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=37938&p=226804[/url:1sbl4t5c] Regards, saludos.[/quote:1sbl4t5c] I found this before I posted for help. There was a promise that this will be fixed in some next version. But it seems not yet to b...
xBrowse footer picture
[quote="Marc Venken":2ofy26y7]:aCols[ 3 ]:nFooterType := :aCols[ 5 ]:nFooterType := AGGR_SUM Is this also hapening when you just use 1 of them ? :aCols[ 5 ]:nFooterType := AGGR_SUM and if you made 2 different with object oBrwpos and obrw....[/quote:2ofy26y7] Thanks Mac, for your idea. I just tried it but n...
xBrowse footer picture
Postby nageswaragunupudi » Sun May 03, 2020 6:54 am CODE: SELECT ALL EXPAND VIEW WITH OBJECT oCol :nFooterType := AGGR_SUM :cEditPicture := "€ 99,999.99" :cDataType := "N" END In case of empty arrays we need to in...
xBrowse footer picture
I found the cause of more than 2 decimals in the footer sum.. My column value was computed by multiplying a numeric value by a [color=#FF0040:1xp5w94b]val( alltrim( cValue ) )[/color:1xp5w94b]. The xBrowse column was showing correct values with 2 decimals according to the column picture clause. But the footer picture...
xBrowse footer picture
What is your FWNumFormat setting ? xbrNumFormat( "E", .T. ) // "E" for European, "A" for American and others // .t. for showing thousand separators * New function nStrToNum( cNumericVal, [lEuropean] ) --> nVal Optional Parameter lEuropean defaults to FWNumFormat()[ 1 ] == "E". Converts any number formatted as s...
xBrowse footer picture
[quote="Marc Venken":1q43j6cs]Postby nageswaragunupudi » Sun May 03, 2020 6:54 am CODE: SELECT ALL EXPAND VIEW WITH OBJECT oCol :nFooterType := AGGR_SUM :cEditPicture := "€ 99,999.99" :cDataType := "N" END In case...
xBrowse footer picture
I tried with different versions of FWH, but it is always working correctly for me here. This is my test program: [code=fw:25ek2j8s]<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: #00C...
xBrowse footer picture
[quote="nageswaragunupudi":y78fyw1y]I tried with different versions of FWH, but it is always working correctly for me here. This is my test program: [code=fw:y78fyw1y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span>...
xBrowse footer picture
Mr. Rao, After setting [b:32r5oe7h]:cDataType := "N"[/b:32r5oe7h] for the picture clauses of cells and footers everything showed up correct. My problem was the the array was empty at the beginning of xBrowse. So the browse didn't know whether there are numeric values or not. Regards, Detlef
xBrowse footer-values changing at runtime
Hello, I got some problems, changing xbrowse footer-values at runtime Is it possible, to save the footer results to DBF-fields ? For the 1. browser I used calculated values displayed in footers like : oBrw1:aCols[5]:cFooter := nValue[1] because of a index UNIQUE problem. Because of [color=#0000FF:1g0prt9v]calculated ...
xBrowse from RES. and show images from DLL ?
Hello, Working on the RESOURCE-section of a new sample, I have a problem to create a xBrowse from resource and displaying the images from a DLL From CODE there is no problem at all and I could finish this part. My problem : The image-array is loaded from the DLL but xbrowse cannot show the images. I think something mu...
xBrowse from RES. and show images from DLL ?
Uwe, Is this working fine with the proposed changes to function fnAddBitmap() ? thanks
xBrowse from RES. and show images from DLL ?
Antonio, the xBrowse-problem still exists it is the resource-section I'm still working on. The tab-painting is working fine with the changes. <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Dlltest1.zip">http://www.pflegeplus.com/DOWNLOADS/Dlltest1.zip</a><!-- m --> regards Uwe <!-- s:( --><i...
xBrowse from RES. and show images from DLL ?
Mr Uwe Please wait for my answer
xBrowse from RES. and show images from DLL ?
Example of using mixed resources [code=fw:h3rzprr7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style=...
xBrowse from RES. and show images from DLL ?
Mr. Rao, thank You very much for the sample. My test is a little bit different : [color=#0000FF:27vrc68z]xBrowse from RC [/color:27vrc68z]( NOT from code ) and the images from a DLL instead of images the cell shows any values [img:27vrc68z]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Dlltest4&#46;jpg[/img:27vrc68z]...
xBrowse from RES. and show images from DLL ?
It does not matter whether xbrowse is from rc or source. What matters is toggling the correct hResources when the resource is read. As long as you do that there should be no problem.
xBrowse from RES. and show images from DLL ?
Dialog from RC file. I used \fwh\samples\testxbr3.rc Images in the xbrowse are from DLL [code=fw:j86abzw1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Mai...
xBrowse from RES. and show images from DLL ?
En mi caso mis recursos estaban creados con ResEdit y tuve el mismo problema con una dll y solo con xbrowse e imagenes. Pasé 1 mes por lo menos en ello, finalmente cree el archivo de recursos nuevamente con PellesC y funcionaron perfecamente. Espero les sea de ayuda. //------------- In my case resources were created ...
xBrowse from RES. and show images from DLL ?
Jose, the reason for all my testings is, that I have to change a lot of images at runtime To link them to the exe or deliver all images is not a clean solution. I think using a DLL is the best, solving the problem. Another reason is : I only need to deliver a new DLL if a image-change is needed without changing anythi...
xBrowse from resource
I have created a xbrowse from resource but can’t turn off the scrollbars. Does someone know how to turn off the scrollbars? Thanks in advance Otto
xBrowse from resource
hello otto... xbrowse should be custom control maybe you do use xbrowse resource windows style 0x50010000 change to 0x50810000
xBrowse from resource
Hello Otto, I use only resources in my tools and I don't have any problems. Did You use these settings ? : oBrw:lHScroll := .F. oBrw:lVScroll := .F. You can switch the Scrollbars ON and OFF at runtime. It doesn't matter, if the scrollbars are defined inside the resource. Regards Uwe <!-- s:lol: --><img src="{SMILIES...
xBrowse from resource
Thank you for your help. I tried both suggestions with no success. My xBrowse is inside a DIALOG. Do you have another idea? Best regards, Otto
xBrowse from resource
I don't understand this, it MUST work. Inside the resource HScroll and VScroll are .T. My source : [code:bsa5wrk9] // --- START - FARBE Windows ------------------------------- oLbx3 &#58;= TXBrowse()&#58;New( oFld&#58;aDialogs&#91;1&#93; ) oLbx3&#58;nMarqueeStyle &#58;= MARQSTYLE_HIGHLROW oLbx3&#58;nColDividerStyl...
xBrowse from resource
otto did you try my suggestion ? from resource program change windows style to 0x50810000
xBrowse from resource
Hello Uwe, hello Daniel, thank you for your help. Uwe your xBrowse is inside a folder. There is also a FIVEWIN sample with folders which is working fine. My xBrowse is inside a DIALOG(style POPUP) which is called from an MDI window. Maybe this is the problem. Daniel sure I tried your suggestion but with no success. ...
xBrowse from resource
I found out that the new method sets ::lHScroll := .t. ::lVScroll := .t. to true and then in the method Initiate in any case a scrollbar is made. if ::lVScroll .or. lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), WS_VSCROLL ) DEFINE SCROLLBAR ::oVScroll VERTICAL OF Self Endif What should I do? Regards, ...
xBrowse from resource
Otto, Please try this from the ON INIT clause of the dialog: ACTIVATE DIALOG oDlg ON INIT oBrw:oVScroll:SetRange( 0, 0 )
xBrowse from resource
Thank you, Antonio. I tried this solution this afternoon after I read this thread. <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=12579&p=63467&hilit=scroll+off#p63467">viewtopic.php?f=3&t=12579&p=63467&hilit=scroll+off#p63467</a><!-- l --> But the painting is not ok a...
xBrowse from resource
Hello Otto, I tested inside the Imageviewer, because there is no folder. It works perfect without problems. I'm sure there must be something wrong with Your source. [img:mavthc1p]http&#58;//www&#46;pflegeplus&#46;com/pictures/imagebrw&#46;jpg[/img:mavthc1p] [code:mavthc1p] DEFINE DIALOG oDlg3 RESOURCE "PROJECT" TR...
xBrowse from resource
Uwe, I use in this case a rc file. From sourcecode I have no problems. Regards, Otto
xBrowse from resource
Otto, I allways use RC-files. I never use < from code > ( to much work ) Maybe there is something wrong with Your resource. Sometimes, if I have a problem with a resource, I rename it and define a new fresh dialog, then copy from the renamed resource the different objects to the new one. Often it was a solution. oLb...
xBrowse from resource
Hello Uwe, thank you very much for your help. Now it is working. Best regards, Otto
xBrowse from resource
What was the problem? EMG
xBrowse from resource
Hello Enrico, I got the problem on my PC at work which is still on 8.06. At home I use 9.01 and here it is working. There have been many improvements since 8.06. Best regards, Otto
xBrowse from resource
Enrico, I tried to understand the sourcecode but I don’t find out where the METHOD Initiate is called from if you have build the xBrowse with CreateFromResource. Could you please give me a hint. Thanks in advance Otto
xBrowse from resource
[quote="Otto":24xy0er4]Hello Enrico, I got the problem on my PC at work which is still on 8.06. At home I use 9.01 and here it is working. There have been many improvements since 8.06. Best regards, Otto[/quote:24xy0er4] Thank you. EMG
xBrowse from resource
[quote="Otto":cyepk2kj]Enrico, I tried to understand the sourcecode but I don’t find out where the METHOD Initiate is called from if you have build the xBrowse with CreateFromResource. Could you please give me a hint. Thanks in advance Otto[/quote:cyepk2kj] Initiate() method is internally called when the object is i...
xBrowse from resource
Thank you , Enrico. Does this mean that this part of code is not provided? The only time I see ::Initiate() in the source is in METHOD CreateFromCode() but this method is not called. Or do I misunderstand something. Thanks in advance Otto
xBrowse from resource
Uhm... it seems I was wrong. Initiate() of the controls is called inside Initiate() of the dialog which, in turn, is called inside HandleEvent(), WM_INITDIALOG message. EMG
xBrowse from resource
Thank you, Enrico. Now for me it gets complicated. But I will try to make some msginfos into the dialog. I hope I can follow the point where ::Initiate() is called. Best regards, Otto
xBrowse from resource
Otto, what Enrico tries to say is the method ::Initiate() is called automatically, when an object from a rc file is initialised. There is no explicit call necessary. It is similar to the method ::default(), if you define an object from source. (hope I´m right)
xBrowse from resource
Stefan, thank you very much for your explanation. Best regards, Otto
xBrowse from resource
Stefan, Enrico, That's right <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
xBrowse from resource how to select Alpha-Bld.-BMP ?
Hello, I use a Xbrowser from Resources to select Bmp's. All Types of BMP's I can select, but not Alpa-Blended. Choosing a Alpha-BMP, I get a Error. From this Line : [color=#FF0000:3geyhifd]oLbx70:aCols[ 2 ]:bAlphaLevel := { | o | o:oLbx70:aRow[ 3 ] }[/color:3geyhifd] The same defined in Sample : xbalpha.prg ( from Sou...
xBrowse from resource how to select Alpha-Bld.-BMP ?
This is where your mistake is [code=fw:51irksjf]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">&#123;</span> | o | o:<span style="color: #000000;">oLbx70</span>:<span style="color: #000000;">aRow</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</...
xBrowse funcionando como Excel
Hola: ¿Hay algún ejemplo para que XBrowse funcione como Excel, por ejemplo que SUPR borre el registro, doble click edite el campo, AV PAg al final añada un nuevo registro, etc?. Muchas gracias <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
xBrowse function
Dear Mr. Rao, can you please tell me where I find function: XEval( bSetUp, oBrw ) Can you please post some sample code how these codeblocks could look like: bSetUp bSelect bValid Best regards, Otto XBrowse( uData, cTitle, lAutoSort, bSetUp, aCols, bSelect, lExcel, lFastEdit, ; bValid, cSerial, ...
xBrowse function
[quote:1libkwyj]XEval( bSetUp, oBrw )[/quote:1libkwyj] function XEval is in \source\function\valblank.prg [code=fw:1libkwyj]<div class="fw" id="{CB}" style="font-family: monospace;">retval := XEval<span style="color: #000000;">&#40;</span> bBlock, params, ... <span style="color: #000000;">&#41;</span></div>[/code:1li...
xBrowse function
bSetUp [code=fw:pqc26q4a]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">XBrowse</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"STATES.DBF"</span>, <span style="color: #ff0000;">"States in USA"</span>, .f. ;<br />&nbsp; &nbsp; &nbsp; &nbsp; ...